Plugin Directory

Changeset 480924


Ignore:
Timestamp:
12/27/2011 03:40:51 AM (14 years ago)
Author:
asdasDan
Message:

Removing user admin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • show-theme-file/trunk/showThemeFile.php

    r449245 r480924  
    4646}
    4747
    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 }
     48add_action('wp_head', 'outputThemeFilename');}
Note: See TracChangeset for help on using the changeset viewer.