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/ai/consent/user-interface/ai-consent-integration.php +2 -2 27.7 → trunk View file →
@@ -5,9 +5,8 @@
5 5 namespace Yoast\WP\SEO\AI\Consent\User_Interface;
6 6
7 7 use WPSEO_Admin_Asset_Manager;
8 8 use Yoast\WP\SEO\AI\Consent\Application\Consent_Endpoints_Repository;
9 -use Yoast\WP\SEO\Conditionals\New_Premium_Or_Free_AI_Conditional;
10 9 use Yoast\WP\SEO\Conditionals\User_Profile_Conditional;
11 10 use Yoast\WP\SEO\Helpers\Short_Link_Helper;
12 11 use Yoast\WP\SEO\Helpers\User_Helper;
13 12 use Yoast\WP\SEO\Integrations\Integration_Interface;
@@ -50,9 +49,9 @@
50 49 *
51 50 * @return array<string>
52 51 */
53 52 public static function get_conditionals(): array {
54 - return [ User_Profile_Conditional::class, New_Premium_Or_Free_AI_Conditional::class ];
53 + return [ User_Profile_Conditional::class ];
55 54 }
56 55
57 56 /**
58 57 * Constructs the class.
@@ -99,8 +98,9 @@
99 98 'hasConsent' => $this->user_helper->get_meta( $this->user_helper->get_current_user_id(), '_yoast_wpseo_ai_consent', true ),
100 99 'pluginUrl' => \plugins_url( '', \WPSEO_FILE ),
101 100 'linkParams' => $this->short_link_helper->get_query_params(),
102 101 'endpoints' => $this->endpoints_repository->get_all_endpoints()->to_paths_array(),
102 + 'adminUrl' => \admin_url(),
103 103 ];
104 104 }
105 105
106 106 /**