Changeset 750373
- Timestamp:
- 08/03/2013 12:50:58 AM (13 years ago)
- File:
-
- 1 edited
-
siteapps/tags/2.4/classes/SiteAppsAdmin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
siteapps/tags/2.4/classes/SiteAppsAdmin.php
r750369 r750373 85 85 public function widgetStyles() 86 86 { 87 if (strstr($_SERVER['REQUEST_URI'], 'options-general.php?page=siteapps')) { 87 if (strstr($_SERVER['REQUEST_URI'], 'options-general.php?page=siteapps') 88 || 89 strstr($_SERVER['REQUEST_URI'], 'admin.php?page=siteapps') ) { 88 90 wp_enqueue_style(SITEAPPS_PLUGIN_NAME . '_style_admin'); 89 91 } … … 154 156 __( 'SiteApps', SITEAPPS_PLUGIN_NAME), 155 157 'manage_options', 156 'siteapps _dashboard',158 'siteapps', 157 159 array( $this, 'page' ), 158 160 plugins_url(SITEAPPS_PLUGIN_NAME) . '/images/siteapps-icon.png', … … 227 229 private function checkDependencies() 228 230 { 229 if (strstr($_SERVER['REQUEST_URI'], 'options-general.php?page=siteapps')) { 231 if (strstr($_SERVER['REQUEST_URI'], 'options-general.php?page=siteapps') 232 || 233 strstr($_SERVER['REQUEST_URI'], 'admin.php?page=siteapps')) { 230 234 if (!$this->checkCurlIsLoaded()) { 231 235 add_action('admin_head', array($this, 'printCurlNotLoaded'));
Note: See TracChangeset
for help on using the changeset viewer.