Ticket #34663: 34663.17.diff
File 34663.17.diff, 1.9 KB (added by , 9 years ago) |
---|
-
src/wp-admin/about.php
89 89 <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 90 </div> 91 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 ?> 92 <div class="embed-container embed-reverbnation"> 93 <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> 104 94 </div> 105 95 <h3><?php _e( 'Even more embed providers' ); ?></h3> 106 96 <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> -
src/wp-admin/css/about.css
273 273 text-align: center; 274 274 } 275 275 276 .about-wrap .embed- cloudup iframe{277 height: 2 99px;276 .about-wrap .embed-reverbnation { 277 height: 257px; 278 278 } 279 279 280 .about-wrap .embed-reverbnation iframe { 281 margin-top: 52px; 282 } 283 280 284 .about-wrap .embed-container iframe { 281 285 max-width: 100%; 282 286 }