Make WordPress Core

Changeset 32277


Ignore:
Timestamp:
04/23/2015 03:42:24 PM (9 years ago)
Author:
helen
Message:

About page: Finalize media for 4.2.

props ocean90, Nao.
fixes #31929.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r32260 r32277  
    2323include( ABSPATH . 'wp-admin/admin-header.php' );
    2424?>
    25 <!--[if lt IE 9]><script>document.createElement('audio');document.createElement('video');</script><![endif]-->
    2625<div class="wrap about-wrap">
    2726
     
    4342
    4443<div class="headline-feature feature-video">
    45     <?php
    46         // echo wp_video_shortcode( array(
    47         //  // 'mp4'      => '//s.w.org/images/core/3.9/widgets.mp4',
    48         //  'ogv'      => '//videos.files.wordpress.com/bUdzKMro/wordpress-4-0_fmt1.ogv',
    49         //  // 'webm'     => '//s.w.org/images/core/3.9/widgets.webm',
    50         //  'loop'     => false,
    51         // ) );
    52     ?>
    53     <embed type="application/x-shockwave-flash" src="https://v0.wordpress.com/player.swf?v=1.04" width="1000" height="560" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=bUdzKMro&amp;isDynamicSeeking=true"></embed>
     44    <embed type="application/x-shockwave-flash" src="https://v0.wordpress.com/player.swf?v=1.04" width="1000" height="560" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=e9kH4FzP&amp;isDynamicSeeking=true"></embed>
    5445</div>
    5546
     
    6859
    6960    <div class="col">
    70         <img src="https://cldup.com/xMJ2QCxvcz.jpg" />
     61        <img src="//s.w.org/images/core/4.2/press-this.jpg" />
    7162    </div>
    7263</div>
     
    7465<div class="feature-section two-col">
    7566    <div class="col">
    76         <img src="https://cldup.com/q-2svtgKe1.jpg" />
     67        <img src="//s.w.org/images/core/4.2/unicode.png" />
    7768    </div>
    7869    <div class="col">
     
    8879<div class="changelog feature-section three-col">
    8980    <div>
    90         <img src="https://cldup.com/LKcPHn8rdr.png" />
     81        <img src="//s.w.org/images/core/4.2/theme-switcher.png" />
    9182        <h3><?php _e( 'Switch themes in the Customizer' ); ?></h3>
    9283        <p><?php _e( 'Browse and preview your installed themes from the Customizer. Make sure the theme looks great with <em>your</em> content, before it debuts on your site. ' ); ?></p>
    9384    </div>
    9485    <div>
    95         <img src="https://cldup.com/h0VOskQA1C.png" />
     86        <img src="//s.w.org/images/core/4.2/embeds.png" />
    9687        <h3><?php _e( 'Even more embeds' ); ?></h3>
    9788        <p><?php _e( 'Paste links from Tumblr.com and Kickstarter and watch them magically appear right in the editor. With every release, your publishing and editing experience get closer together.' ); ?></p>
    9889    </div>
    9990    <div class="last-feature">
    100         <img src="https://cldup.com/1_8tBZpvva.png" />
     91        <img src="//s.w.org/images/core/4.2/plugins.png" />
    10192        <h3><?php _e( 'Streamlined plugin updates' ); ?></h3>
    10293        <p><?php _e( 'Goodbye boring loading screen, hello smooth and simple plugin updates. Click <em>Update&nbsp;Now</em> and watch the magic happen.' ); ?></p>
     
    122113            <p><?php
    123114                /* translators: 1: Term splitting guide link */
    124                 printf( __( 'Terms shared across multiple taxonomies will be split when one of them is updated. Find out more in the <a href="%1$s">Plugin Developer Handbook.</a>' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' );
     115                printf( __( 'Terms shared across multiple taxonomies will be split when one of them is updated. Find out more in the <a href="%1$s">Plugin Developer Handbook</a>.' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' );
    125116            ?></p>
    126117
  • trunk/src/wp-admin/credits.php

    r32131 r32277  
    148148                echo '<a href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">';
    149149                $size = 'compact' == $group_data['type'] ? '30' : '60';
    150                 echo '<img src="' . $gravatar . $person_data[1] . '?s=' . $size . '" class="gravatar" alt="' . esc_attr( $person_data[0] ) . '" /></a>' . "\n\t";
     150                echo '<img src="' . $gravatar . $person_data[1] . '?s=' . $size . '" srcset="' . $gravatar . $person_data[1] . '?s=' . $size * 2 . ' 2x" class="gravatar" alt="' . esc_attr( $person_data[0] ) . '" /></a>' . "\n\t";
    151151                echo '<a class="web" href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">' . $person_data[0] . "</a>\n\t";
    152152                if ( ! $compact )
  • trunk/src/wp-admin/css/about.css

    r32260 r32277  
    203203
    204204.about-wrap .feature-video {
     205    position: relative;
    205206    margin: 40px 0;
     207    padding-bottom: 56.25%; /* video is 1280 x 720 */
    206208    width: 100%;
     209    height: 0;
    207210    text-align: center;
    208211}
    209212
    210 .about-wrap .feature-video .wp-video {
    211     margin: 0 auto;
     213.about-wrap .feature-video embed {
     214    position: absolute;
     215    top: 0;
     216    left: 0;
     217    width: 100%;
     218    height: 100%;
    212219}
    213220
Note: See TracChangeset for help on using the changeset viewer.