]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/about.php
WordPress 4.7.1
[autoinstalls/wordpress.git] / wp-admin / about.php
index daf9c3a45c21c4a3fedb203a1328d0bbb325b7e2..2904ced5851b669dc8968f9bf5cff47694d850fa 100644 (file)
 /** WordPress Administration Bootstrap */
 require_once( dirname( __FILE__ ) . '/admin.php' );
 
-wp_enqueue_style( 'wp-mediaelement' );
-wp_enqueue_script( 'wp-playlist' );
-add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 );
+if ( ! wp_is_mobile() ) {
+       wp_enqueue_style( 'wp-mediaelement' );
+       wp_enqueue_script( 'wp-mediaelement' );
+       wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
+               'pluginPath'        => includes_url( 'js/mediaelement/', 'relative' ),
+               'pauseOtherPlayers' => '',
+       ) );
+}
+
+$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true';
+$lang_code = str_replace( '_', '-', get_user_locale() );
+list( $lang_code ) = explode( '-', $lang_code );
+if ( 'en' !== $lang_code ) {
+       $video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url );
+}
 
 $title = __( 'About' );
 
-list( $display_version ) = explode( '-', $wp_version );
+list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
 
 include( ABSPATH . 'wp-admin/admin-header.php' );
 ?>
-<!--[if lt IE 9]><script>document.createElement('audio');document.createElement('video');</script><![endif]-->
-<div class="wrap about-wrap">
-
-<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
-
-<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s has lots of refinements we think you&#8217;ll love.' ), $display_version ); ?></div>
-
-<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
-
-<h2 class="nav-tab-wrapper">
-       <a href="about.php" class="nav-tab nav-tab-active">
-               <?php _e( 'What&#8217;s New' ); ?>
-       </a><a href="credits.php" class="nav-tab">
-               <?php _e( 'Credits' ); ?>
-       </a><a href="freedoms.php" class="nav-tab">
-               <?php _e( 'Freedoms' ); ?>
-       </a>
-</h2>
-
-<div class="changelog">
-       <div class="about-overview">
-       <?php
-       if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?>
-               <embed src="//v0.wordpress.com/player.swf?v=1.03" type="application/x-shockwave-flash" width="640" height="360" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=sAiXhCfV&amp;isDynamicSeeking=true" title=""></embed>
-       <?php else : ?>
-               <img class="about-overview-img" src="//s.w.org/images/core/3.9/overview.png?0" />
-       <?php endif; ?>
-       </div>
-       <h2 class="about-headline-callout"><?php _e( 'A smoother media editing&nbsp;experience' ); ?></h2>
-       <div class="feature-section col three-col">
-               <div class="col-1">
-                       <img src="//s.w.org/images/core/3.9/editor.jpg?0" />
-                       <h4><?php _e( 'Improved visual editing' ); ?></h4>
-                       <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' );
-                               echo ' ' . __( 'You can paste into the visual editor from your word processor without wasting time to clean up messy styling. (Yeah, we&#8217;re talking about you, Microsoft Word.)' ); ?></p>
+       <div class="wrap about-wrap">
+               <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
+
+               <p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s helps you get your site set up the way you want it.' ), $display_version ); ?></p>
+               <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
+
+               <h2 class="nav-tab-wrapper wp-clearfix">
+                       <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
+                       <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
+                       <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
+               </h2>
+
+               <div class="changelog point-releases">
+                       <h3><?php _e( 'Maintenance and Security Release' ); ?></h3>
+                       <p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
+                                       '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 62 ), '4.7.1', number_format_i18n( 62 ) ); ?>
+                               <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.7.1' ); ?>
+                       </p>
                </div>
-               <div class="col-2">
-                       <img src="//s.w.org/images/core/3.9/image.gif?0" />
-                       <h4><?php _e( 'Edit images easily' ); ?></h4>
-                       <p><?php _e( 'With quicker access to crop and rotation tools, it&#8217;s now much easier to edit your images while editing posts. You can also scale images directly in the editor to find just the right fit.' ); ?></p>
+
+               <div class="headline-feature feature-video">
+                       <iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
+                       <script src="https://videopress.com/videopress-iframe.js"></script>
                </div>
