mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Change the uploader buttons label to Upload/Insert
git-svn-id: http://svn.automattic.com/wordpress/trunk@9981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
80e0aebc12
commit
b77870d065
@ -330,7 +330,7 @@ if ( is_string($content_func) )
|
||||
function media_buttons() {
|
||||
global $post_ID, $temp_ID;
|
||||
$uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
|
||||
$context = apply_filters('media_buttons_context', __('Upload %s'));
|
||||
$context = apply_filters('media_buttons_context', __('Upload/Insert %s'));
|
||||
$media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID";
|
||||
$media_title = __('Add Media');
|
||||
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&type=image");
|
||||
|
Loading…
Reference in New Issue
Block a user