Changeset 480924
- Timestamp:
- 12/27/2011 03:40:51 AM (14 years ago)
- File:
-
- 1 edited
-
show-theme-file/trunk/showThemeFile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
show-theme-file/trunk/showThemeFile.php
r449245 r480924 46 46 } 47 47 48 $stfOptions = array('require_admin' => true); 49 50 if ($stfOptions['require_admin'] == true) { 51 if (current_user_can('administrator')) { 52 add_action('wp_head', 'outputThemeFilename'); 53 } 54 } else { 55 add_action('wp_head', 'outputThemeFilename'); 56 } 48 add_action('wp_head', 'outputThemeFilename');}
Note: See TracChangeset
for help on using the changeset viewer.