mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +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`
|
// 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.
|
// to ensure plugins will work. We will then unset those tabs.
|
||||||
$tabs = array(
|
$tabs = array(
|
||||||
// handler action suffix => tab text
|
// handler action suffix => tab label
|
||||||
'type' => __('From Computer'),
|
'type' => '',
|
||||||
'type_url' => __('From URL'),
|
'type_url' => '',
|
||||||
'gallery' => __('Gallery'),
|
'gallery' => '',
|
||||||
'library' => __('Media Library'),
|
'library' => '',
|
||||||
);
|
);
|
||||||
|
|
||||||
$tabs = apply_filters( 'media_upload_tabs', $tabs );
|
$tabs = apply_filters( 'media_upload_tabs', $tabs );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user