From 2c01dadd40858ac348b732d99f4c35b2682e0912 Mon Sep 17 00:00:00 2001 From: afercia Date: Tue, 4 Oct 2016 06:56:02 +0000 Subject: [PATCH] Accessibility: Remove target=_blank from the old custom background/header help tabs links. Stop taking control of users' browsers. Props rianrietveld. Fixes #38141. See #23432. git-svn-id: https://develop.svn.wordpress.org/trunk@38719 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/custom-background.php | 4 ++-- src/wp-admin/custom-header.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php index 9626c291a0..a2dcfa8964 100644 --- a/src/wp-admin/custom-background.php +++ b/src/wp-admin/custom-background.php @@ -97,8 +97,8 @@ class Custom_Background { get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Background' ) . '

' . - '

' . __( 'Support Forums' ) . '

' + '

' . __( 'Documentation on Custom Background' ) . '

' . + '

' . __( 'Support Forums' ) . '

' ); wp_enqueue_media(); diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index c339498c11..9822c9ba84 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -124,8 +124,8 @@ class Custom_Image_Header { get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Custom Header' ) . '

' . - '

' . __( 'Support Forums' ) . '

' + '

' . __( 'Documentation on Custom Header' ) . '

' . + '

' . __( 'Support Forums' ) . '

' ); }