Make WordPress Core

Ticket #57695: 57695.patch

File 57695.patch, 52.2 KB (added by rajeshraval786, 3 years ago)

This patch file includes all files which have third party information urls.

  • src/wp-admin/_index.php

    diff --git a/src/wp-admin/_index.php b/src/wp-admin/_index.php
    index ccdf525c0c..d534f6b25f 100644
    a b if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) { 
    9494
    9595$help .= '<p>' . sprintf(
    9696        /* translators: %s: WordPress Planet URL. */
    97         __( '<strong>WordPress Events and News</strong> &mdash; Upcoming events near you as well as the latest news from the official WordPress project and the <a href="%s">WordPress Planet</a>.' ),
     97        __( '<strong>WordPress Events and News</strong> &mdash; Upcoming events near you as well as the latest news from the official WordPress project and the <a href="%s" target="_blank">WordPress Planet</a>.' ),
    9898        __( 'https://planet.wordpress.org/' )
    9999) . '</p>';
    100100
    if ( ! $is_dev_version ) { 
    129129
    130130$screen->set_help_sidebar(
    131131        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    132         '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-screen/">Documentation on Dashboard</a>' ) . '</p>' .
    133         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' .
     132        '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-screen/" target="_blank">Documentation on Dashboard</a>' ) . '</p>' .
     133        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>' .
    134134        '<p>' . $wp_version_text . '</p>'
    135135);
    136136
  • src/wp-admin/admin-footer.php

    diff --git a/src/wp-admin/admin-footer.php b/src/wp-admin/admin-footer.php
    index 9e683d0b11..30dcee3d78 100644
    a b global $hook_suffix; 
    3434                <?php
    3535                $text = sprintf(
    3636                        /* translators: %s: https://wordpress.org/ */
    37                         __( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
     37                        __( 'Thank you for creating with <a href="%s" target="_blank">WordPress</a>.' ),
    3838                        __( 'https://wordpress.org/' )
    3939                );
    4040
  • src/wp-admin/comment.php

    diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php
    index c2e452bfe0..cc628414c6 100644
    a b switch ( $action ) { 
    6868
    6969                get_current_screen()->set_help_sidebar(
    7070                        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    71                         '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
    72                         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     71                        '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/" target="_blank">Documentation on Comments</a>' ) . '</p>' .
     72                        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    7373                );
    7474
    7575                wp_enqueue_script( 'comment' );
  • src/wp-admin/edit-comments.php

    diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php
    index ec6abc1972..51a2585d69 100644
    a b get_current_screen()->add_help_tab( 
    207207
    208208get_current_screen()->set_help_sidebar(
    209209        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    210         '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
    211         '<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
    212         '<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
    213         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     210        '<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/" target="_blank">Documentation on Comments</a>' ) . '</p>' .
     211        '<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/" target="_blank">Documentation on Comment Spam</a>' ) . '</p>' .
     212        '<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments" target="_blank">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
     213        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    214214);
    215215
    216216get_current_screen()->set_screen_reader_content(
  • src/wp-admin/edit-tags.php

    diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
    index 9812d97c76..4fec51a1ae 100644
    a b if ( 'category' === $taxonomy || 'link_category' === $taxonomy || 'post_tag' === 
    302302        $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
    303303
    304304        if ( 'category' === $taxonomy ) {
    305                 $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>';
     305                $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-categories-screen/" target="_blank">Documentation on Categories</a>' ) . '</p>';
    306306        } elseif ( 'link_category' === $taxonomy ) {
    307                 $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>';
     307                $help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen" target="_blank">Documentation on Link Categories</a>' ) . '</p>';
    308308        } else {
    309                 $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>';
     309                $help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-tags-screen/" target="_blank">Documentation on Tags</a>' ) . '</p>';
    310310        }
    311311
    312         $help .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>';
     312        $help .= '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>';
    313313
    314314        get_current_screen()->set_help_sidebar( $help );
    315315
  • src/wp-admin/edit.php

    diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php
    index f56beabae8..d657bea6c3 100644
    a b if ( 'post' === $post_type ) { 
    294294
    295295        get_current_screen()->set_help_sidebar(
    296296                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    297                 '<p>' . __( '<a href="https://wordpress.org/support/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' .
    298                 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     297                '<p>' . __( '<a href="https://wordpress.org/support/article/posts-screen/" target="_blank">Documentation on Managing Posts</a>' ) . '</p>' .
     298                '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    299299        );
    300300
    301301} elseif ( 'page' === $post_type ) {
    if ( 'post' === $post_type ) { 
    319319
    320320        get_current_screen()->set_help_sidebar(
    321321                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    322                 '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' .
    323                 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     322                '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/" target="_blank">Documentation on Managing Pages</a>' ) . '</p>' .
     323                '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    324324        );
    325325
    326326}
  • src/wp-admin/erase-personal-data.php

    diff --git a/src/wp-admin/erase-personal-data.php b/src/wp-admin/erase-personal-data.php
    index bbcc086288..86292ff88e 100644
    a b get_current_screen()->add_help_tab( 
    6262
    6363get_current_screen()->set_help_sidebar(
    6464        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    65         '<p>' . __( '<a href="https://wordpress.org/support/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' .
    66         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     65        '<p>' . __( '<a href="https://wordpress.org/support/article/tools-erase-personal-data-screen/" target="_blank">Documentation on Erase Personal Data</a>' ) . '</p>' .
     66        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    6767);
    6868
    6969// Handle list table actions.
  • src/wp-admin/export-personal-data.php

    diff --git a/src/wp-admin/export-personal-data.php b/src/wp-admin/export-personal-data.php
    index 6e44ce9c63..7056525ef8 100644
    a b get_current_screen()->add_help_tab( 
    6262
    6363get_current_screen()->set_help_sidebar(
    6464        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    65         '<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-personal-data-screen/">Documentation on Export Personal Data</a>' ) . '</p>' .
    66         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     65        '<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-personal-data-screen/" target="_blank">Documentation on Export Personal Data</a>' ) . '</p>' .
     66        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    6767);
    6868
    6969// Handle list table actions.
  • src/wp-admin/export.php

    diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php
    index e94a9a0e19..d141653369 100644
    a b get_current_screen()->add_help_tab( 
    5656
    5757get_current_screen()->set_help_sidebar(
    5858        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    59         '<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
    60         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     59        '<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-screen/" target="_blank">Documentation on Export</a>' ) . '</p>' .
     60        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    6161);
    6262
    6363// If the 'download' URL parameter is set, a WXR export file is baked and returned.
  • src/wp-admin/import.php

    diff --git a/src/wp-admin/import.php b/src/wp-admin/import.php
    index fe911f86c9..313b3af2a3 100644
    a b get_current_screen()->add_help_tab( 
    2929
    3030get_current_screen()->set_help_sidebar(
    3131        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    32         '<p>' . __( '<a href="https://wordpress.org/support/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
    33         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     32        '<p>' . __( '<a href="https://wordpress.org/support/article/tools-import-screen/" target="_blank">Documentation on Import</a>' ) . '</p>' .
     33        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    3434);
    3535
    3636if ( current_user_can( 'install_plugins' ) ) {
  • src/wp-admin/includes/class-wp-plugins-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php
    index 86bc2531e8..28f61f43e7 100644
    a b class WP_Plugins_List_Table extends WP_List_Table { 
    10541054                                        if ( ! empty( $plugin_data['Author'] ) ) {
    10551055                                                $author = $plugin_data['Author'];
    10561056                                                if ( ! empty( $plugin_data['AuthorURI'] ) ) {
    1057                                                         $author = '<a href="' . $plugin_data['AuthorURI'] . '">' . $plugin_data['Author'] . '</a>';
     1057                                                        $author = '<a href="' . $plugin_data['AuthorURI'] . '" target="_blank">' . $plugin_data['Author'] . '</a>';
    10581058                                                }
    10591059                                                /* translators: %s: Plugin author name. */
    10601060                                                $plugin_meta[] = sprintf( __( 'By %s' ), $author );
  • src/wp-admin/includes/dashboard.php

    diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
    index 1754832ac5..67bf812629 100644
    a b function wp_print_community_events_templates() { 
    14451445                                <div class="event-info">
    14461446                                        <div class="dashicons event-icon" aria-hidden="true"></div>
    14471447                                        <div class="event-info-inner">
    1448                                                 <a class="event-title" href="{{ event.url }}">{{ event.title }}</a>
     1448                                                <a class="event-title" href="{{ event.url }}" target="_blank">{{ event.title }}</a>
    14491449                                                <span class="event-city">{{ event.location.location }}</span>
    14501450                                        </div>
    14511451                                </div>
    function wp_print_community_events_templates() { 
    14661466                                <?php
    14671467                                printf(
    14681468                                        /* translators: %s: Localized meetup organization documentation URL. */
    1469                                         __( 'Want more events? <a href="%s">Help organize the next one</a>!' ),
     1469                                        __( 'Want more events? <a href="%s" target="_blank">Help organize the next one</a>!' ),
    14701470                                        __( 'https://make.wordpress.org/community/organize-event-landing-page/' )
    14711471                                );
    14721472                                ?>
    function wp_print_community_events_templates() { 
    14811481                                <?php
    14821482                                printf(
    14831483                                        /* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
    1484                                         __( 'There are no events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize a WordPress event</a>?' ),
     1484                                        __( 'There are no events scheduled near %1$s at the moment. Would you like to <a href="%2$s" target="_blank">organize a WordPress event</a>?' ),
    14851485                                        '{{ data.location.description }}',
    14861486                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14871487                                );
    function wp_print_community_events_templates() { 
    14911491                                <?php
    14921492                                printf(
    14931493                                        /* translators: %s: Meetup organization documentation URL. */
    1494                                         __( 'There are no events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
     1494                                        __( 'There are no events scheduled near you at the moment. Would you like to <a href="%s" target="_blank">organize a WordPress event</a>?' ),
    14951495                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14961496                                );
    14971497                                ?>
  • src/wp-admin/includes/file.php

    diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php
    index 774f3b0151..44d73fa158 100644
    a b function wp_print_file_editor_templates() { 
    322322                                        <?php
    323323                                        printf(
    324324                                                /* translators: %s: Documentation URL. */
    325                                                 __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
     325                                                __( 'You need to make this file writable before you can save your changes. See <a href="%s" target="_blank">Changing File Permissions</a> for more information.' ),
    326326                                                __( 'https://wordpress.org/support/article/changing-file-permissions/' )
    327327                                        );
    328328                                        ?>
  • src/wp-admin/media-new.php

    diff --git a/src/wp-admin/media-new.php b/src/wp-admin/media-new.php
    index 94fa50ff3d..f78fbc29c8 100644
    a b get_current_screen()->add_help_tab( 
    5858);
    5959get_current_screen()->set_help_sidebar(
    6060        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    61         '<p>' . __( '<a href="https://wordpress.org/support/article/media-add-new-screen/">Documentation on Uploading Media Files</a>' ) . '</p>' .
    62         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     61        '<p>' . __( '<a href="https://wordpress.org/support/article/media-add-new-screen/" target="_blank">Documentation on Uploading Media Files</a>' ) . '</p>' .
     62        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    6363);
    6464
    6565require_once ABSPATH . 'wp-admin/admin-header.php';
  • src/wp-admin/options-discussion.php

    diff --git a/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php
    index f34be054de..810e741230 100644
    a b get_current_screen()->add_help_tab( 
    2929
    3030get_current_screen()->set_help_sidebar(
    3131        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    32         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-discussion-screen/">Documentation on Discussion Settings</a>' ) . '</p>' .
    33         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     32        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-discussion-screen/" target="_blank">Documentation on Discussion Settings</a>' ) . '</p>' .
     33        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    3434);
    3535
    3636require_once ABSPATH . 'wp-admin/admin-header.php';
  • src/wp-admin/options-general.php

    diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
    index e624217a53..29970efc5b 100644
    a b get_current_screen()->add_help_tab( 
    4646
    4747get_current_screen()->set_help_sidebar(
    4848        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    49         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-general-screen/">Documentation on General Settings</a>' ) . '</p>' .
    50         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     49        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-general-screen/" target="_blank">Documentation on General Settings</a>' ) . '</p>' .
     50        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    5151);
    5252
    5353require_once ABSPATH . 'wp-admin/admin-header.php';
    if ( ! is_multisite() ) { 
    105105                <?php
    106106                printf(
    107107                        /* translators: %s: Documentation URL. */
    108                         __( 'Enter the same address here unless you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
     108                        __( 'Enter the same address here unless you <a href="%s" target="_blank">want your site home page to be different from your WordPress installation directory</a>.' ),
    109109                        __( 'https://wordpress.org/support/article/giving-wordpress-its-own-directory/' )
    110110                );
    111111                ?>
    foreach ( $time_formats as $format ) { 
    410410                '<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' .
    411411                "<span class='spinner'></span>\n" . '</p>';
    412412
    413         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";
     413        echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/support/article/formatting-date-and-time/" target="_blank">Documentation on date and time formatting</a>.' ) . "</p>\n";
    414414?>
    415415        </fieldset>
    416416</td>
  • src/wp-admin/options-media.php

    diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php
    index 54c7174d96..a62f9cae5b 100644
    a b get_current_screen()->add_help_tab( 
    3838
    3939get_current_screen()->set_help_sidebar(
    4040        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    41         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' .
    42         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     41        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-media-screen/" target="_blank">Documentation on Media Settings</a>' ) . '</p>' .
     42        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    4343);
    4444
    4545require_once ABSPATH . 'wp-admin/admin-header.php';
  • src/wp-admin/options-permalink.php

    diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php
    index 1c3d60a801..c3acc69576 100644
    a b get_current_screen()->add_help_tab( 
    5757);
    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/support/article/settings-permalinks-screen/" target="_blank">Documentation on Permalinks Settings</a>' ) . '</p>' .
     61        '<p>' . __( '<a href="https://wordpress.org/support/article/using-permalinks/" target="_blank">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>';
     64        $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/article/nginx/" target="_blank">Documentation on Nginx configuration</a>.' ) . '</p>';
    6565}
    6666
    67 $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>';
     67$help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>';
    6868
    6969get_current_screen()->set_help_sidebar( $help_sidebar_content );
    7070unset( $help_sidebar_content );
    require_once ABSPATH . 'wp-admin/admin-header.php'; 
    223223<?php
    224224printf(
    225225        /* translators: %s: Documentation URL. */
    226         __( '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.' ),
     226        __( '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" target="_blank">number of tags are available</a>, and here are some examples to get you started.' ),
    227227        __( 'https://wordpress.org/support/article/using-permalinks/' )
    228228);
    229229?>
    printf( 
    459459                                <?php
    460460                                printf(
    461461                                        /* translators: 1: web.config, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A, 5: Element code. */
    462                                         __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. This is the URL rewrite rule you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this rule inside of the %5$s element in %1$s file.' ),
     462                                        __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s" target="_blank">writable</a>, so updating it automatically was not possible. This is the URL rewrite rule you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this rule inside of the %5$s element in %1$s file.' ),
    463463                                        '<code>web.config</code>',
    464464                                        __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    465465                                        '<kbd>Ctrl + A</kbd>',
    printf( 
    492492                                <?php
    493493                                printf(
    494494                                        /* translators: 1: Documentation URL, 2: web.config, 3: Ctrl + A, 4: ⌘ + A */
    495                                         __( '<strong>Error:</strong> The root directory of your site is not <a href="%1$s">writable</a>, so creating a file automatically was not possible. This is the URL rewrite rule you should have in your %2$s file. Create a new file called %2$s in the root directory of your site. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this code into the %2$s file.' ),
     495                                        __( '<strong>Error:</strong> The root directory of your site is not <a href="%1$s" target="_blank">writable</a>, so creating a file automatically was not possible. This is the URL rewrite rule you should have in your %2$s file. Create a new file called %2$s in the root directory of your site. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this code into the %2$s file.' ),
    496496                                        __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    497497                                        '<code>web.config</code>',
    498498                                        '<kbd>Ctrl + A</kbd>',
    printf( 
    527527                        <?php
    528528                        printf(
    529529                                /* translators: 1: .htaccess, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A */
    530                                 __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. These are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all.' ),
     530                                __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s" target="_blank">writable</a>, so updating it automatically was not possible. These are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all.' ),
    531531                                '<code>.htaccess</code>',
    532532                                __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    533533                                '<kbd>Ctrl + A</kbd>',
  • src/wp-admin/options-privacy.php

    diff --git a/src/wp-admin/options-privacy.php b/src/wp-admin/options-privacy.php
    index b477cc40b1..8dd767a8a6 100644
    a b get_current_screen()->add_help_tab( 
    4444
    4545get_current_screen()->set_help_sidebar(
    4646        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    47         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-privacy-screen/">Documentation on Privacy Settings</a>' ) . '</p>'
     47        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-privacy-screen/" target="_blank">Documentation on Privacy Settings</a>' ) . '</p>'
    4848);
    4949
    5050if ( ! empty( $action ) ) {
  • src/wp-admin/options-reading.php

    diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php
    index b0bb61f569..43bc9d9954 100644
    a b get_current_screen()->add_help_tab( 
    3131                        ) . '</p>' .
    3232                        '<p>' . sprintf(
    3333                                /* translators: %s: Documentation URL. */
    34                                 __( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or an excerpt. <a href="%s">Learn more about feeds</a>.' ),
     34                                __( 'You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or an excerpt. <a href="%s" target="_blank">Learn more about feeds</a>.' ),
    3535                                __( 'https://wordpress.org/support/article/wordpress-feeds/' )
    3636                        ) . '</p>' .
    3737                        '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
    get_current_screen()->add_help_tab( 
    5050
    5151get_current_screen()->set_help_sidebar(
    5252        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    53         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-reading-screen/">Documentation on Reading Settings</a>' ) . '</p>' .
    54         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     53        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-reading-screen/" target="_blank">Documentation on Reading Settings</a>' ) . '</p>' .
     54        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    5555);
    5656
    5757require_once ABSPATH . 'wp-admin/admin-header.php';
    else : 
    180180                <?php
    181181                printf(
    182182                        /* translators: %s: Documentation URL. */
    183                         __( 'Your theme determines how content is displayed in browsers. <a href="%s">Learn more about feeds</a>.' ),
     183                        __( 'Your theme determines how content is displayed in browsers. <a href="%s" target="_blank">Learn more about feeds</a>.' ),
    184184                        __( 'https://wordpress.org/support/article/wordpress-feeds/' )
    185185                );
    186186                ?>
  • src/wp-admin/options-writing.php

    diff --git a/src/wp-admin/options-writing.php b/src/wp-admin/options-writing.php
    index 45b112672b..33356d840d 100644
    a b if ( apply_filters( 'enable_update_services_configuration', true ) ) { 
    5050
    5151get_current_screen()->set_help_sidebar(
    5252        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    53         '<p>' . __( '<a href="https://wordpress.org/support/article/settings-writing-screen/">Documentation on Writing Settings</a>' ) . '</p>' .
    54         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     53        '<p>' . __( '<a href="https://wordpress.org/support/article/settings-writing-screen/" target="_blank">Documentation on Writing Settings</a>' ) . '</p>' .
     54        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    5555);
    5656
    5757require_once ABSPATH . 'wp-admin/admin-header.php';
    if ( apply_filters( 'enable_update_services_configuration', true ) ) { 
    212212                <?php
    213213                printf(
    214214                        /* translators: %s: Documentation URL. */
    215                         __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ),
     215                        __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s" target="_blank">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ),
    216216                        __( 'https://wordpress.org/support/article/update-services/' )
    217217                );
    218218                ?>
    if ( apply_filters( 'enable_update_services_configuration', true ) ) { 
    226226                <?php
    227227                printf(
    228228                        /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */
    229                         __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site&#8217;s <a href="%2$s">visibility settings</a>.' ),
     229                        __( 'WordPress is not notifying any <a href="%1$s" target="_blank">Update Services</a> because of your site&#8217;s <a href="%2$s">visibility settings</a>.' ),
    230230                        __( 'https://wordpress.org/support/article/update-services/' ),
    231231                        'options-reading.php'
    232232                );
  • src/wp-admin/plugin-editor.php

    diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
    index e6804c671b..28d0682b9e 100644
    a b get_current_screen()->add_help_tab( 
    140140
    141141get_current_screen()->set_help_sidebar(
    142142        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    143         '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-editor-screen/">Documentation on Editing Plugins</a>' ) . '</p>' .
    144         '<p>' . __( '<a href="https://developer.wordpress.org/plugins/">Documentation on Writing Plugins</a>' ) . '</p>' .
    145         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     143        '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-editor-screen/" target="_blank">Documentation on Editing Plugins</a>' ) . '</p>' .
     144        '<p>' . __( '<a href="https://developer.wordpress.org/plugins/" target="_blank">Documentation on Writing Plugins</a>' ) . '</p>' .
     145        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    146146);
    147147
    148148$settings = array(
    $content = esc_textarea( $content ); 
    295295                        <?php
    296296                        printf(
    297297                                /* translators: %s: Documentation URL. */
    298                                 __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
     298                                __( 'You need to make this file writable before you can save your changes. See <a href="%s" target="_blank">Changing File Permissions</a> for more information.' ),
    299299                                __( 'https://wordpress.org/support/article/changing-file-permissions/' )
    300300                        );
    301301                        ?>
  • src/wp-admin/plugins.php

    diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
    index bc7774b197..d67ddb1600 100644
    a b get_current_screen()->add_help_tab( 
    547547                                '<p>' . __( 'The search for installed plugins will search for terms in their name, description, or author.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>' .
    548548                                '<p>' . sprintf(
    549549                                        /* translators: %s: WordPress Plugin Directory URL. */
    550                                         __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
     550                                        __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s" target="_blank">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
    551551                                        __( 'https://wordpress.org/plugins/' )
    552552                                ) . '</p>',
    553553        )
    if ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( 
    580580                )
    581581        );
    582582
    583         $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
     583        $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/" target="_blank">Documentation on Auto-updates</a>' ) . '</p>';
    584584}
    585585
    586586get_current_screen()->set_help_sidebar(
    587587        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    588         '<p>' . __( '<a href="https://wordpress.org/support/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
     588        '<p>' . __( '<a href="https://wordpress.org/support/article/managing-plugins/" target="_blank">Documentation on Managing Plugins</a>' ) . '</p>' .
    589589        $help_sidebar_autoupdates .
    590         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     590        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    591591);
    592592
    593593get_current_screen()->set_screen_reader_content(
  • src/wp-admin/setup-config.php

    diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
    index 30a1b79502..b6c4071f49 100644
    a b if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) { 
    469469                                if ( ! empty( $wp_config_perms ) && ! is_writable( $path_to_wp_config ) ) {
    470470                                        $error_message = sprintf(
    471471                                                /* translators: 1: wp-config.php, 2: Documentation URL. */
    472                                                 __( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s">Changing File Permissions</a> for more information.' ),
     472                                                __( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s" target="_blank">Changing File Permissions</a> for more information.' ),
    473473                                                '<code>wp-config.php</code>',
    474474                                                __( 'https://wordpress.org/support/article/changing-file-permissions/' )
    475475                                        );
  • src/wp-admin/site-health.php

    diff --git a/src/wp-admin/site-health.php b/src/wp-admin/site-health.php
    index 5c471fe4d5..070c937315 100644
    a b get_current_screen()->add_help_tab( 
    8787
    8888get_current_screen()->set_help_sidebar(
    8989        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    90         '<p>' . __( '<a href="https://wordpress.org/support/article/site-health-screen/">Documentation on Site Health tool</a>' ) . '</p>'
     90        '<p>' . __( '<a href="https://wordpress.org/support/article/site-health-screen/" target="_blank">Documentation on Site Health tool</a>' ) . '</p>'
    9191);
    9292
    9393// Start by checking if this is a special request checking for the existence of certain filters.
  • src/wp-admin/theme-editor.php

    diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
    index cd37763d15..68fa83f53f 100644
    a b get_current_screen()->add_help_tab( 
    4040                                '<p>' . __( '<strong>Advice:</strong> Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' .
    4141                                '<p>' . sprintf(
    4242                                        /* translators: %s: Link to documentation on child themes. */
    43                                         __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.' ),
     43                                        __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s" target="_blank">child theme</a> instead.' ),
    4444                                        __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' )
    4545                                ) . '</p>' .
    4646                                ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ),
    get_current_screen()->add_help_tab( 
    4949
    5050get_current_screen()->set_help_sidebar(
    5151        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    52         '<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' .
    53         '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-editor-screen/">Documentation on Editing Themes</a>' ) . '</p>' .
    54         '<p>' . __( '<a href="https://wordpress.org/support/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' .
    55         '<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' .
    56         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     52        '<p>' . __( '<a href="https://developer.wordpress.org/themes/" target="_blank">Documentation on Theme Development</a>' ) . '</p>' .
     53        '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-editor-screen/" target="_blank">Documentation on Editing Themes</a>' ) . '</p>' .
     54        '<p>' . __( '<a href="https://wordpress.org/support/article/editing-files/" target="_blank">Documentation on Editing Files</a>' ) . '</p>' .
     55        '<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/" target="_blank">Documentation on Template Tags</a>' ) . '</p>' .
     56        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    5757);
    5858
    5959wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) );
    else : 
    325325                                        <?php
    326326                                        printf(
    327327                                                /* translators: %s: Documentation URL. */
    328                                                 __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
     328                                                __( 'You need to make this file writable before you can save your changes. See <a href="%s" target="_blank">Changing File Permissions</a> for more information.' ),
    329329                                                __( 'https://wordpress.org/support/article/changing-file-permissions/' )
    330330                                        );
    331331                                        ?>
    if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) : 
    372372                                                        echo '<p>';
    373373                                                        printf(
    374374                                                                /* translators: %s: Link to documentation on child themes. */
    375                                                                 __( 'If you need to tweak more than your theme&#8217;s CSS, you might want to try <a href="%s">making a child theme</a>.' ),
     375                                                                __( 'If you need to tweak more than your theme&#8217;s CSS, you might want to try <a href="%s" target="_blank">making a child theme</a>.' ),
    376376                                                                esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) )
    377377                                                        );
    378378                                                        echo '</p>';
  • src/wp-admin/themes.php

    diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
    index e2b60f778f..6863cad57b 100644
    a b if ( current_user_can( 'install_themes' ) ) { 
    153153        } else {
    154154                $help_install = '<p>' . sprintf(
    155155                        /* translators: %s: https://wordpress.org/themes/ */
    156                         __( 'If you would like to see more themes to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
     156                        __( 'If you would like to see more themes to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
    157157                        __( 'https://wordpress.org/themes/' )
    158158                ) . '</p>';
    159159        }
    if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 
    199199                )
    200200        );
    201201
    202         $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
     202        $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/" target="_blank">Documentation on Auto-updates</a>' ) . '</p>';
    203203} // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'.
    204204
    205205get_current_screen()->set_help_sidebar(
    206206        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    207         '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' .
    208         '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/">Documentation on Managing Themes</a>' ) . '</p>' .
     207        '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/" target="_blank">Documentation on Using Themes</a>' ) . '</p>' .
     208        '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/" target="_blank">Documentation on Managing Themes</a>' ) . '</p>' .
    209209        $help_sidebar_autoupdates .
    210         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     210        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    211211);
    212212
    213213if ( current_user_can( 'switch_themes' ) ) {
  • src/wp-admin/tools.php

    diff --git a/src/wp-admin/tools.php b/src/wp-admin/tools.php
    index 8095e4726b..76b53209f3 100644
    a b get_current_screen()->add_help_tab( 
    5353
    5454get_current_screen()->set_help_sidebar(
    5555        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    56         '<p>' . __( '<a href="https://wordpress.org/support/article/tools-screen/">Documentation on Tools</a>' ) . '</p>' .
    57         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     56        '<p>' . __( '<a href="https://wordpress.org/support/article/tools-screen/" target="_blank">Documentation on Tools</a>' ) . '</p>' .
     57        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    5858);
    5959
    6060require_once ABSPATH . 'wp-admin/admin-header.php';
  • src/wp-admin/update-core.php

    diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
    index 2ac4648fcf..f92da2d91b 100644
    a b function list_core_update( $update ) { 
    9797
    9898                        $php_update_message = '</p><p>' . sprintf(
    9999                                /* translators: %s: URL to Update PHP page. */
    100                                 __( '<a href="%s">Learn more about updating PHP</a>.' ),
     100                                __( '<a href="%s" target="_blank">Learn more about updating PHP</a>.' ),
    101101                                esc_url( wp_get_update_php_url() )
    102102                        );
    103103
    function list_core_update( $update ) { 
    110110                        if ( ! $mysql_compat && ! $php_compat ) {
    111111                                $message = sprintf(
    112112                                        /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Minimum required MySQL version number, 5: Current PHP version number, 6: Current MySQL version number. */
    113                                         __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ),
     113                                        __( 'You cannot update because <a href="%1$s" target="_blank">WordPress %2$s</a> requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ),
    114114                                        $version_url,
    115115                                        $update->current,
    116116                                        $update->php_version,
    function list_core_update( $update ) { 
    121121                        } elseif ( ! $php_compat ) {
    122122                                $message = sprintf(
    123123                                        /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Current PHP version number. */
    124                                         __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ),
     124                                        __( 'You cannot update because <a href="%1$s" target="_blank">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ),
    125125                                        $version_url,
    126126                                        $update->current,
    127127                                        $update->php_version,
    function list_core_update( $update ) { 
    130130                        } elseif ( ! $mysql_compat ) {
    131131                                $message = sprintf(
    132132                                        /* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required MySQL version number, 4: Current MySQL version number. */
    133                                         __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ),
     133                                        __( 'You cannot update because <a href="%1$s" target="_blank">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ),
    134134                                        $version_url,
    135135                                        $update->current,
    136136                                        $update->mysql_version,
    function list_core_update( $update ) { 
    139139                        } else {
    140140                                $message = sprintf(
    141141                                        /* translators: 1: Installed WordPress version number, 2: URL to WordPress release notes, 3: New WordPress version number, including locale if necessary. */
    142                                         __( 'You can update from WordPress %1$s to <a href="%2$s">WordPress %3$s</a> manually:' ),
     142                                        __( 'You can update from WordPress %1$s to <a href="%2$s" target="_blank">WordPress %3$s</a> manually:' ),
    143143                                        $wp_version,
    144144                                        $version_url,
    145145                                        $version_string
    function core_upgrade_preamble() { 
    264264                echo '<div class="notice notice-warning inline"><p>';
    265265                printf(
    266266                        /* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */
    267                         __( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ),
     267                        __( '<strong>Important:</strong> Before updating, please <a href="%1$s" target="_blank">back up your database and files</a>. For help with updates, visit the <a href="%2$s" >Updating WordPress</a> documentation page.' ),
    268268                        __( 'https://wordpress.org/support/article/wordpress-backups/' ),
    269269                        __( 'https://wordpress.org/support/article/updating-wordpress/' )
    270270                );
    function list_plugin_updates() { 
    538538                        $compat .= '<br />' . __( 'This update does not work with your version of PHP.' ) . '&nbsp;';
    539539                        $compat .= sprintf(
    540540                                /* translators: %s: URL to Update PHP page. */
    541                                 __( '<a href="%s">Learn more about updating PHP</a>.' ),
     541                                __( '<a href="%s" target="_blank">Learn more about updating PHP</a>.' ),
    542542                                esc_url( wp_get_update_php_url() )
    543543                        );
    544544
    function list_theme_updates() { 
    647647        <?php
    648648        printf(
    649649                /* translators: %s: Link to documentation on child themes. */
    650                 __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ),
     650                __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s" target="_blank">child themes</a> for modifications.' ),
    651651                __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' )
    652652        );
    653653        ?>
    function list_theme_updates() { 
    685685                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    686686                                $compat .= sprintf(
    687687                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    688                                         __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
     688                                        __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s" target="_blank">learn more about updating PHP</a>.' ),
    689689                                        esc_url( self_admin_url( 'update-core.php' ) ),
    690690                                        esc_url( wp_get_update_php_url() )
    691691                                );
    function list_theme_updates() { 
    704704                        } elseif ( current_user_can( 'update_php' ) ) {
    705705                                $compat .= sprintf(
    706706                                        /* translators: %s: URL to Update PHP page. */
    707                                         __( '<a href="%s">Learn more about updating PHP</a>.' ),
     707                                        __( '<a href="%s" target="_blank">Learn more about updating PHP</a>.' ),
    708708                                        esc_url( wp_get_update_php_url() )
    709709                                );
    710710
    function list_theme_updates() { 
    728728                        if ( current_user_can( 'update_php' ) ) {
    729729                                $compat .= sprintf(
    730730                                        /* translators: %s: URL to Update PHP page. */
    731                                         __( '<a href="%s">Learn more about updating PHP</a>.' ),
     731                                        __( '<a href="%s" target="_blank">Learn more about updating PHP</a>.' ),
    732732                                        esc_url( wp_get_update_php_url() )
    733733                                );
    734734
    if ( ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type 
    10081008                )
    10091009        );
    10101010
    1011         $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Documentation on Auto-updates</a>' ) . '</p>';
     1011        $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/" target="_blank">Documentation on Auto-updates</a>' ) . '</p>';
    10121012}
    10131013
    10141014get_current_screen()->set_help_sidebar(
    10151015        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    1016         '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' .
     1016        '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-updates-screen/" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' .
    10171017        $help_sidebar_autoupdates .
    1018         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     1018        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    10191019);
    10201020
    10211021if ( 'upgrade-core' === $action ) {
  • src/wp-admin/upload.php

    diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php
    index 1594d7858d..9d4f11c577 100644
    a b get_current_screen()->add_help_tab( 
    349349
    350350get_current_screen()->set_help_sidebar(
    351351        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    352         '<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
    353         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     352        '<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
     353        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    354354);
    355355
    356356get_current_screen()->set_screen_reader_content(
  • src/wp-admin/users.php

    diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
    index ba96928bcf..0cbbe6e096 100644
    a b unset( $help ); 
    7979
    8080get_current_screen()->set_help_sidebar(
    8181        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    82         '<p>' . __( '<a href="https://wordpress.org/support/article/users-screen/">Documentation on Managing Users</a>' ) . '</p>' .
    83         '<p>' . __( '<a href="https://wordpress.org/support/article/roles-and-capabilities/">Descriptions of Roles and Capabilities</a>' ) . '</p>' .
    84         '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
     82        '<p>' . __( '<a href="https://wordpress.org/support/article/users-screen/" target="_blank">Documentation on Managing Users</a>' ) . '</p>' .
     83        '<p>' . __( '<a href="https://wordpress.org/support/article/roles-and-capabilities/" target="_blank">Descriptions of Roles and Capabilities</a>' ) . '</p>' .
     84        '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support</a>' ) . '</p>'
    8585);
    8686
    8787get_current_screen()->set_screen_reader_content(
  • src/wp-includes/comment-template.php

    diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php
    index b5cbdc5cbe..acfc26775a 100644
    a b function get_comment_author_link( $comment_ID = 0 ) { 
    252252                $rel = ! empty( $rel ) ? sprintf( ' rel="%s"', $rel ) : '';
    253253
    254254                $return = sprintf(
    255                         '<a href="%1$s" class="url"%2$s>%3$s</a>',
     255                        '<a href="%1$s" target="_blank" class="url"%2$s>%3$s</a>',
    256256                        $url,
    257257                        $rel,
    258258                        $author
  • src/wp-includes/widgets.php

    diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php
    index dc643ffe1c..49c3b7aa7f 100644
    a b function wp_widget_rss_output( $rss, $args = array() ) { 
    16551655                if ( '' === $link ) {
    16561656                        echo "<li>$title{$date}{$summary}{$author}</li>";
    16571657                } elseif ( $show_summary ) {
    1658                         echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$summary}{$author}</li>";
     1658                        echo "<li><a class='rsswidget' href='$link' target='_blank'>$title</a>{$date}{$summary}{$author}</li>";
    16591659                } else {
    1660                         echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$author}</li>";
     1660                        echo "<li><a class='rsswidget' href='$link' target='_blank'>$title</a>{$date}{$author}</li>";
    16611661                }
    16621662        }
    16631663        echo '</ul>';