mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
70842372b1
commit
e8741c53c8
@ -205,7 +205,7 @@ function wp_admin_bar_wp_menu( $wp_admin_bar ) {
|
|||||||
'parent' => 'wp-logo-external',
|
'parent' => 'wp-logo-external',
|
||||||
'id' => 'learn',
|
'id' => 'learn',
|
||||||
'title' => __( 'Learn WordPress' ),
|
'title' => __( 'Learn WordPress' ),
|
||||||
'href' => 'https://learn.wordpress.org/',
|
'href' => __( 'https://learn.wordpress.org/' ),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user