PluginProbe
Code Engine – PHP Snippets, AI Functions & Automation for WordPress / 0.4.8
Code Engine – PHP Snippets, AI Functions & Automation for WordPress v0.4.8
0.5.7 0.5.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5.0 0.4.9 0.4.8 0.4.7 0.4.6 trunk 0.0.1 0.0.2 0.2.8 0.2.9 0.3.0 0.3.1 0.3.2 0.3.3 0.3.4 0.3.5 0.3.6 0.3.7 All 33 releases
← All changes | classes/load.php +2 -2 0.5.70.4.8 View file →
@@ -21,9 +21,9 @@
21 21 foreach ( $snippets as $snippet ) {
22 22
23 23 if ( $snippet['blocked'] ) {
24 24 // Determine the reason for blocking
25 - $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : '';
25 + $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : null;
26 26 $is_settings_page = ( $page === 'mwcode_settings' );
27 27 $is_rest = MeowKit_MWCODE_Helpers::is_rest();
28 28 $is_rest_whitelisted = Meow_MWCODE_Core::is_white_listed_rest();
29 29
@@ -185,9 +185,9 @@
185 185
186 186 $js_code = '';
187 187
188 188 if ( is_admin( ) ) {
189 - $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : '';
189 + $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : null;
190 190 if ( $page === 'mwai_settings' ) {
191 191 $js_code = $mwcode_core->get_js_functions_to_push( );
192 192 }
193 193 } else {