From 004d7a34cfdfff0aeac47ed7cfa94f7f76384f48 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 25 Jan 2021 12:52:22 +0000 Subject: [PATCH] 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 --- src/wp-includes/admin-bar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index b63be9cd2a..0ea79225d9 100644 --- a/src/wp-includes/admin-bar.php +++ b/src/wp-includes/admin-bar.php @@ -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/' ), ) );