Changeset 1818 for trunk/wp-admin/themes.php
- Timestamp:
- 10/19/2004 03:03:06 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r1755 r1818 1 1 <?php 2 require_once('admin.php'); 2 3 3 4 if ( isset($_GET['action']) ) { 4 $standalone = 1;5 require_once('admin-header.php');6 7 5 check_admin_referer(); 8 6 … … 22 20 } 23 21 24 require_once('../wp-includes/wp-l10n.php');25 22 $title = __('Manage Themes'); 26 23 $parent_file = 'themes.php'; 27 24 require_once('admin-header.php'); 28 29 if ($user_level < 9)30 die (__('Sorry, you must be at least a level 9 user to modify themes.'));31 25 ?> 32 33 26 <?php if ( ! validate_current_theme() ) : ?> 34 27 <div class="updated"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>
Note: See TracChangeset
for help on using the changeset viewer.