Make WordPress Core

Ticket #34663: 34663.17.diff

File 34663.17.diff, 1.9 KB (added by wonderboymusic, 9 years ago)
  • src/wp-admin/about.php

     
    8989                                <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&#8217;ve set one. We&#8217;ll even include your site icon and links for comments and sharing.' ); ?></p>
    9090                        </div>
    9191                        <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&amp;pwc[song_ids]=3731874&amp;pwc[size]=small"></iframe>
    10494                                </div>
    10595                                <h3><?php _e( 'Even more embed providers' ); ?></h3>
    10696                                <p><?php _e( 'In addition to post embeds, WordPress 4.4 also adds support for five new oEmbed providers: Cloudup, Reddit&nbsp;Comments, ReverbNation, Speaker&nbsp;Deck, and VideoPress.' ); ?></p>
  • src/wp-admin/css/about.css

     
    273273        text-align: center;
    274274}
    275275
    276 .about-wrap .embed-cloudup iframe {
    277         height: 299px;
     276.about-wrap .embed-reverbnation {
     277        height: 257px;
    278278}
    279279
     280.about-wrap .embed-reverbnation iframe {
     281        margin-top: 52px;
     282}
     283
    280284.about-wrap .embed-container iframe {
    281285        max-width: 100%;
    282286}