Make WordPress Core


Ignore:
Timestamp:
02/23/2023 10:36:33 AM (21 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/edit-form-advanced.php

    r55195 r55412  
    317317        ) . '</p>' .
    318318            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    319             '<p>' . __( '<a href="https://wordpress.org/support/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
    320             '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     319            '<p>' . __( '<a href="https://wordpress.org/documentation/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
     320            '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    321321    );
    322322} elseif ( 'page' === $post_type ) {
     
    334334    get_current_screen()->set_help_sidebar(
    335335        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    336             '<p>' . __( '<a href="https://wordpress.org/support/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
    337             '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
    338             '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     336            '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
     337            '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
     338            '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    339339    );
    340340} elseif ( 'attachment' === $post_type ) {
     
    353353    get_current_screen()->set_help_sidebar(
    354354        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    355         '<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
    356         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     355        '<p>' . __( '<a href="https://wordpress.org/documentation/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
     356        '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
    357357    );
    358358}
     
    360360if ( 'post' === $post_type || 'page' === $post_type ) {
    361361    $inserting_media  = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
    362     $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/support/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
     362    $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
    363363
    364364    get_current_screen()->add_help_tab(
     
    378378
    379379    if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
    380         $publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/support/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
     380        $publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/documentation/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
    381381    }
    382382
Note: See TracChangeset for help on using the changeset viewer.