-<div class="changelog headline-feature dfw">
- <h2><?php _e( 'Distraction-free writing' ); ?></h2>
- <div class="feature-section">
- <div class="dfw-container">
- <img src="//s.w.org/images/core/4.1/focus.png?0" class="base-image" />
- <img src="//s.w.org/images/core/4.1/focus1.png?0" class="overlay-image fade-in" />
- <img src="//s.w.org/images/core/4.1/focus2.png?0" class="overlay-image fade-in" />
- <img src="//s.w.org/images/core/4.1/focus3.png?0" class="overlay-image from-left" />
- </div>
- <h3><em><?php _e( 'Just write.' ); ?></em></h3>
- <p><?php _e( 'Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>distraction-free writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
- </div>
-</div>
-
-<hr />
-
-<div class="changelog feature-list finer-points">
- <h2><?php _e( 'The Finer Points' ); ?></h2>
-
- <div class="feature-section col two-col">
- <div>
- <svg viewBox="-30 -30 160 160"><path d="M57.9,28.9h-7.9c-1.6,0-3.2,0.3-4.7,1c-1.5,0.7-2.7,1.6-3.7,2.7l-4.7-14.2H21.7L9.2,55.3h8.9l3.9-10.5h14.9v21.1H10.5 c-2.9,0-5.4-1-7.4-3.1C1,60.6,0,58.1,0,55.3V18.4c0-2.9,1-5.4,3.1-7.4c2.1-2.1,4.5-3.1,7.4-3.1h36.8c2.9,0,5.4,1,7.4,3.1 c2.1,2.1,3.1,4.5,3.1,7.4V28.9z M34.3,39.5H23.6l5.3-15.4L34.3,39.5z M52.6,34.2h36.8c2.9,0,5.4,1,7.4,3.1c2.1,2.1,3.1,4.5,3.1,7.4 v36.8c0,2.9-1,5.4-3.1,7.4c-2.1,2.1-4.5,3.1-7.4,3.1H52.6c-2.9,0-5.4-1-7.4-3.1c-2.1-2.1-3.1-4.5-3.1-7.4V44.7c0-2.9,1-5.4,3.1-7.4 C47.3,35.2,49.8,34.2,52.6,34.2z M90.8,60.5v-5.7H74.1V43.4H68v11.4H51.3v5.7h6.7c0.3,2.3,1.1,4.7,2.2,7.2c1.2,2.5,2.7,4.7,4.5,6.6 c-2.2,0.9-4.5,1.7-6.9,2.3s-4.1,0.9-5.2,0.9l0.3,1.4c0.2,0.9,0.4,2,0.6,3.3c0.2,1.3,0.3,2.3,0.2,3.1c2.2,0,4.9-0.6,8.1-1.7 c3.2-1.1,6.3-2.6,9.2-4.3c2.9,1.8,6,3.2,9.3,4.3c3.3,1.1,6.1,1.7,8.3,1.7c0-0.5,0-1.1,0.1-1.8c0.1-0.7,0.2-1.4,0.3-2 c0.1-0.7,0.2-1.3,0.3-1.9c0.1-0.6,0.2-1.1,0.3-1.4l0.1-0.6c-1.2,0-3-0.3-5.4-1c-2.5-0.7-4.8-1.4-7.1-2.3c1.8-2,3.3-4.2,4.4-6.6 s1.9-4.8,2.2-7.1H90.8z M70.7,70.7c-2.7-2.5-4.4-5.8-5.3-10.2h11c-0.9,4.4-2.7,7.7-5.3,10.2l-0.2,0.2 C70.8,70.8,70.8,70.7,70.7,70.7z"/></svg>
- <h4><?php _e( 'Choose a language' ); ?></h4>
- <p><?php
- $count = '<span id="translations-count">' . 40 . '</span>';
- $string = __( 'Right now, WordPress %1$s is already translated into %2$s languages, with more always in progress. You can switch to any translation on the <a href="%3$s">General Settings</a> screen.' );
- if ( ! current_user_can( 'manage_options' ) ) {
- $string = strip_tags( $string );
- }
- echo sprintf( $string, $display_version, $count, admin_url( 'options-general.php' ) );
- ?></p>
+ <hr>
+
+ <div class="streamlined-updates feature-section one-col">
+ <h2><?php _e( 'Streamlined Updates' ); ?></h2>
+ <p><?php _e( 'Don’t lose your place: stay on the same page while you update, install, and delete your plugins and themes.' ); ?></p>
+ <?php
+ if ( ! wp_is_mobile() ) {
+ add_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
+ echo wp_video_shortcode( array(
+ 'mp4' => 'https://s.w.org/images/core/4.6/streamlined-updates.mp4',
+ 'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm',
+ 'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1',
+ 'loop' => true,
+ 'autoplay' => true,
+ 'width' => 1050,
+ 'height' => 630,
+ 'class' => 'wp-video-shortcode feature-video',
+ ) );
+ remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
+ } else {
+ echo '<img src="https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/streamlined-updates-1664.png?v1 1664w, https://s.w.org/images/core/4.6/streamlined-updates-200.png?v1 200w, https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1 1057w, https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" />';
+ }
+ ?>