Don't unnecessarily translate media upload tab strings. see #22186.

git-svn-id: http://core.svn.wordpress.org/trunk@22524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-10 07:56:17 +00:00
parent bed08350f4
commit 14b13a0935

View File

@ -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 );