Make WordPress Core

Changeset 59425


Ignore:
Timestamp:
11/19/2024 10:16:52 PM (12 days ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/admin-bar.php

    r58978 r59425  
    206206            'id'     => 'learn',
    207207            'title'  => __( 'Learn WordPress' ),
    208             'href'   => 'https://learn.wordpress.org/',
     208            'href'   => __( 'https://learn.wordpress.org/' ),
    209209        )
    210210    );
Note: See TracChangeset for help on using the changeset viewer.