| @@ -121,10 +121,10 @@ | ||
| 121 | 121 | |
| 122 | 122 | // Check if it's a ThinkRank admin page |
| 123 | 123 | // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reading page parameter for screen detection, not processing form data. |
| 124 | 124 | return strpos($screen->id, 'thinkrank') !== false || |
| 125 | - strpos($screen->base, 'thinkrank') !== false || | |
| 126 | - (isset($_GET['page']) && strpos(sanitize_text_field(wp_unslash($_GET['page'])), 'thinkrank') !== false); // phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 125 | + strpos($screen->base, 'thinkrank') !== false || | |
| 126 | + (isset($_GET['page']) && strpos(sanitize_text_field(wp_unslash($_GET['page'])), 'thinkrank') !== false); // phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | 130 | * Check if request is to a ThinkRank API endpoint |