Changeset 2073823
- Timestamp:
- 04/24/2019 08:26:14 AM (7 years ago)
- File:
-
- 1 edited
-
wh-eyecatcher/trunk/wh-eyecatcher.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wh-eyecatcher/trunk/wh-eyecatcher.php
r2073746 r2073823 60 60 public function page_init() { 61 61 if (isset($_GET['page'])) { 62 if (($_GET['page'] == 'wh-eyecatcher-page')) {62 if (($_GET['page'] === 'wh-eyecatcher-page')) { 63 63 register_setting( 'wh_eyecatcher_option_group', 'wh_eyecatcher_slogan' ); 64 64 register_setting( 'wh_eyecatcher_option_group', 'wh_eyecatcher_style' ); … … 124 124 public function show_eyecatcher() { 125 125 if (isset($_GET['page']) || (! is_admin())) { 126 if (($_GET['page'] == 'wh-eyecatcher-page') || (! is_admin())) {126 if (($_GET['page'] === 'wh-eyecatcher-page') || (! is_admin())) { 127 127 echo '<div id="wh-eyecatcher" role="banner" class="wh-eyecatcher wh-eyecatcher-style" style="' . get_option('wh_eyecatcher_css') . '">' . get_option('wh_eyecatcher_slogan') . '</div>'; 128 128 }
Note: See TracChangeset
for help on using the changeset viewer.