Changeset 15496 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 08/12/2010 11:21:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r15491 r15496 10 10 require_once('./admin.php'); 11 11 12 if ( !current_user_can('edit_posts') ) 13 wp_die(__('Cheatin’ uh?')); 12 require_once( './includes/default-list-tables.php' ); 13 14 $table = new WP_Comments_Table; 15 $table->check_permissions(); 14 16 15 17 if ( isset( $_REQUEST['doaction'] ) || isset( $_REQUEST['doaction2'] ) || isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) { … … 96 98 } 97 99 98 require_once( './includes/default-list-tables.php' ); 99 100 $table = new WP_Comments_Table; 100 $table->prepare_items(); 101 101 102 102 wp_enqueue_script('admin-comments');
Note: See TracChangeset
for help on using the changeset viewer.