Make WordPress Core

Changeset 43174


Ignore:
Timestamp:
05/05/2018 09:44:21 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Administration: Change all the occurrences of "(opens in a new window)" to "(opens in a new tab)".

Props chetan200891, ianbelanger, afercia.
Fixes #43803.

Location:
trunk/src
Files:
8 edited

Legend:

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

    r43006 r43174  
    11281128                __( 'Meetups' ),
    11291129                /* translators: accessibility text */
    1130                 __( '(opens in a new window)' )
     1130                __( '(opens in a new tab)' )
    11311131            );
    11321132        ?>
     
    11401140                __( 'WordCamps' ),
    11411141                /* translators: accessibility text */
    1142                 __( '(opens in a new window)' )
     1142                __( '(opens in a new tab)' )
    11431143            );
    11441144        ?>
     
    11531153                __( 'News' ),
    11541154                /* translators: accessibility text */
    1155                 __( '(opens in a new window)' )
     1155                __( '(opens in a new tab)' )
    11561156            );
    11571157        ?>
  • trunk/src/wp-admin/includes/meta-boxes.php

    r42827 r43174  
    6666    $preview_button_text,
    6767    /* translators: accessibility text */
    68     __( '(opens in a new window)' )
     68    __( '(opens in a new tab)' )
    6969);
    7070?>
  • trunk/src/wp-admin/includes/plugin-install.php

    r42998 r43174  
    707707                $aria_label = esc_attr(
    708708                    sprintf(
    709                         _n( 'Reviews with %1$d star: %2$s. Opens in a new window.', 'Reviews with %1$d stars: %2$s. Opens in a new window.', $key ),
     709                        _n( 'Reviews with %1$d star: %2$s. Opens in a new tab.', 'Reviews with %1$d stars: %2$s. Opens in a new tab.', $key ),
    710710                        $key,
    711711                        number_format_i18n( $ratecount )
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r42875 r43174  
    42454245                <a href="" target="">
    42464246                    <span class="preview-control-element" data-component="url"></span>
    4247                     <span class="screen-reader-text"><?php _e( '(opens in a new window)' ); ?></span>
     4247                    <span class="screen-reader-text"><?php _e( '(opens in a new tab)' ); ?></span>
    42484248                </a>
    42494249                <input id="{{ elementPrefix }}customize-preview-link-input" readonly tabindex="-1" class="preview-control-element" data-component="input">
     
    54645464            __( 'Learn more about CSS' ),
    54655465            /* translators: accessibility text */
    5466             __( '(opens in a new window)' )
     5466            __( '(opens in a new tab)' )
    54675467        );
    54685468        $section_description .= '</p>';
     
    54855485                    '<span class="screen-reader-text"> %s</span>',
    54865486                    /* translators: accessibility text */
    5487                     __( '(opens in a new window)' )
     5487                    __( '(opens in a new tab)' )
    54885488                )
    54895489            );
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php

    r42343 r43174  
    5555                                        '<span class="screen-reader-text"> %s</span>',
    5656                                        /* translators: accessibility text */
    57                                         __( '(opens in a new window)' )
     57                                        __( '(opens in a new tab)' )
    5858                                    )
    5959                                );
  • trunk/src/wp-includes/deprecated.php

    r42710 r43174  
    37463746
    37473747/**
    3748  * Adds element attributes to open links in new windows.
     3748 * Adds element attributes to open links in new tabs.
    37493749 *
    37503750 * @since 0.71
    37513751 * @deprecated 4.5.0
    37523752 *
    3753  * @param string $text Content to replace links to open in a new window.
     3753 * @param string $text Content to replace links to open in a new tab.
    37543754 * @return string Content that has filtered links.
    37553755 */
  • trunk/src/wp-includes/functions.php

    r43162 r43174  
    56335633        <p><b class="wp-auth-fallback-expired" tabindex="0"><?php _e( 'Session expired' ); ?></b></p>
    56345634        <p><a href="<?php echo esc_url( $login_url ); ?>" target="_blank"><?php _e( 'Please log in again.' ); ?></a>
    5635         <?php _e( 'The login page will open in a new window. After logging in you can close it and return to this page.' ); ?></p>
     5635        <?php _e( 'The login page will open in a new tab. After logging in you can close it and return to this page.' ); ?></p>
    56365636    </div>
    56375637    </div>
  • trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php

    r42343 r43174  
    307307                    '<span class="screen-reader-text"> %s</span>',
    308308                    /* translators: accessibility text */
    309                     __( '(opens in a new window)' )
     309                    __( '(opens in a new tab)' )
    310310                )
    311311            );
Note: See TracChangeset for help on using the changeset viewer.