plugin updates

This commit is contained in:
Tony Volpe
2024-11-15 13:53:04 -05:00
parent 1293d604ca
commit 0238f0c4ca
2009 changed files with 163492 additions and 89543 deletions

View File

@@ -5,7 +5,6 @@
* @package WPSEO\Admin\Menu
*/
use Yoast\WP\SEO\Conditionals\New_Dashboard_Ui_Conditional;
/**
* Registers the admin menu on the left of the admin area.
*/
@@ -98,10 +97,6 @@ class WPSEO_Admin_Menu extends WPSEO_Base_Menu {
$this->get_submenu_page( $this->get_license_page_title(), 'wpseo_licenses' ),
];
if ( ! ( new New_Dashboard_Ui_Conditional() )->is_met() ) {
array_unshift( $submenu_pages, $this->get_submenu_page( __( 'General', 'wordpress-seo' ), $this->get_page_identifier() ) );
}
/**
* Filter: 'wpseo_submenu_pages' - Collects all submenus that need to be shown.
*