From ffe23d2f932c56ad5fbfde7173659bf5fa06ff15 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Thu, 23 Apr 2015 15:42:24 +0000 Subject: [PATCH] About page: Finalize media for 4.2. props ocean90, Nao. fixes #31929. git-svn-id: https://develop.svn.wordpress.org/trunk@32277 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 23 +++++++---------------- src/wp-admin/credits.php | 2 +- src/wp-admin/css/about.css | 11 +++++++++-- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 298c145409..57c00d0cd7 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -22,7 +22,6 @@ list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> -

@@ -42,15 +41,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- '//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, - // ) ); - ?> - +

@@ -67,13 +58,13 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- +
- +

@@ -87,17 +78,17 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- +

your content, before it debuts on your site. ' ); ?>

- +

- +

Update Now and watch the magic happen.' ); ?>

@@ -121,7 +112,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

Plugin Developer Handbook.' ), '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 Plugin Developer Handbook.' ), 'https://developer.wordpress.org/plugins/taxonomy/working-with-split-terms-in-wp-4-2/' ); ?>

diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 200c5a5062..4e160f4eb2 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -147,7 +147,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { echo '
  • ' . "\n\t"; echo ''; $size = 'compact' == $group_data['type'] ? '30' : '60'; - echo '' . esc_attr( $person_data[0] ) . '' . "\n\t"; + echo '' . esc_attr( $person_data[0] ) . '' . "\n\t"; echo '' . $person_data[0] . "\n\t"; if ( ! $compact ) echo '' . translate( $person_data[3] ) . "\n"; diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index c8d92d2b21..58e7890d94 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -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 {