Revert brokenness. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9998836363
commit
eba0b400c3
|
@ -7,10 +7,7 @@
|
|||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( './admin.php' );
|
||||
if ( !current_user_can( $post_type_object->cap->edit_posts ) )
|
||||
wp_die( __( 'Cheatin’ uh?' ) );
|
||||
|
||||
require_once( './admin.php' );
|
||||
$wp_list_table = get_list_table('WP_Posts_List_Table');
|
||||
$wp_list_table->check_permissions();
|
||||
|
||||
|
|
Loading…
Reference in New Issue