diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index b22a7a77c3..3eba2668fa 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -436,6 +436,18 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) { // Add the appearance submenu items. wp_admin_bar_appearance_menu( $wp_admin_bar ); + + // Add a Plugins link. + if ( current_user_can( 'activate_plugins' ) ) { + $wp_admin_bar->add_node( + array( + 'parent' => 'site-name', + 'id' => 'plugins', + 'title' => __( 'Plugins' ), + 'href' => admin_url( 'plugins.php' ), + ) + ); + } } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 80a4d12511..2d39fe3210 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57187'; +$wp_version = '6.5-alpha-57188'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.