← All changes
|
src/ai/consent/user-interface/ai-consent-integration.php
+1
-0
27.5
→
trunk
View file →
| @@ -98,8 +98,9 @@ | ||
| 98 | 98 | 'hasConsent' => $this->user_helper->get_meta( $this->user_helper->get_current_user_id(), '_yoast_wpseo_ai_consent', true ), |
| 99 | 99 | 'pluginUrl' => \plugins_url( '', \WPSEO_FILE ), |
| 100 | 100 | 'linkParams' => $this->short_link_helper->get_query_params(), |
| 101 | 101 | 'endpoints' => $this->endpoints_repository->get_all_endpoints()->to_paths_array(), |
| 102 | + 'adminUrl' => \admin_url(), | |
| 102 | 103 | ]; |
| 103 | 104 | } |
| 104 | 105 | |
| 105 | 106 | /** |