Make WordPress Core

Changeset 55414


Ignore:
Timestamp:
02/23/2023 11:04:40 AM (12 months ago)
Author:
audrasjb
Message:

Help/About: Avoid extra redirections on HelpHub Links.

This changeset replaces various HelpHub links that have changed to avoid extra 301 redirections.

Props sabernhardt, audrasjb.
See #57726.

Location:
trunk/src
Files:
15 edited

Legend:

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

    r55412 r55414  
    209209    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    210210    '<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
    211     '<p>' . __( '<a href="https://wordpress.org/documentation/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
    212     '<p>' . __( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
     211    '<p>' . __( '<a href="https://wordpress.org/documentation/article/understand-comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
     212    '<p>' . __( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts-classic-editor/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
    213213    '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    214214);
  • trunk/src/wp-admin/edit-form-advanced.php

    r55412 r55414  
    317317        ) . '</p>' .
    318318            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    319             '<p>' . __( '<a href="https://wordpress.org/documentation/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
     319            '<p>' . __( '<a href="https://wordpress.org/documentation/article/write-posts-classic-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
    320320            '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    321321    );
  • trunk/src/wp-admin/includes/meta-boxes.php

    r55412 r55414  
    747747        /* translators: %s: Documentation URL. */
    748748        __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ),
    749         __( 'https://wordpress.org/documentation/article/excerpt/' )
     749        __( 'https://wordpress.org/documentation/article/what-is-an-excerpt-classic-editor/' )
    750750    );
    751751    ?>
     
    822822        /* translators: %s: Documentation URL. */
    823823        __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ),
    824         __( 'https://wordpress.org/documentation/article/custom-fields/' )
     824        __( 'https://wordpress.org/documentation/article/assign-custom-fields/' )
    825825    );
    826826    ?>
  • trunk/src/wp-admin/includes/options.php

    r55412 r55414  
    131131function options_reading_blog_charset() {
    132132    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
    133     echo '<p class="description">' . __( 'The <a href="https://wordpress.org/documentation/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
     133    echo '<p class="description">' . __( 'The <a href="https://wordpress.org/documentation/article/wordpress-glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
    134134}
  • trunk/src/wp-admin/options-general.php

    r55412 r55414  
    411411        "<span class='spinner'></span>\n" . '</p>';
    412412
    413     echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/documentation/article/formatting-date-and-time/">Documentation on date and time formatting</a>.' ) . "</p>\n";
     413    echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/documentation/article/customize-date-and-time-format/">Documentation on date and time formatting</a>.' ) . "</p>\n";
    414414?>
    415415    </fieldset>
  • trunk/src/wp-admin/options-permalink.php

    r55412 r55414  
    5959$help_sidebar_content = '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    6060    '<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>';
     61    '<p>' . __( '<a href="https://wordpress.org/documentation/article/customize-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>';
    6262
    6363if ( $is_nginx ) {
  • trunk/src/wp-admin/plugins.php

    r55412 r55414  
    586586get_current_screen()->set_help_sidebar(
    587587    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    588     '<p>' . __( '<a href="https://wordpress.org/documentation/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
     588    '<p>' . __( '<a href="https://wordpress.org/documentation/article/manage-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
    589589    $help_sidebar_autoupdates .
    590590    '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
  • trunk/src/wp-admin/themes.php

    r55412 r55414  
    205205get_current_screen()->set_help_sidebar(
    206206    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    207     '<p>' . __( '<a href="https://wordpress.org/documentation/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
     207    '<p>' . __( '<a href="https://wordpress.org/documentation/article/work-with-themes/">Documentation on Using Themes</a>' ) . '</p>' .
    208208    '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-themes-screen/">Documentation on Managing Themes</a>' ) . '</p>' .
    209209    $help_sidebar_autoupdates .
  • trunk/src/wp-admin/user-edit.php

    r55412 r55414  
    334334                                <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?>
    335335                            </label>
    336                             <?php _e( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ); ?>
     336                            <?php _e( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts-classic-editor/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ); ?>
    337337                        </td>
    338338                    </tr>
  • trunk/src/wp-admin/widgets-form.php

    r55412 r55414  
    6969get_current_screen()->set_help_sidebar(
    7070    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    71     '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-widgets-screen/">Documentation on Widgets</a>' ) . '</p>' .
     71    '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-widgets-screen-classic-editor/">Documentation on Widgets</a>' ) . '</p>' .
    7272    '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    7373);
  • trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php

    r55413 r55414  
    119119
    120120    $sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' .
    121         '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-customize-screen/" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .
    122         '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>', 'twentyeleven' ) . '</p>';
     121        '<p>' . __( '<a href="https://wordpress.org/documentation/article/customizer/" target="_blank">Documentation on Theme Customization</a>', 'twentyeleven' ) . '</p>' .
     122        '<p>' . __( '<a href="https://wordpress.org/support/forums/" target="_blank">Support forums</a>', 'twentyeleven' ) . '</p>';
    123123
    124124    $screen = get_current_screen();
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php

    r55412 r55414  
    5151                                /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */
    5252                                _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ),
    53                                 __( 'https://wordpress.org/documentation/article/wordpress-widgets/' ),
     53                                __( 'https://wordpress.org/documentation/article/manage-wordpress-widgets/' ),
    5454                                ' class="external-link" target="_blank"',
    5555                                sprintf(
  • trunk/src/wp-includes/formatting.php

    r55412 r55414  
    49644964                    /* translators: %s: Documentation URL. */
    49654965                    __( 'A structure tag is required when using custom permalinks. <a href="%s">Learn more</a>' ),
    4966                     __( 'https://wordpress.org/documentation/article/using-permalinks/#choosing-your-permalink-structure' )
     4966                    __( 'https://wordpress.org/documentation/article/customize-permalinks/#choosing-your-permalink-structure' )
    49674967                );
    49684968            }
  • trunk/src/wp-includes/user.php

    r55412 r55414  
    32753275                /* translators: %s: Documentation URL. */
    32763276                __( '<strong>Error:</strong> The email could not be sent. Your site may not be correctly configured to send emails. <a href="%s">Get support for resetting your password</a>.' ),
    3277                 esc_url( __( 'https://wordpress.org/documentation/article/resetting-your-password/' ) )
     3277                esc_url( __( 'https://wordpress.org/documentation/article/reset-your-password/' ) )
    32783278            )
    32793279        );
  • trunk/src/wp-includes/widgets.php

    r55412 r55414  
    1111 * included it in the core from that point on.
    1212 *
    13  * @link https://wordpress.org/documentation/article/wordpress-widgets/
     13 * @link https://wordpress.org/documentation/article/manage-wordpress-widgets/
    1414 * @link https://developer.wordpress.org/themes/functionality/widgets/
    1515 *
Note: See TracChangeset for help on using the changeset viewer.