mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 20:11:39 +00:00
Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -320,15 +320,15 @@ 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', __('Add media: %s'));
|
||||
$context = apply_filters('media_buttons_context', __('Upload %s'));
|
||||
$media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID";
|
||||
$media_title = __('Add Media');
|
||||
$media_title = __('Upload Media');
|
||||
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&type=image");
|
||||
$image_title = __('Add an Image');
|
||||
$image_title = __('Upload an Image');
|
||||
$video_upload_iframe_src = apply_filters('video_upload_iframe_src', "$media_upload_iframe_src&type=video");
|
||||
$video_title = __('Add Video');
|
||||
$video_title = __('Upload Video');
|
||||
$audio_upload_iframe_src = apply_filters('audio_upload_iframe_src', "$media_upload_iframe_src&type=audio");
|
||||
$audio_title = __('Add Audio');
|
||||
$audio_title = __('Upload Audio');
|
||||
$out = <<<EOF
|
||||
|
||||
<a href="{$image_upload_iframe_src}&TB_iframe=true" id="add_image" class="thickbox" title='$image_title'><img src='images/media-button-image.gif' alt='$image_title' /></a>
|
||||
|
||||
Reference in New Issue
Block a user