Toolbar: Update Documentation and Support links.

This replaces the Codex URL in the "WordPress" section of the admin bar with the HelpHub URL, and updates the Support link to point to the forums.

Follow-up to [45140], [45412].

Props audrasjb.
Fixes #52352. See #46790, #47239.
Built from https://develop.svn.wordpress.org/trunk@50015


git-svn-id: http://core.svn.wordpress.org/trunk@49716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-25 12:53:58 +00:00
parent 91a89f2df2
commit b97ae4e14c
2 changed files with 4 additions and 4 deletions

View File

@ -166,13 +166,13 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
)
);
// Add Codex link.
// Add documentation link.
$wp_admin_bar->add_node(
array(
'parent' => 'wp-logo-external',
'id' => 'documentation',
'title' => __( 'Documentation' ),
'href' => __( 'https://codex.wordpress.org/' ),
'href' => __( 'https://wordpress.org/support/' ),
)
);
@ -182,7 +182,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
'parent' => 'wp-logo-external',
'id' => 'support-forums',
'title' => __( 'Support' ),
'href' => __( 'https://wordpress.org/support/' ),
'href' => __( 'https://wordpress.org/support/forums/' ),
)
);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-50014';
$wp_version = '5.7-alpha-50015';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.