Make WordPress Core

Changeset 55624


Ignore:
Timestamp:
04/04/2023 10:36:30 PM (11 months ago)
Author:
audrasjb
Message:

Help/About: Use the new /documentation/ URLs for links about WordPress version.

As https://wordpress.org/support/ was redirected to https://wordpress.org/documentation/, this changeset replaces various /support/* links with /documentation/* to avoid extra redirects.

Follow-up to [55412], [55413], [55414].

Props wildworks.
See #58052, #57726.

Location:
trunk/src/wp-admin
Files:
5 edited

Legend:

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

    r55412 r55624  
    117117    $version_url = sprintf(
    118118        /* translators: %s: WordPress version. */
    119         esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     119        esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
    120120        sanitize_title( $wp_version )
    121121    );
  • trunk/src/wp-admin/about.php

    r55601 r55624  
    267267                        sprintf(
    268268                            /* translators: %s: WordPress version number. */
    269                             esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     269                            esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
    270270                            '6-2'
    271271                        ),
  • trunk/src/wp-admin/includes/update.php

    r55276 r55624  
    304304    $version_url = sprintf(
    305305        /* translators: %s: WordPress version. */
    306         esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     306        esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
    307307        sanitize_title( $cur->current )
    308308    );
  • trunk/src/wp-admin/install.php

    r55276 r55624  
    245245$version_url = sprintf(
    246246    /* translators: %s: WordPress version. */
    247     esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     247    esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
    248248    sanitize_title( $wp_version )
    249249);
  • trunk/src/wp-admin/upgrade.php

    r53455 r55624  
    7979    $version_url = sprintf(
    8080        /* translators: %s: WordPress version. */
    81         esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
     81        esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
    8282        sanitize_title( $wp_version )
    8383    );
Note: See TracChangeset for help on using the changeset viewer.