Skip to content

Commit 7f26841

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59425 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 42af8b7 commit 7f26841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/admin-bar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
205205
'parent' => 'wp-logo-external',
206206
'id' => 'learn',
207207
'title' => __( 'Learn WordPress' ),
208-
'href' => 'https://learn.wordpress.org/',
208+
'href' => __( 'https://learn.wordpress.org/' ),
209209
)
210210
);
211211

0 commit comments

Comments
 (0)