Browse files

New section on Twitter Embeds on the about page. props georgestephani…

…s, chexee, azaozz, SergeyBiryukov, jane. fixes #20796.

git-svn-id: http://core.svn.wordpress.org/trunk@20977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent ed56952 commit f3526bbbdd612b8592dba46825374c980cc76092 nacin committed Jun 2, 2012
View
22 wp-admin/about.php
@@ -52,9 +52,11 @@
<div class="feature-section">
<h4><?php _e( 'Flexible Sizes' ); ?></h4>
<p><?php _e( 'You can decide for yourself how tall or wide your custom header image should be. From now on, themes will provide a recommended image size for custom headers rather than a fixed requirement. Note: this feature requires <a href="http://codex.wordpress.org/Custom_Headers">theme support</a>.' ); ?></p>
- <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30" />
- <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
- <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30" />
+ <div class="three-col-images">
+ <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30 first-feature" />
+ <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
+ <img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30 last-feature" />
+ </div>
</div>
<div class="feature-section images-stagger-right">
@@ -65,6 +67,20 @@
</div>
<div class="changelog">
+ <h3><?php _e( 'Twitter Embeds' ); ?></h3>
+
+ <div class="feature-section images-stagger-right">
+ <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-1.png' ) ); ?>" class="image-30" />
+ <img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-2.png' ) ); ?>" class="image-30" />
+ <h4><?php _e( 'Share Tweets with Style' ); ?></h4>
+ <p><?php _e( 'You can now embed individual tweets in posts. It includes action links that allow readers to reply to, retweet, and favorite the tweet without leaving your site. Just paste a tweet URL on its own line.' ); ?></p>
+ <p><?php printf( __( 'This works with URLs from some other sites, too. For more, see the Codex article on <a href="%s">Embeds</a>.' ), __( 'http://codex.wordpress.org/Embeds' ) ); ?></p>
+ </div>
+
+</div>
+
+
+<div class="changelog">
<h3><?php _e( 'Better Captions' ); ?></h3>
<div class="feature-section images-stagger-right">
View
8 wp-admin/css/colors-classic.dev.css
@@ -2360,11 +2360,11 @@ div.widgets-sortables,
.about-wrap .feature-section img {
background: #fff;
- border-color: #dfdfdf;
+ border: 1px #ccc solid;
- -moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
- -webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
- box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
+ -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
+ -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
+ box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
}
.about-wrap .point-releases {
View
8 wp-admin/css/colors-fresh.dev.css
@@ -1947,11 +1947,11 @@ div.widgets-sortables,
.about-wrap .feature-section img {
background: #fff;
- border-color: #dfdfdf;
+ border: 1px #ccc solid;
- -moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
- -webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
- box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
+ -moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
+ -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
+ box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
}
.about-wrap h4.wp-people-group {
View
9 wp-admin/css/ie.dev.css
@@ -439,6 +439,15 @@ table.ie-fixed {
margin: 0;
}
+.about-wrap .three-col-images img {
+ margin: 0 0.6% 10px;
+}
+
+.about-wrap .three-col-images .last-feature,
+.about-wrap .three-col-images .first-feature {
+ float: none;
+}
+
/* IE6 leftovers */
* html .row-actions {
visibility: visible;
View
8 wp-admin/css/wp-admin-rtl.dev.css
@@ -1403,6 +1403,14 @@ h2 .nav-tab {
margin-right: 3em;
}
+.about-wrap .three-col-images .last-feature {
+ float: left;
+}
+
+.about-wrap .three-col-images .first-feature {
+ float: right;
+}
+
.about-wrap .feature-section.three-col div {
margin-right: 0;
margin-left: 4.999999999%;
View
20 wp-admin/css/wp-admin.dev.css
@@ -5076,7 +5076,7 @@ input.button-highlighted,
.about-wrap .feature-section img {
border: none;
- margin: 0 0.7% 10px 0;
+ margin: 0 1.94% 10px 0;
-webkit-border-radius: 3px;
border-radius: 3px;
}
@@ -5086,7 +5086,7 @@ input.button-highlighted,
}
.about-wrap .feature-section img.image-30 {
- max-width: 32%;
+ max-width: 31.2381%;
}
.ie8 .about-wrap .feature-section img {
@@ -5123,6 +5123,22 @@ input.button-highlighted,
margin-right: 0;
}
+.about-wrap .three-col-images {
+ text-align: center;
+}
+
+.about-wrap .three-col-images img {
+ margin: 0 0 10px;
+}
+
+.about-wrap .three-col-images .last-feature {
+ float: right;
+}
+
+.about-wrap .three-col-images .first-feature {
+ float: left;
+}
+
.about-wrap .feature-section.images-stagger-right img {
float: right;
margin: 0 5px 12px 12px;
View
BIN wp-admin/images/screenshots/twitter-embed-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wp-admin/images/screenshots/twitter-embed-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f3526bb

Please sign in to comment.