clean up comparison operators
This commit is contained in:
parent
8ed149915d
commit
b4ea8bb94f
|
@ -31,11 +31,11 @@ class WC_Admin_Webhooks {
|
|||
*/
|
||||
private function is_webhook_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'] )
|
||||
&& 'webhooks' == isset( $_GET['section'] );
|
||||
&& 'webhooks' === isset( $_GET['section'] );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue