mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@50015 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee4c2cf322
commit
004d7a34cf
@ -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/' ),
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user