About page: Finalize media for 4.2.

props ocean90, Nao.
fixes #31929.

Built from https://develop.svn.wordpress.org/trunk@32277


git-svn-id: http://core.svn.wordpress.org/trunk@32248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-04-23 15:43:25 +00:00
parent de1a9710ca
commit 25a0ca9f69
7 changed files with 29 additions and 24 deletions

View File

@ -22,7 +22,6 @@ list( $display_version ) = explode( '-', $wp_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>
@ -42,15 +41,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</h2>
<div class="headline-feature feature-video">
<?php
// echo wp_video_shortcode( array(
// // 'mp4' => '//s.w.org/images/core/3.9/widgets.mp4',
// 'ogv' => '//videos.files.wordpress.com/bUdzKMro/wordpress-4-0_fmt1.ogv',
// // 'webm' => '//s.w.org/images/core/3.9/widgets.webm',
// 'loop' => false,
// ) );
?>
<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>
<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>
</div>
<hr />
@ -67,13 +58,13 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
<div class="col">
<img src="https://cldup.com/xMJ2QCxvcz.jpg" />
<img src="//s.w.org/images/core/4.2/press-this.jpg" />
</div>
</div>
<div class="feature-section two-col">
<div class="col">
<img src="https://cldup.com/q-2svtgKe1.jpg" />
<img src="//s.w.org/images/core/4.2/unicode.png" />
</div>
<div class="col">
<h3><?php _e( 'Extended character support' ); ?></h3>
@ -87,17 +78,17 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="changelog feature-section three-col">
<div>
<img src="https://cldup.com/LKcPHn8rdr.png" />
<img src="//s.w.org/images/core/4.2/theme-switcher.png" />
<h3><?php _e( 'Switch themes in the Customizer' ); ?></h3>
<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>
</div>
<div>
<img src="https://cldup.com/h0VOskQA1C.png" />
<img src="//s.w.org/images/core/4.2/embeds.png" />
<h3><?php _e( 'Even more embeds' ); ?></h3>
<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>
</div>
<div class="last-feature">
<img src="https://cldup.com/1_8tBZpvva.png" />
<img src="//s.w.org/images/core/4.2/plugins.png" />
<h3><?php _e( 'Streamlined plugin updates' ); ?></h3>
<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>
</div>
@ -121,7 +112,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h4><?php _e( 'Shared term splitting' ); ?></h4>
<p><?php
/* translators: 1: Term splitting guide link */
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/' );
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/' );
?></p>
<h4><?php _e( 'Complex query ordering' ); ?></h4>

View File

@ -147,7 +147,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
echo '<li class="wp-person" id="wp-person-' . $person_data[2] . '">' . "\n\t";
echo '<a href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">';
$size = 'compact' == $group_data['type'] ? '30' : '60';
echo '<img src="' . $gravatar . $person_data[1] . '?s=' . $size . '" class="gravatar" alt="' . esc_attr( $person_data[0] ) . '" /></a>' . "\n\t";
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";
echo '<a class="web" href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">' . $person_data[0] . "</a>\n\t";
if ( ! $compact )
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";

View File

@ -202,13 +202,20 @@
/* 2.2 - Structure */
.about-wrap .feature-video {
position: relative;
margin: 40px 0;
padding-bottom: 56.25%; /* video is 1280 x 720 */
width: 100%;
height: 0;
text-align: center;
}
.about-wrap .feature-video .wp-video {
margin: 0 auto;
.about-wrap .feature-video embed {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
.about-wrap .featured-image {

View File

@ -202,13 +202,20 @@
/* 2.2 - Structure */
.about-wrap .feature-video {
position: relative;
margin: 40px 0;
padding-bottom: 56.25%; /* video is 1280 x 720 */
width: 100%;
height: 0;
text-align: center;
}
.about-wrap .feature-video .wp-video {
margin: 0 auto;
.about-wrap .feature-video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.about-wrap .featured-image {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-RC4-32276';
$wp_version = '4.2-RC4-32277';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.