<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[29706] trunk/src/wp-admin: Final about page for 4.0.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/29706">29706</a></dd>
<dt>Author</dt> <dd>helen</dd>
<dt>Date</dt> <dd>2014-09-04 15:04:02 +0000 (Thu, 04 Sep 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Final about page for 4.0. Enjoy the videos!

props ryelle, melchoyce, smashcut, wonderboymusic, helen.
fixes <a href="http://core.trac.wordpress.org/ticket/29494">#29494</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminaboutphp">trunk/src/wp-admin/about.php</a></li>
<li><a href="#trunksrcwpadmincssaboutcss">trunk/src/wp-admin/css/about.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminaboutphp"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/about.php (29705 => 29706)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/about.php     2014-09-04 14:38:17 UTC (rev 29705)
+++ trunk/src/wp-admin/about.php        2014-09-04 15:04:02 UTC (rev 29706)
</span><span class="lines">@@ -11,7 +11,10 @@
</span><span class="cx"> 
</span><span class="cx"> wp_enqueue_style( 'wp-mediaelement' );
</span><span class="cx"> wp_enqueue_script( 'wp-mediaelement' );
</span><del>-add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 );
</del><ins>+wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
+       'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
+       'pauseOtherPlayers' => ''
+) );
</ins><span class="cx"> 
</span><span class="cx"> $title = __( 'About' );
</span><span class="cx"> 
</span><span class="lines">@@ -40,29 +43,44 @@
</span><span class="cx"> 
</span><span class="cx"> <div class="changelog">
</span><span class="cx">  <div class="about-overview">
</span><del>-               <h2 class="about-headline-callout"><?php _e( 'Manage your media with style' ); ?></h2>
-               <!-- media-grid-cropped.png -->
-               <img class="about-overview-img" src="https://i.cloudup.com/gFjdHZjkbI.png" />
-               <p><?php _e( 'Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap.' ); ?></p>
</del><ins>+                <?php if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?>
+                       <embed src="//v.wordpress.com/bUdzKMro" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true" wmode="transparent"></embed>
+               <?php else : ?>
+                       <img class="about-overview-img" src="//s.w.org/images/core/4.0/wp40.png" width="640" height="360" />
+               <?php endif; ?>
</ins><span class="cx">   </div>
</span><span class="cx"> 
</span><span class="cx">  <hr />
</span><span class="cx"> 
</span><span class="cx">  <div class="feature-section col two-col">
</span><span class="cx">          <div class="col-1">
</span><del>-                       <!-- oembed.mp4 -->
-                       <?php
-                               echo wp_video_shortcode( array(
-                                       'mp4'      => 'https://i.cloudup.com/IdZ7t3ixES.mp4',
-                                       // 'ogv'      => '//s.w.org/images/core/3.9/widgets.ogv',
-                                       // 'webm'     => '//s.w.org/images/core/3.9/widgets.webm',
-                                       'loop'     => true,
-                                       'autoplay' => true,
-                                       'width'    => 499
-                               ) );
-                       ?>
</del><ins>+                        <h3><?php _e( 'Manage your media with style' ); ?></h3>
+                       <p><?php _e( 'Explore your uploads in a beautiful, endless grid. A new details preview makes viewing and editing any amount of media in sequence a snap.' ); ?></p>
</ins><span class="cx">           </div>
</span><span class="cx">          <div class="col-2 last-feature">
</span><ins>+                       <img src="//s.w.org/images/core/4.0/media.jpg" />
+               </div>
+       </div>
+
+       <hr />
+
+       <div class="feature-section col two-col">
+               <div class="col-1">
+                       <div class="about-video about-video-embed">
+                               <?php
+                                       echo wp_video_shortcode( array(
+                                               'mp4'      => '//s.w.org/images/core/4.0/embed.mp4',
+                                               'ogv'      => '//s.w.org/images/core/4.0/embed.ogv',
+                                               'webm'      => '//s.w.org/images/core/4.0/embed.webm',
+                                               'loop'     => true,
+                                               'autoplay' => true,
+                                               'width'    => 500,
+                                               'height'   => 352
+                                       ) );
+                               ?>
+                       </div>
+               </div>
+               <div class="col-2 last-feature">
</ins><span class="cx">                   <h3><?php _e( 'Working with embeds has never been easier' ); ?></h3>
</span><span class="cx">                  <p><?php _e( 'Paste in a YouTube URL on a new line, and watch it magically become an embedded video. Now try it with a tweet. Oh yeah &#8212; embedding has become a visual experience. The editor shows a true preview of your embedded content, saving you time and giving you confidence.' ); ?></p>
</span><span class="cx">                  <p><?php _e( 'We&#8217;ve expanded the services supported by default, too &#8212; you can embed videos from CollegeHumor, playlists from YouTube, and talks from TED. <a href="http://codex.wordpress.org/Embeds">Check out all of the embeds</a> that WordPress supports.' ); ?></p>
</span><span class="lines">@@ -77,8 +95,19 @@
</span><span class="cx">                  <p><?php _e( 'Writing and editing is smoother and more immersive with an editor that expands to fit your content as you write, and keeps the formatting tools available at all times.' ); ?></p>
</span><span class="cx">          </div>
</span><span class="cx">          <div class="col-2 last-feature">
</span><del>-                       <!-- focus.png -->
-                       <img src="https://i.cloudup.com/DhokGXMLmR.png" />
</del><ins>+                        <div class="about-video about-video-focus">
+                               <?php
+                                       echo wp_video_shortcode( array(
+                                               'mp4'      => '//s.w.org/images/core/4.0/focus.mp4',
+                                               'ogv'      => '//s.w.org/images/core/4.0/focus.ogv',
+                                               'webm'      => '//s.w.org/images/core/4.0/focus.webm',
+                                               'loop'     => true,
+                                               'autoplay' => true,
+                                               'width'    => 500,
+                                               'height'   => 281
+                                       ) );
+                               ?>
+                       </div>
</ins><span class="cx">           </div>
</span><span class="cx">  </div>
</span><span class="cx"> 
</span><span class="lines">@@ -86,11 +115,10 @@
</span><span class="cx"> 
</span><span class="cx">  <div class="feature-section col two-col">
</span><span class="cx">          <div class="col-1">
</span><del>-                       <!-- plugins.png -->
-                       <img src="https://i.cloudup.com/6hlYGuLiTq.png" />
</del><ins>+                        <img src="//s.w.org/images/core/4.0/plugins.png" />
</ins><span class="cx">           </div>
</span><span class="cx">          <div class="col-2 last-feature">
</span><del>-                       <h3><?php _e( 'Finding the right plugin' ); ?></h3>
</del><ins>+                        <h3 class="higher"><?php _e( 'Finding the right plugin' ); ?></h3>
</ins><span class="cx">                   <p><?php _e( 'There are more than 30,000 free and open source plugins in the WordPress plugin directory. WordPress 4.0 makes it easier to find the right one for your needs, with new metrics, improved search, and a more visual browsing experience.' ); ?></p>
</span><span class="cx">                  <a href="<?php echo admin_url( 'plugin-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse plugins' ); ?></a>
</span><span class="cx">          </div>
</span></span></pre></div>
<a id="trunksrcwpadmincssaboutcss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/about.css (29705 => 29706)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/about.css 2014-09-04 14:38:17 UTC (rev 29705)
+++ trunk/src/wp-admin/css/about.css    2014-09-04 15:04:02 UTC (rev 29706)
</span><span class="lines">@@ -80,6 +80,10 @@
</span><span class="cx">  line-height: 1.5em;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.about-wrap h3.higher {
+       margin-top: .5em;
+}
+
</ins><span class="cx"> .customize h3 {
</span><span class="cx">  margin-top: 1.75em;
</span><span class="cx">  text-align: center;
</span><span class="lines">@@ -174,6 +178,7 @@
</span><span class="cx"> 
</span><span class="cx"> .about-overview {
</span><span class="cx">  margin-top: 40px;
</span><ins>+       margin-bottom: 40px;
</ins><span class="cx">   text-align: center;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -192,8 +197,8 @@
</span><span class="cx"> 
</span><span class="cx"> .about-wrap .feature-section.two-col > div {
</span><span class="cx">  position: relative;
</span><del>-       width: 47.5%;
-       margin-right: 4.999999999%;
</del><ins>+        width: 47.6%;
+       margin-right: 4.799999999%;
</ins><span class="cx">   float: left;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -226,6 +231,31 @@
</span><span class="cx">  max-width: 20%;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/* responsive videos for 4.0 */
+.about-video {
+       position: relative;
+       width: 100%;
+       height: 0;
+}
+
+.about-video-embed {
+       padding-bottom: 70.4%; /* 352 / 500 */
+}
+
+.about-video-focus {
+       padding-bottom: 56.2%; /* 281 / 500 */
+}
+
+.about-video .wp-video,
+.about-video .mejs-container,
+.about-video video {
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100% !important;
+       height: 100% !important;
+}
+
</ins><span class="cx"> .about-wrap .changelog li {
</span><span class="cx">  list-style-type: disc;
</span><span class="cx">  margin-left: 3em;
</span><span class="lines">@@ -347,6 +377,24 @@
</span><span class="cx"> 
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+/* Responsive release video */
+@media screen and ( max-width: 710px ) {
+       .about-overview {
+               position: relative;
+               padding-bottom: 56.25%; /* 360 / 640 */
+               width: 100%;
+               height: 0;
+       }
+
+       .about-overview embed {
+               position: absolute;
+               top: 0;
+               left: 0;
+               width: 100%;
+               height: 100%;
+       }
+}
+
</ins><span class="cx"> @media only screen and (max-width: 500px) {
</span><span class="cx">  .about-wrap {
</span><span class="cx">          margin-right: 20px;
</span><span class="lines">@@ -368,6 +416,17 @@
</span><span class="cx">          width: 100%;
</span><span class="cx">  }
</span><span class="cx"> 
</span><ins>+       .about-wrap h2.nav-tab-wrapper {
+               padding-left: 0;
+               border-bottom: 0;
+       }
+
+       .about-wrap h2 .nav-tab {
+               margin-top: 10px;
+               margin-right: 10px;
+               border-bottom: 1px solid #ccc;
+       }
+
</ins><span class="cx">   .about-wrap .feature-section.three-col div {
</span><span class="cx">          width: 100%;
</span><span class="cx">          float: none;
</span></span></pre>
</div>
</div>

</body>
</html>