Changeset 35826
- Timestamp:
- 12/08/2015 03:37:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r35825 r35826 84 84 <div class="col"> 85 85 <div class="embed-container"> 86 <?php 87 $embed1 = get_site_transient( 'about-page-embed-1' ); 88 if ( false === $embed1 ) { 89 $embed1 = wp_oembed_get( 'https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/' ); 90 if ( ! $embed1 ) { 91 $embed1 = '{{unknown}}'; 92 } 93 set_site_transient( 'about-page-embed-1', $embed1 ); 94 } 95 echo '{{unknown}}' !== $embed1 ? $embed1 : ''; 96 ?> 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> 97 87 </div> 98 88 <h3><?php _e( 'Embed your WordPress content' ); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.