Revert brokenness. See #15326.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-12-07 21:35:46 +00:00
parent 9998836363
commit eba0b400c3
1 changed files with 1 additions and 4 deletions

View File

@ -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();