PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
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/integrations/academy-integration.php +2 -3 27.628.5 View file →
@@ -4,9 +4,8 @@
4 4
5 5 use WPSEO_Addon_Manager;
6 6 use WPSEO_Admin_Asset_Manager;
7 7 use Yoast\WP\SEO\Conditionals\Admin_Conditional;
8 -use Yoast\WP\SEO\Conditionals\User_Can_Manage_Wpseo_Options_Conditional;
9 8 use Yoast\WP\SEO\Helpers\Current_Page_Helper;
10 9 use Yoast\WP\SEO\Helpers\Product_Helper;
11 10 use Yoast\WP\SEO\Helpers\Short_Link_Helper;
12 11
@@ -70,9 +69,9 @@
70 69 *
71 70 * @return array
72 71 */
73 72 public static function get_conditionals() {
74 - return [ Admin_Conditional::class, User_Can_Manage_Wpseo_Options_Conditional::class ];
73 + return [ Admin_Conditional::class ];
75 74 }
76 75
77 76 /**
78 77 * Initializes the integration.
@@ -108,9 +107,9 @@
108 107 [
109 108 'wpseo_dashboard',
110 109 '',
111 110 \__( 'Academy', 'wordpress-seo' ),
112 - 'wpseo_manage_options',
111 + 'edit_posts',
113 112 self::PAGE,
114 113 [ $this, 'display_page' ],
115 114 ],
116 115 ],