Make WordPress Core


Ignore:
Timestamp:
02/23/2023 10:36:33 AM (22 months ago)
Author:
audrasjb
Message:

Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin.

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

This also updates links to Support Forums by replacing https://wordpress.org/support/ URLs with https://wordpress.org/support/forums/.

Props SergeyBiryukov, audrasjb, dhrupo, hasanmisbah, sakibmd, sabernhardt.
See #57726.

File:
1 edited

Legend:

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

    r55331 r55412  
    5858
    5959$help_sidebar_content = '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    60     '<p>' . __( '<a href="https://wordpress.org/support/article/settings-permalinks-screen/">Documentation on Permalinks Settings</a>' ) . '</p>' .
    61     '<p>' . __( '<a href="https://wordpress.org/support/article/using-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>';
     60    '<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-permalinks-screen/">Documentation on Permalinks Settings</a>' ) . '</p>' .
     61    '<p>' . __( '<a href="https://wordpress.org/documentation/article/using-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>';
    6262
    6363if ( $is_nginx ) {
    64     $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/article/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>';
    65 }
    66 
    67 $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>';
     64    $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>';
     65}
     66
     67$help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';
    6868
    6969get_current_screen()->set_help_sidebar( $help_sidebar_content );
Note: See TracChangeset for help on using the changeset viewer.