literal check
This commit is contained in:
parent
d4ca34f8ac
commit
045ef70143
|
@ -30,11 +30,11 @@ class WC_Admin_API_Keys {
|
|||
*/
|
||||
private function is_api_keys_settings_page() {
|
||||
return isset( $_GET['page'] )
|
||||
&& 'wc-settings' == $_GET['page']
|
||||
&& 'wc-settings' === $_GET['page']
|
||||
&& isset( $_GET['tab'] )
|
||||
&& 'api' == $_GET['tab']
|
||||
&& 'api' === $_GET['tab']
|
||||
&& isset( $_GET['section'] )
|
||||
&& 'keys' == $_GET['section'];
|
||||
&& 'keys' === $_GET['section'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue