Make WordPress Core

Changeset 45674 for trunk/src/wp-admin


Ignore:
Timestamp:
07/25/2019 10:44:48 PM (5 years ago)
Author:
SergeyBiryukov
Message:

General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article.

Props ianbelanger, tobifjellner, SergeyBiryukov.
See #47771.

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

Legend:

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

    r45140 r45674  
    105105$screen->set_help_sidebar(
    106106    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    107     '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Screen">Documentation on Dashboard</a>' ) . '</p>' .
     107    '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-screen/">Documentation on Dashboard</a>' ) . '</p>' .
    108108    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    109109);
  • trunk/src/wp-admin/comment.php

    r45602 r45674  
    5454        get_current_screen()->set_help_sidebar(
    5555            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    56             '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
     56            '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
    5757            '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5858        );
  • trunk/src/wp-admin/edit-comments.php

    r45602 r45674  
    205205get_current_screen()->set_help_sidebar(
    206206    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    207     '<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
    208     '<p>' . __( '<a href="https://codex.wordpress.org/Comment_Spam">Documentation on Comment Spam</a>' ) . '</p>' .
    209     '<p>' . __( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
     207    '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
     208    '<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
     209    '<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
    210210    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    211211);
  • trunk/src/wp-admin/edit-form-advanced.php

    r45583 r45674  
    295295        '<p>' . sprintf( __( 'You can also create posts with the <a href="%s">Press This bookmarklet</a>.' ), 'tools.php' ) . '</p>' .
    296296            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    297             '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Add_New_Screen">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
     297            '<p>' . __( '<a href="https://wordpress.org/support/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
    298298            '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    299299    );
     
    312312    get_current_screen()->set_help_sidebar(
    313313        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    314             '<p>' . __( '<a href="https://codex.wordpress.org/Pages_Add_New_Screen">Documentation on Adding New Pages</a>' ) . '</p>' .
    315             '<p>' . __( '<a href="https://codex.wordpress.org/Pages_Screen#Editing_Individual_Pages">Documentation on Editing Pages</a>' ) . '</p>' .
     314            '<p>' . __( '<a href="https://wordpress.org/support/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
     315            '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
    316316            '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    317317    );
     
    331331    get_current_screen()->set_help_sidebar(
    332332        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    333         '<p>' . __( '<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>' ) . '</p>' .
     333        '<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
    334334        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    335335    );
     
    338338if ( 'post' == $post_type || 'page' == $post_type ) {
    339339    $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>';
    340     $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. Please refer to the Codex to <a href="https://codex.wordpress.org/Embeds">learn more about embeds</a>.' ) . '</p>';
     340    $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>';
    341341
    342342    get_current_screen()->add_help_tab(
     
    356356
    357357    if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
    358         $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. Please refer to the Codex for <a href="https://codex.wordpress.org/Post_Formats#Supported_Formats">descriptions of each post format</a>. Your theme could enable all or some of 10 possible formats.' ) . '</li>';
     358        $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>';
    359359    }
    360360
  • trunk/src/wp-admin/edit-tag-form.php

    r45403 r45674  
    4646
    4747/**
    48  * Use with caution, see https://codex.wordpress.org/Function_Reference/wp_reset_vars
     48 * Use with caution, see https://developer.wordpress.org/reference/functions/wp_reset_vars/
    4949 */
    5050wp_reset_vars( array( 'wp_http_referer' ) );
  • trunk/src/wp-admin/edit-tags.php

    r45599 r45674  
    298298
    299299    if ( 'category' == $taxonomy ) {
    300         $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Categories_Screen">Documentation on Categories</a>' ) . '</p>';
     300        $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>';
    301301    } elseif ( 'link_category' == $taxonomy ) {
    302302        $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>';
    303303    } else {
    304         $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Tags_Screen">Documentation on Tags</a>' ) . '</p>';
     304        $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>';
    305305    }
    306306
  • trunk/src/wp-admin/edit.php

    r45602 r45674  
    258258    get_current_screen()->set_help_sidebar(
    259259        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    260         '<p>' . __( '<a href="https://codex.wordpress.org/Posts_Screen">Documentation on Managing Posts</a>' ) . '</p>' .
     260        '<p>' . __( '<a href="https://wordpress.org/support/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' .
    261261        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    262262    );
     
    283283    get_current_screen()->set_help_sidebar(
    284284        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    285         '<p>' . __( '<a href="https://codex.wordpress.org/Pages_Screen">Documentation on Managing Pages</a>' ) . '</p>' .
     285        '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' .
    286286        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    287287    );
  • trunk/src/wp-admin/export.php

    r45602 r45674  
    5555get_current_screen()->set_help_sidebar(
    5656    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    57     '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Export_Screen">Documentation on Export</a>' ) . '</p>' .
     57    '<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
    5858    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5959);
  • trunk/src/wp-admin/import.php

    r45583 r45674  
    2929get_current_screen()->set_help_sidebar(
    3030    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    31     '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Import_Screen">Documentation on Import</a>' ) . '</p>' .
     31    '<p>' . __( '<a href="https://wordpress.org/support/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
    3232    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    3333);
  • trunk/src/wp-admin/includes/dashboard.php

    r45599 r45674  
    17411741            <li><?php printf( '<a href="%s" class="welcome-icon welcome-comments">' . __( 'Turn comments on or off' ) . '</a>', admin_url( 'options-discussion.php' ) ); ?></li>
    17421742        <?php endif; ?>
    1743             <li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', __( 'https://codex.wordpress.org/First_Steps_With_WordPress' ) ); ?></li>
     1743            <li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', __( 'https://wordpress.org/support/article/first-steps-with-wordpress-b/' ) ); ?></li>
    17441744        </ul>
    17451745    </div>
  • trunk/src/wp-admin/includes/file.php

    r45669 r45674  
    18121812 * or filtering via {@see 'filesystem_method'}.
    18131813 *
    1814  * @link https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants
     1814 * @link https://wordpress.org/support/article/editing-wp-config-php/#wordpress-upgrade-constants
    18151815 *
    18161816 * Plugins may define a custom transport handler, See WP_Filesystem().
  • trunk/src/wp-admin/includes/meta-boxes.php

    r45667 r45674  
    666666        /* translators: %s: Codex URL */
    667667        __( '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>.' ),
    668         __( 'https://codex.wordpress.org/Excerpt' )
     668        __( 'https://wordpress.org/support/article/excerpt/' )
    669669    );
    670670    ?>
     
    703703        /* translators: %s: Codex URL */
    704704        __( 'Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress sites, they&#8217;ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ),
    705         __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' )
     705        __( 'https://wordpress.org/support/article/introduction-to-blogging/#comments' )
    706706    );
    707707    ?>
     
    740740        /* translators: %s: Codex URL */
    741741        __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ),
    742         __( 'https://codex.wordpress.org/Using_Custom_Fields' )
     742        __( 'https://wordpress.org/support/article/custom-fields/' )
    743743    );
    744744    ?>
     
    764764            /* translators: %s: Codex URL */
    765765            __( 'Allow <a href="%s">trackbacks and pingbacks</a> on this page' ),
    766             __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' )
     766            __( 'https://wordpress.org/support/article/introduction-to-blogging/#managing-comments' )
    767767        );
    768768        ?>
  • trunk/src/wp-admin/includes/ms.php

    r45667 r45674  
    11671167function get_site_screen_help_sidebar_content() {
    11681168    return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    1169         '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>' ) . '</p>' .
     1169        '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
    11701170        '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>';
    11711171}
  • trunk/src/wp-admin/includes/options.php

    r44758 r45674  
    130130function options_reading_blog_charset() {
    131131    echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
    132     echo '<p class="description">' . __( 'The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
     132    echo '<p class="description">' . __( 'The <a href="https://wordpress.org/support/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
    133133}
  • trunk/src/wp-admin/media-new.php

    r45602 r45674  
    5858get_current_screen()->set_help_sidebar(
    5959    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    60     '<p>' . __( '<a href="https://codex.wordpress.org/Media_Add_New_Screen">Documentation on Uploading Media Files</a>' ) . '</p>' .
     60    '<p>' . __( '<a href="https://wordpress.org/support/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' .
    6161    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    6262);
  • trunk/src/wp-admin/media.php

    r45602 r45674  
    9494        get_current_screen()->set_help_sidebar(
    9595            '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    96             '<p>' . __( '<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>' ) . '</p>' .
     96            '<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
    9797            '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    9898        );
  • trunk/src/wp-admin/nav-menus.php

    r45300 r45674  
    593593get_current_screen()->set_help_sidebar(
    594594    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    595     '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Menus_Screen">Documentation on Menus</a>' ) . '</p>' .
     595    '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-menus-screen/">Documentation on Menus</a>' ) . '</p>' .
    596596    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    597597);
  • trunk/src/wp-admin/network.php

    r45140 r45674  
    6464    '<p>' . __( 'The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.' ) . '</p>' .
    6565    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    66     '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
    67     '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>';
     66    '<p>' . __( '<a href="https://wordpress.org/support/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
     67    '<p>' . __( '<a href="https://wordpress.org/support/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>';
    6868
    6969get_current_screen()->add_help_tab(
     
    7777get_current_screen()->set_help_sidebar(
    7878    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    79     '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' .
    80     '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>' .
     79    '<p>' . __( '<a href="https://wordpress.org/support/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
     80    '<p>' . __( '<a href="https://wordpress.org/support/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>' .
    8181    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    8282);
  • trunk/src/wp-admin/network/index.php

    r42343 r45674  
    5353get_current_screen()->set_help_sidebar(
    5454    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    55     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin">Documentation on the Network Admin</a>' ) . '</p>' .
     55    '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin/">Documentation on the Network Admin</a>' ) . '</p>' .
    5656    '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
    5757);
  • trunk/src/wp-admin/network/site-new.php

    r45416 r45674  
    3030get_current_screen()->set_help_sidebar(
    3131    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    32     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>' ) . '</p>' .
     32    '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
    3333    '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
    3434);
  • trunk/src/wp-admin/network/sites.php

    r45599 r45674  
    4343get_current_screen()->set_help_sidebar(
    4444    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    45     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>' ) . '</p>' .
     45    '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
    4646    '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>'
    4747);
  • trunk/src/wp-admin/network/upgrade.php

    r45140 r45674  
    2929get_current_screen()->set_help_sidebar(
    3030    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    31     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Updates_Screen">Documentation on Upgrade Network</a>' ) . '</p>' .
     31    '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-updates-screen/">Documentation on Upgrade Network</a>' ) . '</p>' .
    3232    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    3333);
  • trunk/src/wp-admin/options-discussion.php

    r45416 r45674  
    2929get_current_screen()->set_help_sidebar(
    3030    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    31     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_Discussion_Screen">Documentation on Discussion Settings</a>' ) . '</p>' .
     31    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-discussion-screen/">Documentation on Discussion Settings</a>' ) . '</p>' .
    3232    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    3333);
  • trunk/src/wp-admin/options-general.php

    r45583 r45674  
    4646get_current_screen()->set_help_sidebar(
    4747    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    48     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_General_Screen">Documentation on General Settings</a>' ) . '</p>' .
     48    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-general-screen/">Documentation on General Settings</a>' ) . '</p>' .
    4949    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5050);
     
    9898            /* translators: %s: Codex URL */
    9999            __( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
    100             __( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' )
     100            __( 'https://wordpress.org/support/article/giving-wordpress-its-own-directory/' )
    101101        );
    102102        ?>
     
    377377        "<span class='spinner'></span>\n" . '</p>';
    378378
    379     echo "\t<p class='date-time-doc'>" . __( '<a href="https://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.' ) . "</p>\n";
     379    echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/support/article/formatting-date-and-time/">Documentation on date and time formatting</a>.' ) . "</p>\n";
    380380?>
    381381    </fieldset>
  • trunk/src/wp-admin/options-media.php

    r45403 r45674  
    3535get_current_screen()->set_help_sidebar(
    3636    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    37     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_Media_Screen">Documentation on Media Settings</a>' ) . '</p>' .
     37    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' .
    3838    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    3939);
  • trunk/src/wp-admin/options-permalink.php

    r45669 r45674  
    4949get_current_screen()->set_help_sidebar(
    5050    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    51     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_Permalinks_Screen">Documentation on Permalinks Settings</a>' ) . '</p>' .
    52     '<p>' . __( '<a href="https://codex.wordpress.org/Using_Permalinks">Documentation on Using Permalinks</a>' ) . '</p>' .
     51    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-permalinks-screen/">Documentation on Permalinks Settings</a>' ) . '</p>' .
     52    '<p>' . __( '<a href="https://wordpress.org/support/article/using-permalinks/">Documentation on Using Permalinks</a>' ) . '</p>' .
    5353    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5454);
     
    176176            /* translators: %s: Codex URL */
    177177            __( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="%s">number of tags are available</a>, and here are some examples to get you started.' ),
    178             __( 'https://codex.wordpress.org/Using_Permalinks' )
     178            __( 'https://wordpress.org/support/article/using-permalinks/' )
    179179        );
    180180        ?>
     
    377377    <?php endif; ?>
    378378<?php elseif ( $is_nginx ) : ?>
    379     <p><?php _e( '<a href="https://codex.wordpress.org/Nginx">Documentation on Nginx configuration</a>.' ); ?></p>
     379    <p><?php _e( '<a href="https://wordpress.org/support/article/nginx/">Documentation on Nginx configuration</a>.' ); ?></p>
    380380    <?php
    381381else :
  • trunk/src/wp-admin/options-reading.php

    r45403 r45674  
    4141get_current_screen()->set_help_sidebar(
    4242    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    43     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_Reading_Screen">Documentation on Reading Settings</a>' ) . '</p>' .
     43    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-reading-screen/">Documentation on Reading Settings</a>' ) . '</p>' .
    4444    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    4545);
  • trunk/src/wp-admin/options-writing.php

    r45403 r45674  
    5050get_current_screen()->set_help_sidebar(
    5151    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    52     '<p>' . __( '<a href="https://codex.wordpress.org/Settings_Writing_Screen">Documentation on Writing Settings</a>' ) . '</p>' .
     52    '<p>' . __( '<a href="https://wordpress.org/support/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' .
    5353    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5454);
  • trunk/src/wp-admin/options.php

    r45583 r45674  
    268268                    sprintf(
    269269                        /* translators: %s: the option/setting */
    270                         __( 'The %s setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API' ),
     270                        __( 'The %s setting is unregistered. Unregistered settings are deprecated. See https://developer.wordpress.org/plugins/settings/settings-api/' ),
    271271                        '<code>' . $option . '</code>'
    272272                    )
  • trunk/src/wp-admin/plugin-editor.php

    r45669 r45674  
    139139    get_current_screen()->set_help_sidebar(
    140140        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    141         '<p>' . __( '<a href="https://codex.wordpress.org/Plugins_Editor_Screen">Documentation on Editing Plugins</a>' ) . '</p>' .
    142         '<p>' . __( '<a href="https://codex.wordpress.org/Writing_a_Plugin">Documentation on Writing Plugins</a>' ) . '</p>' .
     141        '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-editor-screen/">Documentation on Editing Plugins</a>' ) . '</p>' .
     142        '<p>' . __( '<a href="https://developer.wordpress.org/plugins/">Documentation on Writing Plugins</a>' ) . '</p>' .
    143143        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    144144    );
  • trunk/src/wp-admin/plugin-install.php

    r45602 r45674  
    103103get_current_screen()->set_help_sidebar(
    104104    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    105     '<p>' . __( '<a href="https://codex.wordpress.org/Plugins_Add_New_Screen">Documentation on Installing Plugins</a>' ) . '</p>' .
     105    '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-add-new-screen/">Documentation on Installing Plugins</a>' ) . '</p>' .
    106106    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    107107);
  • trunk/src/wp-admin/plugins.php

    r45611 r45674  
    464464get_current_screen()->set_help_sidebar(
    465465    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    466     '<p>' . __( '<a href="https://codex.wordpress.org/Managing_Plugins#Plugin_Management">Documentation on Managing Plugins</a>' ) . '</p>' .
     466    '<p>' . __( '<a href="https://wordpress.org/support/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
    467467    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    468468);
  • trunk/src/wp-admin/revision.php

    r45583 r45674  
    143143
    144144$revisions_sidebar  = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
    145 $revisions_sidebar .= '<p>' . __( '<a href="https://codex.wordpress.org/Revision_Management">Revisions Management</a>' ) . '</p>';
     145$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/article/revisions/">Revisions Management</a>' ) . '</p>';
    146146$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>';
    147147
  • trunk/src/wp-admin/setup-config.php

    r45583 r45674  
    190190        printf(
    191191            __( 'Need more help? <a href="%s">We got it</a>.' ),
    192             __( 'https://codex.wordpress.org/Editing_wp-config.php' )
     192            __( 'https://wordpress.org/support/article/editing-wp-config-php/' )
    193193        );
    194194        ?>
  • trunk/src/wp-admin/theme-editor.php

    r45669 r45674  
    4949get_current_screen()->set_help_sidebar(
    5050    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    51     '<p>' . __( '<a href="https://codex.wordpress.org/Theme_Development">Documentation on Theme Development</a>' ) . '</p>' .
    52     '<p>' . __( '<a href="https://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>' ) . '</p>' .
    53     '<p>' . __( '<a href="https://codex.wordpress.org/Editing_Files">Documentation on Editing Files</a>' ) . '</p>' .
    54     '<p>' . __( '<a href="https://codex.wordpress.org/Template_Tags">Documentation on Template Tags</a>' ) . '</p>' .
     51    '<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' .
     52    '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
     53    '<p>' . __( '<a href="https://wordpress.org/support/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' .
     54    '<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' .
    5555    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5656);
  • trunk/src/wp-admin/theme-install.php

    r45412 r45674  
    127127get_current_screen()->set_help_sidebar(
    128128    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    129     '<p>' . __( '<a href="https://codex.wordpress.org/Using_Themes#Adding_New_Themes">Documentation on Adding New Themes</a>' ) . '</p>' .
     129    '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/#adding-new-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
    130130    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    131131);
  • trunk/src/wp-admin/themes.php

    r45583 r45674  
    142142get_current_screen()->set_help_sidebar(
    143143    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    144     '<p>' . __( '<a href="https://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>' ) . '</p>' .
     144    '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
    145145    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    146146);
  • trunk/src/wp-admin/tools.php

    r45453 r45674  
    5050get_current_screen()->set_help_sidebar(
    5151    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    52     '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Screen">Documentation on Tools</a>' ) . '</p>' .
     52    '<p>' . __( '<a href="https://wordpress.org/support/article/tools-screen/">Documentation on Tools</a>' ) . '</p>' .
    5353    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    5454);
  • trunk/src/wp-admin/update-core.php

    r45599 r45674  
    211211    if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
    212212        echo '<div class="notice notice-warning"><p>';
    213         _e( '<strong>Important:</strong> Before updating, please <a href="https://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="https://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.' );
     213        _e( '<strong>Important:</strong> Before updating, please <a href="https://wordpress.org/support/article/wordpress-backups/">back up your database and files</a>. For help with updates, visit the <a href="https://wordpress.org/support/article/updating-wordpress/">Updating WordPress</a> documentation page.' );
    214214        echo '</p></div>';
    215215
     
    665665get_current_screen()->set_help_sidebar(
    666666    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    667     '<p>' . __( '<a href="https://codex.wordpress.org/Dashboard_Updates_Screen">Documentation on Updating WordPress</a>' ) . '</p>' .
     667    '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' .
    668668    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    669669);
  • trunk/src/wp-admin/upload.php

    r45602 r45674  
    7373    get_current_screen()->set_help_sidebar(
    7474        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    75         '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' .
     75        '<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
    7676        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    7777    );
     
    248248get_current_screen()->set_help_sidebar(
    249249    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    250     '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' .
     250    '<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
    251251    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    252252);
  • trunk/src/wp-admin/user-edit.php

    r45583 r45674  
    6565get_current_screen()->set_help_sidebar(
    6666    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    67     '<p>' . __( '<a href="https://codex.wordpress.org/Users_Your_Profile_Screen">Documentation on User Profiles</a>' ) . '</p>' .
     67    '<p>' . __( '<a href="https://wordpress.org/support/article/users-your-profile-screen/">Documentation on User Profiles</a>' ) . '</p>' .
    6868    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    6969);
     
    309309<tr class="user-comment-shortcuts-wrap">
    310310<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
    311 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profileuser->comment_shortcuts ); ?> /> <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?></label> <?php _e( '<a href="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>' ); ?></td>
     311<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php checked( 'true', $profileuser->comment_shortcuts ); ?> /> <?php _e( 'Enable keyboard shortcuts for comment moderation.' ); ?></label> <?php _e( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/" target="_blank">More information</a>' ); ?></td>
    312312</tr>
    313313        <?php endif; ?>
  • trunk/src/wp-admin/user-new.php

    r45602 r45674  
    253253get_current_screen()->set_help_sidebar(
    254254    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    255     '<p>' . __( '<a href="https://codex.wordpress.org/Users_Add_New_Screen">Documentation on Adding New Users</a>' ) . '</p>' .
     255    '<p>' . __( '<a href="https://wordpress.org/support/article/users-add-new-screen/">Documentation on Adding New Users</a>' ) . '</p>' .
    256256    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    257257);
  • trunk/src/wp-admin/users.php

    r45599 r45674  
    7272get_current_screen()->set_help_sidebar(
    7373    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    74     '<p>' . __( '<a href="https://codex.wordpress.org/Users_Screen">Documentation on Managing Users</a>' ) . '</p>' .
    75     '<p>' . __( '<a href="https://codex.wordpress.org/Roles_and_Capabilities">Descriptions of Roles and Capabilities</a>' ) . '</p>' .
     74    '<p>' . __( '<a href="https://wordpress.org/support/article/users-screen/">Documentation on Managing Users</a>' ) . '</p>' .
     75    '<p>' . __( '<a href="https://wordpress.org/support/article/roles-and-capabilities/">Descriptions of Roles and Capabilities</a>' ) . '</p>' .
    7676    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    7777);
  • trunk/src/wp-admin/widgets.php

    r45602 r45674  
    8181get_current_screen()->set_help_sidebar(
    8282    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    83     '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Widgets_Screen">Documentation on Widgets</a>' ) . '</p>' .
     83    '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-widgets-screen/">Documentation on Widgets</a>' ) . '</p>' .
    8484    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    8585);
    8686
    8787if ( ! current_theme_supports( 'widgets' ) ) {
    88     wp_die( __( 'The theme you are currently using isn&#8217;t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://codex.wordpress.org/Widgetizing_Themes">follow these instructions</a>.' ) );
     88    wp_die( __( 'The theme you are currently using isn&#8217;t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://developer.wordpress.org/themes/functionality/widgets/">follow these instructions</a>.' ) );
    8989}
    9090
Note: See TracChangeset for help on using the changeset viewer.