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
This commit is contained in:
Andrew Nacin 2012-11-10 07:56:17 +00:00
parent 847a00f84b
commit e6fcf3b013
1 changed files with 5 additions and 5 deletions

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