Changeset 1606694
- Timestamp:
- 03/02/2017 06:09:54 PM (9 years ago)
- Location:
- envs-switcher
- Files:
-
- 2 edited
-
tags/1.3.0/plugin/switcher/switcher.php (modified) (1 diff)
-
trunk/plugin/switcher/switcher.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
envs-switcher/tags/1.3.0/plugin/switcher/switcher.php
r1606690 r1606694 26 26 27 27 public function __construct() { 28 add_action('admin_bar_menu', [$this, 'admin_bar_stage_switcher']); 29 add_action('wp_before_admin_bar_render', [$this, 'admin_css']); 28 if ('' !== get_option('slwsu_envs_switcher_production', '')): 29 add_action('admin_bar_menu', [$this, 'admin_bar_stage_switcher']); 30 add_action('wp_before_admin_bar_render', [$this, 'admin_css']); 31 endif; 30 32 } 31 33 -
envs-switcher/trunk/plugin/switcher/switcher.php
r1606690 r1606694 26 26 27 27 public function __construct() { 28 add_action('admin_bar_menu', [$this, 'admin_bar_stage_switcher']); 29 add_action('wp_before_admin_bar_render', [$this, 'admin_css']); 28 if ('' !== get_option('slwsu_envs_switcher_production', '')): 29 add_action('admin_bar_menu', [$this, 'admin_bar_stage_switcher']); 30 add_action('wp_before_admin_bar_render', [$this, 'admin_css']); 31 endif; 30 32 } 31 33
Note: See TracChangeset
for help on using the changeset viewer.