From e6fcf3b0135a77f03d53846899b7021129765f1a Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 10 Nov 2012 07:56:17 +0000 Subject: [PATCH] Don't unnecessarily translate media upload tab strings. see #22186. git-svn-id: https://develop.svn.wordpress.org/trunk@22524 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index f05a5518ef..8feb13961a 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1300,11 +1300,11 @@ function wp_enqueue_media() { // We're going to pass the old thickbox media tabs to `media_upload_tabs` // to ensure plugins will work. We will then unset those tabs. $tabs = array( - // handler action suffix => tab text - 'type' => __('From Computer'), - 'type_url' => __('From URL'), - 'gallery' => __('Gallery'), - 'library' => __('Media Library'), + // handler action suffix => tab label + 'type' => '', + 'type_url' => '', + 'gallery' => '', + 'library' => '', ); $tabs = apply_filters( 'media_upload_tabs', $tabs );