Change the uploader buttons label to Upload/Insert
git-svn-id: https://develop.svn.wordpress.org/trunk@9981 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
826d40ecbc
commit
b29461908c
@ -330,7 +330,7 @@ if ( is_string($content_func) )
|
|||||||
function media_buttons() {
|
function media_buttons() {
|
||||||
global $post_ID, $temp_ID;
|
global $post_ID, $temp_ID;
|
||||||
$uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_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_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID";
|
||||||
$media_title = __('Add Media');
|
$media_title = __('Add Media');
|
||||||
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&type=image");
|
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&type=image");
|
||||||
|
Loading…
Reference in New Issue
Block a user