PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/conditionals/admin/licenses-page-conditional.php +2 -1 18.6 → trunk View file →
@@ -2,8 +2,9 @@
2 2
3 3 namespace Yoast\WP\SEO\Conditionals\Admin;
4 4
5 5 use Yoast\WP\SEO\Conditionals\Conditional;
6 +use Yoast\WP\SEO\Plans\User_Interface\Plans_Page_Integration;
6 7
7 8 /**
8 9 * Conditional that is only met when current page is the tools page.
9 10 */
@@ -21,9 +22,9 @@
21 22 return false;
22 23 }
23 24
24 25 // phpcs:ignore WordPress.Security.NonceVerification -- This is not a form.
25 - if ( isset( $_GET['page'] ) && $_GET['page'] === 'wpseo_licenses' ) {
26 + if ( isset( $_GET['page'] ) && $_GET['page'] === Plans_Page_Integration::PAGE ) {
26 27 return true;
27 28 }
28 29
29 30 return false;