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/bulk-editor/user-interface/bulk-editor-integration.php +6 -3 28.4 → trunk View file →
@@ -18,8 +18,9 @@
18 18 use Yoast\WP\SEO\Helpers\Product_Helper;
19 19 use Yoast\WP\SEO\Helpers\Short_Link_Helper;
20 20 use Yoast\WP\SEO\Helpers\User_Helper;
21 21 use Yoast\WP\SEO\Integrations\Integration_Interface;
22 +use Yoast\WP\SEO\Integrations\Settings_Integration;
22 23 use Yoast\WP\SEO\MyYoast_Client\User_Interface\Myyoast_Connection_Data_Presenter;
23 24
24 25 /**
25 26 * Adds the bulk editor page to the Yoast admin menu.
@@ -267,14 +268,16 @@
267 268
268 269 return [
269 270 'contentTypes' => $content_types,
270 271 'endpoints' => $this->endpoints_repository->get_all_endpoints()->to_array(),
271 - // These must stay server-generated URLs: the bulk editor assigns them to window.location.href for its
272 - // "Back to Tools" / logo navigation. If a link ever derives from request input, validate it with
273 - // wp_validate_redirect() here before exposing it, to avoid an open redirect on the front-end.
272 + // These must stay server-generated URLs: the bulk editor assigns the dashboard and tools links to
273 + // window.location.href for its "Back to Tools" / logo navigation (the settings link is rendered as a plain
274 + // link). If a link ever derives from request input, validate it with wp_validate_redirect() here before
275 + // exposing it, to avoid an open redirect on the front-end.
274 276 'links' => [
275 277 'dashboard' => \admin_url( 'admin.php?page=' . General_Page_Integration::PAGE ),
276 278 'tools' => \admin_url( 'admin.php?page=wpseo_tools' ),
279 + 'settings' => \admin_url( 'admin.php?page=' . Settings_Integration::PAGE ),
277 280 ],
278 281 'nonce' => $this->nonce_repository->get_rest_nonce(),
279 282 'restRoot' => \esc_url_raw( \rest_url() ),
280 283 'preferences' => [