Ticket #24862: 24862.diff
File 24862.diff, 2.2 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/media.php
444 444 445 445 $img = '<span class="wp-media-buttons-icon"></span> '; 446 446 447 echo '<a href="#" id="insert-media-button" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( ' Add Media' ) . '">' . $img . __( 'AddMedia' ) . '</a>';447 echo '<a href="#" id="insert-media-button" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Insert Media' ) . '">' . $img . __( 'Insert Media' ) . '</a>'; 448 448 449 449 // Don't use this filter. Want to add a button? Use the media_buttons action. 450 450 $legacy_filter = apply_filters('media_buttons_context', ''); // deprecated -
wp-admin/edit-form-advanced.php
257 257 } 258 258 259 259 if ( 'post' == $post_type || 'page' == $post_type ) { 260 $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the AddMedia button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '</p>';260 $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Insert Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '</p>'; 261 261 $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. Please refer to the Codex to <a href="http://codex.wordpress.org/Embeds">learn more about embeds</a>.' ) . '</p>'; 262 262 263 263 get_current_screen()->add_help_tab( array(