-               <div class="col-3 last-feature">
-                       <img src="//s.w.org/images/core/3.9/drop.jpg?0" />
-                       <h4><?php _e( 'Drag and drop your images' ); ?></h4>
-                       <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p>
+
+               <hr />
+
+               <div class="feature-section one-col">
+                       <h2><?php _e( 'Presenting Twenty Seventeen' ); ?></h2>
+                       <p class="lead-description"><?php _e( 'A brand new default theme brings your site to life with immersive featured images and video headers.' ); ?></p>
+                       <picture>
+                               <source media="(min-width: 450px)" srcset="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v2 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v2 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v2 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v2 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v2 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v2 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v2 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v2 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v2 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v2 1595w" 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">
+                               <source srcset="https://s.w.org/images/core/4.7/twenty-seventeen-mobile-564.jpg?v2 564w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-280.jpg?v2 280w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-372.jpg?v2 372w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-454.jpg?v2 454w, https://s.w.org/images/core/4.7/twenty-seventeen-mobile-541.jpg?v2 541w" sizes="calc(100vw - 40px)">
+                               <img src="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2" srcset="https://s.w.org/images/core/4.7/twenty-seventeen-1600.jpg?v2 1600w, https://s.w.org/images/core/4.7/twenty-seventeen-280.jpg?v2 280w, https://s.w.org/images/core/4.7/twenty-seventeen-493.jpg?v2 493w, https://s.w.org/images/core/4.7/twenty-seventeen-663.jpg?v2 663w, https://s.w.org/images/core/4.7/twenty-seventeen-804.jpg?v2 804w, https://s.w.org/images/core/4.7/twenty-seventeen-928.jpg?v2 928w, https://s.w.org/images/core/4.7/twenty-seventeen-1058.jpg?v2 1058w, https://s.w.org/images/core/4.7/twenty-seventeen-1173.jpg?v2 1173w, https://s.w.org/images/core/4.7/twenty-seventeen-1299.jpg?v2 1299w, https://s.w.org/images/core/4.7/twenty-seventeen-1410.jpg?v2 1410w, https://s.w.org/images/core/4.7/twenty-seventeen-1513.jpg?v2 1513w, https://s.w.org/images/core/4.7/twenty-seventeen-1595.jpg?v2 1595w" 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" alt="" />
+                       </picture>
+                       <p><?php _e( 'Twenty Seventeen focuses on business sites and features a customizable front page with multiple sections. Personalize it with widgets, navigation, social menus, a logo, custom colors, and more. Our default theme for 2017 works great in many languages, on any device, and for a wide range of users.' ); ?></p>
                </div>
-       </div>
 
-       <hr>
+               <hr />
 
-       <div class="feature-section col two-col">
-               <div class="col-1">
-                       <img src="//s.w.org/images/core/3.9/gallery.jpg?0" />
-                       <h4><?php _e( 'Gallery previews' ); ?></h4>
-                       <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p>
+               <div class="feature-section one-col">
+                       <h2><?php _e( 'Your Site, Your Way' ); ?></h2>
+                       <p class="lead-description"><?php _e( 'WordPress 4.7 adds new features to the customizer to help take you through the initial setup of a theme, with non-destructive live previews of all your changes in one uninterrupted workflow.' ); ?></p>
                </div>
-               <div class="col-2 last-feature">
-                       <div class="wp-playlist wp-audio-playlist wp-playlist-light">
-                               <div class="wp-playlist-current-item"></div>
-                               <audio controls="controls" preload="metadata"></audio>
-                               <div class="wp-playlist-next"></div>
-                               <div class="wp-playlist-prev"></div>
+
+               <div class="feature-section two-col">
+                       <div class="col">
+                               <h3><?php _e( 'Theme Starter Content' ); ?></h3>
+                               <p><?php _e( 'To help give you a solid base to build from, individual themes can provide starter content that appears when you go to customize your brand new site. This can range from placing a business information widget in the best location to providing a sample menu with social icon links to a static front page complete with beautiful images. Don&#8217;t worry - nothing new will appear on the live site until you&#8217;re ready to save and publish your initial theme setup.' ); ?></p>
+                       </div>
+                       <div class="col">
                                <?php
