Changeset 35834 for trunk/src/wp-admin/about.php
- Timestamp:
- 12/08/2015 08:24:52 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/about.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r35833 r35834 86 86 <blockquote data-secret="OcUe7B6Edh" class="wp-embedded-content"><a href="https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/">New Embeds Feature in WordPress 4.4</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="display:none;" src="https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/embed/#?secret=OcUe7B6Edh" data-secret="OcUe7B6Edh" width="600" height="338" title="Embedded WordPress Post" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> 87 87 </div> 88 </div> 89 <div class="col"> 88 90 <h3><?php _e( 'Embed your WordPress content' ); ?></h3> 89 91 <p><?php _e( 'Now you can embed your posts on other sites, even other WordPress sites. Simply drop a post URL into the editor and see an instant embed preview, complete with the title, excerpt, and featured image if you’ve set one. We’ll even include your site icon and links for comments and sharing.' ); ?></p> 90 92 </div> 91 <div class="col"> 92 <div class="embed-container"> 93 <?php 94 $embed2 = get_site_transient( 'about-page-embed-2' ); 95 if ( false === $embed2 ) { 96 $embed2 = wp_oembed_get( 'https://cloudup.com/cD3duXiAI5k' ); 97 if ( ! $embed2 ) { 98 $embed2 = '{{unknown}}'; 99 } 100 set_site_transient( 'about-page-embed-2', $embed2 ); 101 } 102 echo '{{unknown}}' !== $embed2 ? $embed2 : ''; 103 ?> 104 </div> 93 </div> 94 95 <hr /> 96 97 <div class="feature-section two-col"> 98 <div class="col"> 99 <div class="embed-container embed-reverbnation"> 100 <iframe width="640" height="150" scrolling="no" frameborder="no" src="https://www.reverbnation.com/widget_code/html_widget/artist_607?widget_id=55&pwc[song_ids]=3731874&pwc[size]=small"></iframe> 101 </div> 102 </div> 103 <div class="col"> 105 104 <h3><?php _e( 'Even more embed providers' ); ?></h3> 106 105 <p><?php _e( 'In addition to post embeds, WordPress 4.4 also adds support for five new oEmbed providers: Cloudup, Reddit Comments, ReverbNation, Speaker Deck, and VideoPress.' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.