WordPress.org

Make WordPress Core

Ticket #22451: 22451.11.diff

File 22451.11.diff, 2.1 KB (added by DrewAPicture, 17 months ago)

Media string changes

  • wp-admin/edit-form-advanced.php

     
    231231} 
    232232 
    233233if ( 'post' == $post_type || 'page' == $post_type ) { 
    234         $inserting_media = '<p>' . ('<strong>Add Media</strong> - You can upload and insert media (images, audio, document files, etc.) by clicking the Add 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, simply select multiple images to add.') . '</p>'; 
    235         $inserting_media .= '<p>' . ('<strong>Embed Media</strong> - With oEmbed, you can easily embed media from popular websites such as Twitter, YouTube, Instagram, SoundCloud, and others. All you need to do is copy the URL of that media, and paste it directly into the text of your page/post on its own line. Remember to make sure that the URL is on its own line and not hyperlinked. Please refer to the Codex to <a href="http://codex.wordpress.org/Embeds">learn more about oEmbed</a>.'); 
     234        $inserting_media = '<p>' . ('<strong>Add Media</strong> - You can upload and insert media (images, audio, documents, etc.) by clicking the Add 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 on the "Create a new gallery" button.') . '</p>'; 
     235        $inserting_media .= '<p>' . ('<strong>Embed Media</strong> - You can embed media from many popular websites including Twitter, YouTube, Flickr, SoundCloud and others. Simply copy and paste the media URL into the text of your post/page and make sure it is on its own line and not hyperlinked. WordPress will automatically turn the URL into a media embed when the post/page is viewed on your site. Please refer to the Codex to <a href="http://codex.wordpress.org/Embeds">learn more about embeds</a>.'); 
    236236 
    237237        get_current_screen()->add_help_tab( array( 
    238238                'id'            => 'inserting-media',