-                               $audio_icon_js = esc_js( includes_url( 'images/media/audio.png' ) );
-                               $wp_host = '//s.w.org/images/core/3.9/';
+                               echo wp_video_shortcode( array(
+                                       'mp4'      => 'https://s.w.org/images/core/4.7/starter-content-v1.mp4',
+                                       'poster'   => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2',
+                                       'loop'     => true,
+                                       'autoplay' => true,
+                                       'width'    => 1140,
+                                       'height'   => 624,
+                                       // 'class'    => 'wp-video-shortcode feature-video',
+                               ) );
                                ?>
-
-                               <script type="application/json">{
-                                       "type":"audio",
-                                       "tracklist":true,
-                                       "tracknumbers":true,
-                                       "images":true,
-                                       "artists":true,
-                                       "tracks":[{
-                                               "src":"<?php echo $wp_host ?>AintMisbehavin.mp3",
-                                               "type":"audio\/mpeg","title":"Ain't Misbehavin'","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Louis Armstrong & His Orchestra",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"3:21"
-                                               },
-                                               "image":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240},
-                                               "thumb":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240}
-                                       },
-                                       {
-                                               "src":"<?php echo $wp_host ?>JellyRollMorton-BuddyBoldensBlues.mp3",
-                                               "type":"audio\/mpeg","title":"Buddy Bolden's Blues","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Jelly Roll Morten",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"2:09"
-                                               },
-                                               "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
-                                               "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
-                                       },
-                                       {
-                                               "src":"<?php echo $wp_host ?>DavenportBlues.mp3",
-                                               "type":"audio\/mpeg","title":"Davenport Blues","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Bix Beiderbecke & His Rhythm Jugglers",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"2:48"
-                                               },
-                                               "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
-                                               "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
-                                       },
-                                       {
-                                               "src":"<?php echo $wp_host ?>WolverineBlues.mp3",
-                                               "type":"audio\/mpeg","title":"Wolverine Blues","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Benny Goodman's Boys",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"2:55"
-                                               },
-                                               "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
-                                               "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
-                                       },
-                                       {
-                                               "src":"<?php echo $wp_host ?>Louisiana_Five-Dixie_Blues-1919.mp3",
-                                               "type":"audio\/mpeg","title":"Dixie Blues","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Louisiana Five",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"3:01"
-                                               },
-                                               "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
-                                               "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
-                                       },
-                                       {
-                                               "src":"<?php echo $wp_host ?>Johnny_Hodges_Orchestra-Squaty_Roo-1941.mp3",
-                                               "type":"audio\/mpeg","title":"Squaty Roo","caption":"","description":"",
-                                               "meta":{
-                                                       "artist":"Johnny Hodges Orchestra",
-                                                       "album":"78 RPMs & Cylinder Recordings",
-                                                       "genre":"Jazz",
-                                                       "length_formatted":"2:24"
-                                               },
-                                               "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
-                                               "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
-                                       }]
-                               }</script>
                        </div>
