Toolbar: Link to Learn WordPress in the WordPress Logo menu.
This aims to make the various resources on learn.wordpress.org more easily available. Props jeherve, mikinc860, audrasjb, sabernhardt, courane01, devmuhib, dhrumilk, estelaris, hellofromTonya. Fixes #58820. Built from https://develop.svn.wordpress.org/trunk@56720 git-svn-id: http://core.svn.wordpress.org/trunk@56232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70e906c26e
commit
a27059766b
|
@ -194,6 +194,16 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Add learn link.
|
||||||
|
$wp_admin_bar->add_node(
|
||||||
|
array(
|
||||||
|
'parent' => 'wp-logo-external',
|
||||||
|
'id' => 'learn',
|
||||||
|
'title' => __( 'Learn WordPress' ),
|
||||||
|
'href' => 'https://learn.wordpress.org/',
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
// Add forums link.
|
// Add forums link.
|
||||||
$wp_admin_bar->add_node(
|
$wp_admin_bar->add_node(
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.4-alpha-56719';
|
$wp_version = '6.4-alpha-56720';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue