Changeset 15496 for trunk/wp-admin/themes.php
- Timestamp:
- 08/12/2010 11:21:05 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/themes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r15491 r15496 10 10 require_once('./admin.php'); 11 11 12 if ( !current_user_can('switch_themes') && !current_user_can('edit_theme_options') ) 13 wp_die( __( 'Cheatin’ uh?' ) ); 12 require_once( './includes/default-list-tables.php' ); 13 14 $table = new WP_Themes_Table; 15 $table->check_permissions(); 14 16 15 17 if ( current_user_can('switch_themes') && isset($_GET['action']) ) { … … 29 31 } 30 32 31 require_once( './includes/default-list-tables.php' ); 32 33 $table = new WP_Themes_Table; 33 $table->prepare_items(); 34 34 35 35 $title = __('Manage Themes');
Note: See TracChangeset
for help on using the changeset viewer.