Changeset 15496 for trunk/wp-admin/link-manager.php
- Timestamp:
- 08/12/2010 11:21:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link-manager.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r15491 r15496 10 10 require_once ('admin.php'); 11 11 12 require_once( './includes/default-list-tables.php' ); 13 14 $table = new WP_Links_Table; 15 $table->check_permissions(); 16 12 17 // Handle bulk deletes 13 18 if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['linkcheck'] ) ) { … … 15 20 16 21 $doaction = $_REQUEST['action'] ? $_REQUEST['action'] : $_REQUEST['action2']; 17 18 if ( ! current_user_can( 'manage_links' ) )19 wp_die( __( 'You do not have sufficient permissions to edit the links for this site.' ) );20 22 21 23 if ( 'delete' == $doaction ) { … … 34 36 } 35 37 36 require_once( './includes/default-list-tables.php' ); 37 38 $table = new WP_Links_Table; 38 $table->prepare_items(); 39 39 40 40 $title = __('Links');
Note: See TracChangeset
for help on using the changeset viewer.