Changeset 30821 for trunk/src/wp-admin/about.php
- Timestamp:
- 12/11/2014 10:15:14 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r29706 r30821 28 28 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 29 29 30 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s brings you a smoother writing and management experience.' ), $display_version ); ?></div>30 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s helps you focus on your writing, and the new default theme lets you show it off in style.' ), $display_version ); ?></div> 31 31 32 32 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> … … 43 43 44 44 <div class="changelog"> 45 <h2 class="about-headline-callout"><?php echo ( 'Introducing Twenty Fifteen' ); ?></h2> 45 46 <div class="about-overview"> 46 <?php if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?> 47 <embed src="//v.wordpress.com/bUdzKMro" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true" wmode="transparent"></embed> 48 <?php else : ?> 49 <img class="about-overview-img" src="//s.w.org/images/core/4.0/wp40.png" width="640" height="360" /> 50 <?php endif; ?> 47 <img class="about-overview-img" src="//s.w.org/images/core/3.8/twentyfourteen.jpg?1" /> 51 48 </div> 52 49 53 <hr /> 54 55 <div class="feature-section col two-col"> 50 <div class="feature-section col three-col"> 56 51 <div class="col-1"> 57 <h3><?php _e( 'Manage your media with style' ); ?></h3> 58 <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> 52 <p><?php echo ( 'Our 2015 default theme is blog-focused and designed for clarity. Twenty Fifteen᾿s straightforward typography is readable on any screen size.' ); ?></p> 59 53 </div> 60 <div class="col-2 last-feature"> 61 <img src="//s.w.org/images/core/4.0/media.jpg" /> 54 <div class="col-2"> 55 <p><?php echo ( 'Your content always takes center stage, whether viewed on a phone, tablet, laptop, or desktop computer.' ); ?></p> 56 </div> 57 <div class="col-3 last-feature"> 58 <p><?php printf( ( 'Twenty Fifteen has great language support, with help from <a href="%s">Google’s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?></p> 62 59 </div> 63 60 </div> 64 61 65 <hr /> 62 </div> 63 64 <hr /> 65 66 <div class="changelog"> 67 <h2 class="about-headline-callout"><?php echo ( 'Distraction-free writing' ); ?></h2> 68 <div class="feature-section"> 69 <p><?php echo ( '<em>Just write.</em> Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p> 70 </div> 71 </div> 72 73 <hr /> 74 75 <div class="changelog under-the-hood"> 76 <h3><?php echo ( 'The Finer Points' ); ?></h3> 66 77 67 78 <div class="feature-section col two-col"> 68 <div class="col-1"> 69 <div class="about-video about-video-embed"> 70 <?php 71 echo wp_video_shortcode( array( 72 'mp4' => '//s.w.org/images/core/4.0/embed.mp4', 73 'ogv' => '//s.w.org/images/core/4.0/embed.ogv', 74 'webm' => '//s.w.org/images/core/4.0/embed.webm', 75 'loop' => true, 76 'autoplay' => true, 77 'width' => 500, 78 'height' => 352 79 ) ); 80 ?> 81 </div> 79 <div> 80 <h4><?php echo ( 'Choose a language' ); ?></h4> 81 <p><?php printf( ( 'Right now, WordPress %1$s is already translated into %2$d languages, with more always in progress. You can switch to any translation on the <a href="%3$s">General Settings</a> screen.' ), $display_version, 40, admin_url( 'options-general.php' ) ); ?></p> 82 83 <h4><?php echo ( 'Log out everywhere' ); ?></h4> 84 <p><?php printf( ( 'There’s a new tool on <a href="%s">your profile</a> that logs you out everywhere, for those times you forget to log off a shared computer.' ), get_edit_profile_url() ); ?></p> 82 85 </div> 83 <div class="col-2 last-feature"> 84 <h3><?php _e( 'Working with embeds has never been easier' ); ?></h3> 85 <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 — embedding has become a visual experience. The editor shows a true preview of your embedded content, saving you time and giving you confidence.' ); ?></p> 86 <p><?php _e( 'We’ve expanded the services supported by default, too — 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> 87 </div> 88 </div> 86 <div class="last-feature"> 87 <h4><?php echo ( 'Vine embeds' ); ?></h4> 88 <p><?php printf( ( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. For more, see the Codex article on <a href="%s">Embeds</a>.' ), 'http://codex.wordpress.org/Embeds' ); ?></p> 89 89 90 <hr /> 91 92 <div class="feature-section col two-col"> 93 <div class="col-1"> 94 <h3><?php _e( 'Focus on your content' ); ?></h3> 95 <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> 96 </div> 97 <div class="col-2 last-feature"> 98 <div class="about-video about-video-focus"> 99 <?php 100 echo wp_video_shortcode( array( 101 'mp4' => '//s.w.org/images/core/4.0/focus.mp4', 102 'ogv' => '//s.w.org/images/core/4.0/focus.ogv', 103 'webm' => '//s.w.org/images/core/4.0/focus.webm', 104 'loop' => true, 105 'autoplay' => true, 106 'width' => 500, 107 'height' => 281 108 ) ); 109 ?> 110 </div> 111 </div> 112 </div> 113 114 <hr /> 115 116 <div class="feature-section col two-col"> 117 <div class="col-1"> 118 <img src="//s.w.org/images/core/4.0/plugins.png" /> 119 </div> 120 <div class="col-2 last-feature"> 121 <h3 class="higher"><?php _e( 'Finding the right plugin' ); ?></h3> 122 <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> 123 <a href="<?php echo admin_url( 'plugin-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse plugins' ); ?></a> 90 <h4><?php echo ( 'Plugin recommendations' ); ?></h4> 91 <p><?php printf( ( 'The <a href="%s">plugin installer</a> now offers a list of plugins you may want to try, based on others who have similar plugins installed as you.' ), network_admin_url( 'plugin-install.php?tab=recommended' ) ); ?></p> 124 92 </div> 125 93 </div> … … 131 99 <h3><?php _e( 'Under the Hood' ); ?></h3> 132 100 133 <div class="feature-section col t hree-col">101 <div class="feature-section col two-col"> 134 102 <div> 135 <h4><?php _e( 'Customizer API' ); ?></h4> 136 <p><?php _e( 'Contexts, panels, and a wider array of controls are now supported in the customizer.' ); ?></p> 137 </div> 138 <div> 139 <h4><?php _e( 'Query Ordering' ); ?></h4> 140 <p><?php 141 /* translators: 1: "ORDER BY" (SQL), 2: "WP_Query" */ 142 printf( __( 'Developers have more flexibility creating %1$s clauses through %2$s.' ), '<code>ORDER BY</code>', '<code>WP_Query</code>' ); 143 ?></p> 103 <h4><?php echo ( 'Complex Queries' ); ?></h4> 104 <p><?php printf( ( 'Metadata, date, and term queries now support advanced conditional logic, like nested clauses and multiple operators — <code>%s</code>.' ), 'A AND ( B OR C )' ); ?></p> 105 106 <h4><?php echo ( 'Customizer API' ); ?></h4> 107 <p><?php echo ( 'The customizer now supports conditionally showing panels and sections based on the page being previewed.' ); ?></p> 144 108 </div> 145 109 <div class="last-feature"> 146 <h4><?php _e( 'External Libraries' ); ?></h4> 147 <p><?php _e( 'Updated libraries: TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15.' ); ?></p> 110 <h4><?php printf( ( '%s tags in themes' ), '<code><title></code>' ); ?></h4> 111 <p><?php 112 printf( ( '%s tells WordPress to handle the complexities of document titles.' ), "<code>add_theme_support( 'title-tag' )</code>" ); 113 ?></p> 114 115 <h4><?php echo ( 'Developer Reference' ); ?></h4> 116 <p><?php printf( ( 'Continued improvements to inline code documentation have made the <a href="%s">developer reference</a> more complete than ever.' ), 'https://developer.wordpress.org/reference/' ); ?></p> 148 117 </div> 149 118 </div>
Note: See TracChangeset
for help on using the changeset viewer.