From cd4c960a6c17e683bcc76f1efaadcb272955bb83 Mon Sep 17 00:00:00 2001
From: Sergey Biryukov
Date: Sat, 5 May 2018 09:45:22 +0000
Subject: [PATCH] Administration: Change all the occurrences of "(opens in a
new window)" to "(opens in a new tab)".
Props chetan200891, ianbelanger, afercia.
Fixes #43803.
Built from https://develop.svn.wordpress.org/trunk@43174
git-svn-id: http://core.svn.wordpress.org/trunk@43003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/includes/dashboard.php | 6 +++---
wp-admin/includes/meta-boxes.php | 2 +-
wp-admin/includes/plugin-install.php | 2 +-
wp-includes/class-wp-customize-manager.php | 6 +++---
.../class-wp-customize-nav-menu-locations-control.php | 2 +-
wp-includes/deprecated.php | 4 ++--
wp-includes/functions.php | 2 +-
wp-includes/version.php | 2 +-
wp-includes/widgets/class-wp-widget-custom-html.php | 2 +-
9 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index bd1a9d4dde..d61bb07a7a 100644
--- a/wp-admin/includes/dashboard.php
+++ b/wp-admin/includes/dashboard.php
@@ -1127,7 +1127,7 @@ function wp_dashboard_events_news() {
'https://make.wordpress.org/community/meetups-landing-page',
__( 'Meetups' ),
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
);
?>
@@ -1139,7 +1139,7 @@ function wp_dashboard_events_news() {
'https://central.wordcamp.org/schedule/',
__( 'WordCamps' ),
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
);
?>
@@ -1152,7 +1152,7 @@ function wp_dashboard_events_news() {
esc_url( _x( 'https://wordpress.org/news/', 'Events and News dashboard widget' ) ),
__( 'News' ),
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
);
?>
diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php
index f9e4701130..a8d39ecb04 100644
--- a/wp-admin/includes/meta-boxes.php
+++ b/wp-admin/includes/meta-boxes.php
@@ -65,7 +65,7 @@ $preview_button = sprintf(
'%1$s %2$s',
$preview_button_text,
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
);
?>
diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php
index a25a380455..8425c0bb2d 100644
--- a/wp-admin/includes/plugin-install.php
+++ b/wp-admin/includes/plugin-install.php
@@ -706,7 +706,7 @@ if ( ! empty( $api->ratings ) && array_sum( (array) $api->ratings ) > 0 ) {
/* translators: 1: number of stars (used to determine singular/plural), 2: number of reviews */
$aria_label = esc_attr(
sprintf(
- _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 ),
+ _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 ),
$key,
number_format_i18n( $ratecount )
)
diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php
index db21cb35d9..6da71a1304 100644
--- a/wp-includes/class-wp-customize-manager.php
+++ b/wp-includes/class-wp-customize-manager.php
@@ -4244,7 +4244,7 @@ final class WP_Customize_Manager {
-
+
@@ -5463,7 +5463,7 @@ final class WP_Customize_Manager {
esc_url( __( 'https://codex.wordpress.org/CSS' ) ),
__( 'Learn more about CSS' ),
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
);
$section_description .= '';
@@ -5484,7 +5484,7 @@ final class WP_Customize_Manager {
sprintf(
' %s',
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
)
);
$section_description .= '';
diff --git a/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
index 2fda036299..f6474f6511 100644
--- a/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
+++ b/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
@@ -54,7 +54,7 @@ class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control {
sprintf(
' %s',
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
)
);
?>
diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php
index 89203d764c..826f41c5f4 100644
--- a/wp-includes/deprecated.php
+++ b/wp-includes/deprecated.php
@@ -3745,12 +3745,12 @@ function comments_popup_script() {
}
/**
- * Adds element attributes to open links in new windows.
+ * Adds element attributes to open links in new tabs.
*
* @since 0.71
* @deprecated 4.5.0
*
- * @param string $text Content to replace links to open in a new window.
+ * @param string $text Content to replace links to open in a new tab.
* @return string Content that has filtered links.
*/
function popuplinks( $text ) {
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 616f0358fc..341a1746d9 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -5632,7 +5632,7 @@ function wp_auth_check_html() {
-
+
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 30f7ad1a22..6beb0572ae 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '5.0-alpha-43172';
+$wp_version = '5.0-alpha-43174';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
diff --git a/wp-includes/widgets/class-wp-widget-custom-html.php b/wp-includes/widgets/class-wp-widget-custom-html.php
index 068d6f7551..9da1791703 100644
--- a/wp-includes/widgets/class-wp-widget-custom-html.php
+++ b/wp-includes/widgets/class-wp-widget-custom-html.php
@@ -306,7 +306,7 @@ class WP_Widget_Custom_HTML extends WP_Widget {
sprintf(
' %s',
/* translators: accessibility text */
- __( '(opens in a new window)' )
+ __( '(opens in a new tab)' )
)
);
$content .= '';