-                       <h4><?php _e( 'Do more with audio and video' ); ?></h4>
-                       <p><?php _e( 'Images have galleries; now we&#8217;ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p>
                </div>
-       </div>
-</div>
-
-<hr>
 
-<div class="changelog customize">
-       <div class="feature-section col two-col">
-               <div>
-                       <?php
+               <div class="feature-section two-col">
+                       <div class="col">
+                               <h3><?php _e( 'Edit Shortcuts' ); ?></h3>
+                               <?php
+                               echo wp_video_shortcode( array(
+                                       'mp4'      => 'https://s.w.org/images/core/4.7/edit-shortcuts-v1.mp4',
+                                       'poster'   => 'https://s.w.org/images/core/4.7/edit-shortcuts.jpg?v2',
+                                       'loop'     => true,
+                                       'autoplay' => true,
+                                       'width'    => 2520,
+                                       'height'   => 1454,
+                                       // 'class'    => 'wp-video-shortcode feature-video',
+                               ) );
+                               ?>
+                               <p><?php _e( 'Visible icons appear to show you which parts of your site can be customized while live previewing. Click on a shortcut and get straight to editing. Paired with starter content, getting started with customizing your site is faster than ever.' );?></p>
+                       </div>
+                       <div class="col">
+                               <h3><?php _e( 'Video Headers' ); ?></h3>
+                               <?php
                                echo wp_video_shortcode( array(
-                                       'mp4'      => '//s.w.org/images/core/3.9/widgets.mp4',
-                                       'ogv'      => '//s.w.org/images/core/3.9/widgets.ogv',
-                                       'webm'     => '//s.w.org/images/core/3.9/widgets.webm',
+                                       'mp4'      => 'https://s.w.org/images/core/4.7/header-video-v1.mp4',
+                                       'poster'   => 'https://s.w.org/images/core/4.7/header-video.jpg?v2',
                                        'loop'     => true,
                                        'autoplay' => true,
-                                       'width'    => 499
+                                       'width'    => 2520,
+                                       'height'   => 1454,
+                                       // 'class'    => 'wp-video-shortcode feature-video',
                                ) );
-                       ?>
-                       <h4><?php _e( 'Live widget and header previews' ); ?></h4>
-                       <p><?php _e( 'Add, edit, and rearrange your site&#8217;s widgets right in the theme customizer. No &#8220;save and surprise&#8221; &mdash; preview your changes live and only save them when you&#8217;re ready.' ); ?></p>
-                       <p><?php _e( 'The improved header image tool also lets you upload, crop, and manage headers while customizing your theme.' ); ?></p>
+                               ?>
+                               <p><?php _e( 'Sometimes a big atmospheric video as a moving header image is just what you need to showcase your wares; go ahead and try it out with Twenty Seventeen. Need some video inspiration? Try searching for sites with video headers available for download and use.' ); ?></p>
+                       </div>
                </div>
-               <div class="last-feature">
-                       <img src="//s.w.org/images/core/3.9/theme.jpg?0" />
-                       <h4><?php _e( 'Stunning new theme browser' ); ?></h4>
-                       <p><?php _e( 'Looking for a new theme should be easy and fun. Lose yourself in the boundless supply of free WordPress.org themes with the beautiful new theme browser.' ); ?></p>
-               <?php if ( current_user_can( 'install_themes' ) ) { ?>
-                       <p><a href="<?php echo network_admin_url( 'theme-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse Themes' ); ?></a></p>
-               <?php } ?>
+
+               <div class="feature-section two-col">
+                       <div class="col">
+                               <h3><?php _e( 'Smoother Menu Building' ); ?></h3>
+                               <img src="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/nav-menus-760.jpg?v2 760w, https://s.w.org/images/core/4.7/nav-menus-280.jpg?v2 280w, https://s.w.org/images/core/4.7/nav-menus-536.jpg?v2 536w, https://s.w.org/images/core/4.7/nav-menus-745.jpg?v2 745w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
+                               <p><?php _e( 'Many menus for sites contain links to the pages of your site, but what happens when you don&#8217;t have any pages yet? Now you can add new pages while building menus instead of leaving the customizer and abandoning your changes. Once you&#8217;ve published your customizations, you&#8217;ll have new pages ready for you to fill with content.' );?></p>
+                       </div>
+                       <div class="col">
+                               <h3><?php _e( 'Custom CSS' ); ?></h3>
+                               <img src="https://s.w.org/images/core/4.7/css-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/css-760.jpg?v2 760w, https://s.w.org/images/core/4.7/css-280.jpg?v2 280w, https://s.w.org/images/core/4.7/css-547.jpg?v2 547w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
+                               <p><?php _e( 'Sometimes you just need a few visual tweaks to make your site perfect. WordPress 4.7 allows you to add custom CSS and instantly see how your changes affect your site. The live preview allows you to work quickly without page refreshes slowing you down.' ); ?></p>
+                       </div>
                </div>
-       </div>
-</div>
 
-<hr>
+               <hr />
 
-<div class="changelog under-the-hood">
-       <h3><?php _e( 'Under the Hood' ); ?></h3>
+               <div class="feature-section no-heading two-col">
+                       <div class="col">
+                               <h3><?php _e( 'PDF Thumbnail Previews' ); ?></h3>
+                               <img src="https://s.w.org/images/core/4.7/pdf-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/pdf-760.jpg?v2 760w, https://s.w.org/images/core/4.7/pdf-280.jpg?v2 280w, https://s.w.org/images/core/4.7/pdf-412.jpg?v2 412w, https://s.w.org/images/core/4.7/pdf-516.jpg?v2 516w, https://s.w.org/images/core/4.7/pdf-615.jpg?v2 615w, https://s.w.org/images/core/4.7/pdf-716.jpg?v2 716w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
+                               <p><?php _e( 'Managing your document collection is easier with WordPress 4.7. Uploading PDFs will generate thumbnail images so you can more easily distinguish between all your documents.' ); ?></p>
+                       </div>
+                       <div class="col">
+                               <h3><?php _e( 'Dashboard in your language' ); ?></h3>
+                               <img src="https://s.w.org/images/core/4.7/language-760.jpg?v2" srcset="https://s.w.org/images/core/4.7/language-760.jpg?v2 760w, https://s.w.org/images/core/4.7/language-280.jpg?v2 280w, https://s.w.org/images/core/4.7/language-568.jpg?v2 568w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px" alt="" />
+                               <p><?php _e( 'Just because your site is in one language doesn&#8217;t mean that everybody helping manage it prefers that language for their admin. Add more languages to your site and a user language option will show up in your user&#8217;s profiles.' );?></p>
+                       </div>
+               </div>
 
-       <div class="feature-section col three-col">
-               <div>
-                       <h4><?php _e( 'Semantic Captions and Galleries' ); ?></h4>
-                       <p><?php _e( 'Theme developers have new options for images and galleries that use intelligent HTML5 markup.' ); ?></p>
+               <hr />
 
-                       <h4><?php _e( 'Inline Code Documentation' ); ?></h4>
-                       <p><?php _e( 'Every action and filter hook in WordPress is now documented, along with expanded documentation for the media manager and customizer APIs.' ); ?></p>
+               <div class="rest-api feature-section one-col">
+                       <h2><?php _e( 'Introducing REST API Content Endpoints' ); ?></h2>
+                       <p class="lead-description"><?php _e( 'WordPress 4.7 comes with REST API endpoints for posts, comments, terms, users, meta, and settings.' ); ?></p>
+                       <img src="https://s.w.org/images/core/4.7/api-1559.jpg?v2" srcset="https://s.w.org/images/core/4.7/api-2100.jpg?v2 2100w, https://s.w.org/images/core/4.7/api-280.jpg?v2 280w, https://s.w.org/images/core/4.7/api-1034.jpg?v2 1034w, https://s.w.org/images/core/4.7/api-1559.jpg?v2 1559w, https://s.w.org/images/core/4.7/api-2032.jpg?v2 2032w" 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" alt="" />
+                       <p><?php
+                               printf(
+                                       /* translators: %s: https://developer.wordpress.org/rest-api/  */
+                                       __( 'Content endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with sites through plugins, themes, apps, and beyond. Ready to get started with development? <a href="%s">Check out the REST API reference.</a>' ),
+                                       'https://developer.wordpress.org/rest-api/reference/'
+                               );
+                       ?></p>
                </div>
-               <div>
-                       <h4><?php _e( 'External Libraries' ); ?></h4>
-                       <p><?php _e( 'Updated libraries: TinyMCE&nbsp;4, jQuery&nbsp;1.11, Backbone&nbsp;1.1, Underscore&nbsp;1.6, Plupload&nbsp;2, MediaElement&nbsp;2.14, Masonry&nbsp;3.' ); ?></p>
 
-                       <h4><?php _e( 'Improved Database Layer' ); ?></h4>
-                       <p><?php _e( 'Database connections are now more fault-resistant and have improved compatibility with PHP 5.5 and MySQL 5.6.' ); ?></p>
-               </div>
-               <div class="last-feature">
-                       <h4><?php _e( 'New Utility Functions' ); ?></h4>
-                       <p><?php _e( 'Identify a hook in progress with <code>doing_action()</code> and <code>doing_filter()</code>, and manipulate custom image sizes with <code>has_image_size()</code> and <code>remove_image_size()</code>.' ); ?></p>
-                       <p><?php _e( 'Plugins and themes registering custom image sizes can now register suggested cropping points. For example, prevent heads from being cropped out of photos with a top-center crop.' ); ?></p>
+               <hr />
+
+               <div class="changelog">
+                       <h2><?php
+                               printf(
+                                       /* translators: %s: smiling face with smiling eyes emoji */
+                                       __( 'Even More Developer Happiness %s' ),
+                                       '&#x1F60A'
+                               );
+                       ?></h2>
+
+                       <div class="under-the-hood three-col">
+                               <div class="col">
+                                       <h3><a href="https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/"><?php _e( 'Post Type Templates' ); ?></a></h3>
+                                       <p><?php _e( 'By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy.' ); ?></p>
+                               </div>
+                               <div class="col">
+                                       <h3><?php _e( 'More Theme API Goodies' ); ?></h3>
+                                       <p><?php
+                                               printf(
+                                                       /* translators: %s: https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/  */
+                                                       __( 'WordPress 4.7 includes <a href="%s">new functions, hooks, and behavior</a> for theme developers.' ),
+                                                       'https://make.wordpress.org/core/2016/09/09/new-functions-hooks-and-behaviour-for-theme-developers-in-wordpress-4-7/'
+                                               );
+                                       ?></p>
+                               </div>
+                               <div class="col">
+                                       <h3><a href="https://make.wordpress.org/core/2016/10/04/custom-bulk-actions/"><?php _e( 'Custom Bulk Actions' ); ?></a></h3>
+                                       <p><?php _e( 'List tables, now with more than bulk edit and delete.' ); ?></p>
+                               </div>
+                       </div>
+
+                       <div class="under-the-hood three-col">
+                               <div class="col">
+                                       <h3><a href="https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/"><code>WP_Hook</code></a></h3>
+                                       <p><?php
+                                               printf(
+                                                       /* translators: %s: https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/  */
+                                                       __( 'The code that lies beneath actions and filters has been overhauled and modernized, fixing bugs along the way.' ),
+                                                       'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/'
+                                               );
+                                       ?></p>
+                               </div>
+                               <div class="col">
+                                       <h3><?php _e( 'Settings Registration API' ); ?></h3>
+                                       <p><?php
+                                               printf(
+                                                       /* translators: 1: register_setting(), 2: https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/ */
+                                                       __( '%1$s <a href="%2$s">has been enhanced</a> to include type, description, and REST API visibility.' ),
+                                                       '<code>register_setting()</code>',
+                                                       'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/'
+                                               );
+                                       ?></p>
+                               </div>
+                               <div class="col">
+                                       <h3><a href="https://make.wordpress.org/core/2016/10/12/customize-changesets-technical-design-decisions/"><?php _e( 'Customize Changesets' ); ?></a></h3>
+                                       <p><?php _e( 'Customize changesets make changes in the customizer persistent, like autosave drafts. They also make exciting new features like starter content possible.' ); ?></p>
+                               </div>
+                       </div>
+
                </div>
-</div>
 
-<hr>
+               <hr />
 
-<div class="return-to-dashboard">
-       <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
-       <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
-               is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
-       ?></a> |
-       <?php endif; ?>
-       <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
-               is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
-</div>
+               <div class="return-to-dashboard">
+                       <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
+                               <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
+                                       <?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
+                               </a> |
+                       <?php endif; ?>
+                       <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
+               </div>
 
-</div>
+       </div>
 <?php
 
 include( ABSPATH . 'wp-admin/admin-footer.php' );
@@ -249,13 +253,19 @@ include( ABSPATH . 'wp-admin/admin-footer.php' );
 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
 return;
 
-_n_noop( 'Maintenance Release', 'Maintenance Releases' );
-_n_noop( 'Security Release', 'Security Releases' );
-_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
+__( 'Maintenance Release' );
+__( 'Maintenance Releases' );
+
+__( 'Security Release' );
+__( 'Security Releases' );
+
+__( 'Maintenance and Security Release' );
+__( 'Maintenance and Security Releases' );
 
-/* translators: 1: WordPress version number. */
-_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
-         '<strong>Version %1$s</strong> addressed some security issues.' );
+/* translators: %s: WordPress version number */
+__( '<strong>Version %s</strong> addressed one security issue.' );
+/* translators: %s: WordPress version number */
+__( '<strong>Version %s</strong> addressed some security issues.' );
 
 /* translators: 1: WordPress version number, 2: plural number of bugs. */
 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
@@ -269,4 +279,5 @@ _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$
 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
 
+/* translators: %s: Codex URL */
 __( 'For more information, see <a href="%s">the release notes</a>.' );