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 | admin/menu/class-base-menu.php +0 -24 27.8 → trunk View file →
@@ -4,10 +4,8 @@
4 4 *
5 5 * @package WPSEO\Admin\Menu
6 6 */
7 7
8 -use Yoast\WP\SEO\Promotions\Application\Promotion_Manager;
9 -
10 8 /**
11 9 * Admin menu base class.
12 10 */
13 11 abstract class WPSEO_Base_Menu implements WPSEO_WordPress_Integration {
@@ -238,30 +236,8 @@
238 236 * @return array Callback page handler.
239 237 */
240 238 protected function get_admin_page_callback() {
241 239 return [ $this->menu, 'load_page' ];
242 - }
243 -
244 - /**
245 - * Returns the page title to use for the licenses page.
246 - *
247 - * @deprecated 25.5
248 - * @codeCoverageIgnore
249 - *
250 - * @return string The title for the license page.
251 - */
252 - protected function get_license_page_title() {
253 - static $title = null;
254 -
255 - _deprecated_function( __METHOD__, 'Yoast SEO 25.5' );
256 -
257 - $title ??= __( 'Upgrades', 'wordpress-seo' );
258 -
259 - if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-promotion' ) && ! YoastSEO()->helpers->product->is_premium() ) {
260 - $title = __( 'Upgrades', 'wordpress-seo' ) . '<span class="yoast-menu-bf-sale-badge">' . __( '30% OFF', 'wordpress-seo' ) . '</span>';
261 - }
262 -
263 - return $title;
264 240 }
265 241
266 242 /**
267 243 * Returns a base64 URL for the svg for use in the menu.