Changeset 414 for wp-slimstat-ex/trunk

Show
Ignore:
Timestamp:
08/19/08 10:35:30 (5 months ago)
Author:
082net
Message:

## wp-slimstat-ex ##

Fixed option page CSS bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wp-slimstat-ex/trunk/wp-slimstat-ex.php

    r413 r414  
    128128                        add_action('admin_head-'.$top, array('wp_slimstat_ex', 'slimstat_admin_head')); 
    129129                        // option page style 
    130                         if (wp_slimstat_ex::is_slimstat_option_page()) 
     130                        if (wp_slimstat_ex::is_slimstat_option_page('all')) 
    131131                        add_action('admin_head', array('wp_slimstat_ex', 'option_page_css')); 
    132132                        // admin head actions for Pins 
     
    148148                        break; 
    149149                        case 'all': default: 
    150                                 return ( strpos($_GET['page'], 'wp-slimstat-ex-') !== false ); 
     150                                return ( strpos($_GET['page'], 'wp-slimstat-ex-') === 0 ); 
    151151                        break; 
    152152                }