From e8741c53c814cfd130462720b91d4f05665db742 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 19 Nov 2024 22:18:21 +0000 Subject: [PATCH] Toolbar: Allow the Learn WordPress link to be localized. The Learn WordPress website is supposed to automatically redirect to the correct locale according to the browser's language settings, however that may not work as expected in some cases. This commit brings consistency with the other WordPress.org links, which can be localized as appropriate. Follow-up to [56720]. Props timse201, ruturajraval2305, yogeshbhutkar, ajayghaghretiya-multidots, swissspidy, sabernhardt, im3dabasia1, mukesh27. Fixes #62459. Built from https://develop.svn.wordpress.org/trunk@59425 git-svn-id: http://core.svn.wordpress.org/trunk@58811 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/admin-bar.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 0d7c3b63c7..9bb26e7ed7 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -205,7 +205,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) { 'parent' => 'wp-logo-external', 'id' => 'learn', 'title' => __( 'Learn WordPress' ), - 'href' => 'https://learn.wordpress.org/', + 'href' => __( 'https://learn.wordpress.org/' ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 75f420400a..a8f1d89f8c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59424'; +$wp_version = '6.8-alpha-59425'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.