mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 14:05:11 +00:00
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:
parent
bed08350f4
commit
14b13a0935
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user