literal check

This commit is contained in:
Mike Jolley 2016-06-14 11:10:13 +01:00
parent d4ca34f8ac
commit 045ef70143
1 changed files with 3 additions and 3 deletions

View File

@ -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'];
}
/**