Changeset 29643 for trunk/src/wp-admin/about.php
- Timestamp:
- 08/27/2014 04:39:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r28477 r29643 11 11 12 12 wp_enqueue_style( 'wp-mediaelement' ); 13 wp_enqueue_script( 'wp- playlist' );13 wp_enqueue_script( 'wp-mediaelement' ); 14 14 add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 ); 15 15 … … 25 25 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 26 26 27 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s has lots of refinements we think you’ll love.' ), $display_version ); ?></div>27 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s brings you a smoother writing and management experience.' ), $display_version ); ?></div> 28 28 29 29 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> … … 41 41 <div class="changelog"> 42 42 <div class="about-overview"> 43 <?php 44 if ( ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?> 45 <embed src="//v0.wordpress.com/player.swf?v=1.03" type="application/x-shockwave-flash" width="640" height="360" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=sAiXhCfV&isDynamicSeeking=true" title=""></embed> 46 <?php else : ?> 47 <img class="about-overview-img" src="//s.w.org/images/core/3.9/overview.png?0" /> 48 <?php endif; ?> 43 <h2 class="about-headline-callout"><?php _e( 'Manage your media with style' ); ?></h2> 44 <!-- media-grid-cropped.png --> 45 <img class="about-overview-img" src="https://i.cloudup.com/gFjdHZjkbI.png" /> 46 <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> 49 47 </div> 50 <h2 class="about-headline-callout"><?php _e( 'A smoother media editing experience' ); ?></h2> 51 <div class="feature-section col three-col"> 48 49 <hr /> 50 51 <div class="feature-section col two-col"> 52 52 <div class="col-1"> 53 <img src="//s.w.org/images/core/3.9/editor.jpg?0" /> 54 <h4><?php _e( 'Improved visual editing' ); ?></h4> 55 <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' ); 56 echo ' ' . __( 'You can paste into the visual editor from your word processor without wasting time to clean up messy styling. (Yeah, we’re talking about you, Microsoft Word.)' ); ?></p> 53 <!-- oembed.mp4 --> 54 <?php 55 echo wp_video_shortcode( array( 56 'mp4' => 'https://i.cloudup.com/IdZ7t3ixES.mp4', 57 // 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv', 58 // 'webm' => '//s.w.org/images/core/3.9/widgets.webm', 59 'loop' => true, 60 'autoplay' => true, 61 'width' => 499 62 ) ); 63 ?> 57 64 </div> 58 <div class="col-2"> 59 <img src="//s.w.org/images/core/3.9/image.gif?0" /> 60 <h4><?php _e( 'Edit images easily' ); ?></h4> 61 <p><?php _e( 'With quicker access to crop and rotation tools, it’s now much easier to edit your images while editing posts. You can also scale images directly in the editor to find just the right fit.' ); ?></p> 62 </div> 63 <div class="col-3 last-feature"> 64 <img src="//s.w.org/images/core/3.9/drop.jpg?0" /> 65 <h4><?php _e( 'Drag and drop your images' ); ?></h4> 66 <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p> 65 <div class="col-2 last-feature"> 66 <h3><?php _e( 'Working with embeds has never been easier' ); ?></h3> 67 <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> 68 <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> 67 69 </div> 68 70 </div> … … 72 74 <div class="feature-section col two-col"> 73 75 <div class="col-1"> 74 <img src="//s.w.org/images/core/3.9/gallery.jpg?0" /> 75 <h4><?php _e( 'Gallery previews' ); ?></h4> 76 <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p> 76 <h3><?php _e( 'Focus on your content' ); ?></h3> 77 <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> 77 78 </div> 78 79 <div class="col-2 last-feature"> 79 <div class="wp-playlist wp-audio-playlist wp-playlist-light"> 80 <div class="wp-playlist-current-item"></div> 81 <audio controls="controls" preload="metadata"></audio> 82 <div class="wp-playlist-next"></div> 83 <div class="wp-playlist-prev"></div> 84 <?php 85 $audio_icon_js = esc_js( includes_url( 'images/media/audio.png' ) ); 86 $wp_host = '//s.w.org/images/core/3.9/'; 87 ?> 88 89 <script type="application/json">{ 90 "type":"audio", 91 "tracklist":true, 92 "tracknumbers":true, 93 "images":true, 94 "artists":true, 95 "tracks":[{ 96 "src":"<?php echo $wp_host ?>AintMisbehavin.mp3", 97 "type":"audio\/mpeg","title":"Ain't Misbehavin'","caption":"","description":"", 98 "meta":{ 99 "artist":"Louis Armstrong & His Orchestra", 100 "album":"78 RPMs & Cylinder Recordings", 101 "genre":"Jazz", 102 "length_formatted":"3:21" 103 }, 104 "image":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240}, 105 "thumb":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240} 106 }, 107 { 108 "src":"<?php echo $wp_host ?>JellyRollMorton-BuddyBoldensBlues.mp3", 109 "type":"audio\/mpeg","title":"Buddy Bolden's Blues","caption":"","description":"", 110 "meta":{ 111 "artist":"Jelly Roll Morten", 112 "album":"78 RPMs & Cylinder Recordings", 113 "genre":"Jazz", 114 "length_formatted":"2:09" 115 }, 116 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 117 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 118 }, 119 { 120 "src":"<?php echo $wp_host ?>DavenportBlues.mp3", 121 "type":"audio\/mpeg","title":"Davenport Blues","caption":"","description":"", 122 "meta":{ 123 "artist":"Bix Beiderbecke & His Rhythm Jugglers", 124 "album":"78 RPMs & Cylinder Recordings", 125 "genre":"Jazz", 126 "length_formatted":"2:48" 127 }, 128 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 129 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 130 }, 131 { 132 "src":"<?php echo $wp_host ?>WolverineBlues.mp3", 133 "type":"audio\/mpeg","title":"Wolverine Blues","caption":"","description":"", 134 "meta":{ 135 "artist":"Benny Goodman's Boys", 136 "album":"78 RPMs & Cylinder Recordings", 137 "genre":"Jazz", 138 "length_formatted":"2:55" 139 }, 140 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 141 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 142 }, 143 { 144 "src":"<?php echo $wp_host ?>Louisiana_Five-Dixie_Blues-1919.mp3", 145 "type":"audio\/mpeg","title":"Dixie Blues","caption":"","description":"", 146 "meta":{ 147 "artist":"Louisiana Five", 148 "album":"78 RPMs & Cylinder Recordings", 149 "genre":"Jazz", 150 "length_formatted":"3:01" 151 }, 152 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 153 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 154 }, 155 { 156 "src":"<?php echo $wp_host ?>Johnny_Hodges_Orchestra-Squaty_Roo-1941.mp3", 157 "type":"audio\/mpeg","title":"Squaty Roo","caption":"","description":"", 158 "meta":{ 159 "artist":"Johnny Hodges Orchestra", 160 "album":"78 RPMs & Cylinder Recordings", 161 "genre":"Jazz", 162 "length_formatted":"2:24" 163 }, 164 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}, 165 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64} 166 }] 167 }</script> 168 </div> 169 <h4><?php _e( 'Do more with audio and video' ); ?></h4> 170 <p><?php _e( 'Images have galleries; now we’ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p> 80 <!-- focus.png --> 81 <img src="https://i.cloudup.com/DhokGXMLmR.png" /> 171 82 </div> 172 83 </div> 173 </div>174 84 175 <hr />85 <hr /> 176 86 177 <div class="changelog customize">178 87 <div class="feature-section col two-col"> 179 <div> 180 <?php 181 echo wp_video_shortcode( array( 182 'mp4' => '//s.w.org/images/core/3.9/widgets.mp4', 183 'ogv' => '//s.w.org/images/core/3.9/widgets.ogv', 184 'webm' => '//s.w.org/images/core/3.9/widgets.webm', 185 'loop' => true, 186 'autoplay' => true, 187 'width' => 499 188 ) ); 189 ?> 190 <h4><?php _e( 'Live widget and header previews' ); ?></h4> 191 <p><?php _e( 'Add, edit, and rearrange your site’s widgets right in the theme customizer. No “save and surprise” — preview your changes live and only save them when you’re ready.' ); ?></p> 192 <p><?php _e( 'The improved header image tool also lets you upload, crop, and manage headers while customizing your theme.' ); ?></p> 88 <div class="col-1"> 89 <!-- plugins.png --> 90 <img src="https://i.cloudup.com/6hlYGuLiTq.png" /> 193 91 </div> 194 <div class=" last-feature">195 < img src="//s.w.org/images/core/3.9/theme.jpg?0" />196 < h4><?php _e( 'Stunning new theme browser' ); ?></h4>197 < p><?php _e( 'Looking for a new theme should be easy and fun. Lose yourself in the boundless supply of free WordPress.org themes with the beautiful new theme browser.' ); ?></p>198 <?php if ( current_user_can( 'install_themes' ) ) { ?>199 < p><a href="<?php echo network_admin_url( 'theme-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse Themes' ); ?></a></p>200 <?php } ?>92 <div class="col-2 last-feature"> 93 <h3><?php _e( 'Finding the right plugin' ); ?></h3> 94 <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> 95 <?php if ( ( $locale = get_locale() ) && 'en_' !== substr( $locale, 0, 3 ) ) : ?> 96 <p><?php _e( 'Search results will return plugins translated into your language first.' ); ?></p> 97 <?php endif; ?> 98 <a href="<?php echo admin_url( 'plugin-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse plugins' ); ?></a> 201 99 </div> 202 100 </div> … … 210 108 <div class="feature-section col three-col"> 211 109 <div> 212 <h4><?php _e( 'Semantic Captions and Galleries' ); ?></h4> 213 <p><?php _e( 'Theme developers have new options for images and galleries that use intelligent HTML5 markup.' ); ?></p> 214 215 <h4><?php _e( 'Inline Code Documentation' ); ?></h4> 216 <p><?php _e( 'Every action and filter hook in WordPress is now documented, along with expanded documentation for the media manager and customizer APIs.' ); ?></p> 110 <h4><?php _e( 'Customizer API' ); ?></h4> 111 <p><?php _e( 'Contexts, panels, and a wider array of controls are now supported in the customizer.' ); ?></p> 217 112 </div> 218 113 <div> 219 <h4><?php _e( ' External Libraries' ); ?></h4>220 <p><?php _e( 'Updated libraries: TinyMCE 4, jQuery 1.11, Backbone 1.1, Underscore 1.6, Plupload 2, MediaElement 2.14, Masonry 3.' ); ?></p>221 222 <h4><?php _e( 'Improved Database Layer' ); ?></h4>223 <p><?php _e( 'Database connections are now more fault-resistant and have improved compatibility with PHP 5.5 and MySQL 5.6.' );?></p>114 <h4><?php _e( 'Query Ordering' ); ?></h4> 115 <p><?php 116 /* translators: 1: "ORDER BY" (SQL), 2: "WP_Query" */ 117 printf( __( 'Developers have more flexibility creating %1$s clauses through %2$s.' ), '<code>ORDER BY</code>', '<code>WP_Query</code>' ); 118 ?></p> 224 119 </div> 225 120 <div class="last-feature"> 226 <h4><?php _e( 'New Utility Functions' ); ?></h4> 227 <p><?php _e( 'Identify a hook in progress with <code>doing_action()</code> and <code>doing_filter()</code>, and manipulate custom image sizes with <code>has_image_size()</code> and <code>remove_image_size()</code>.' ); ?></p> 228 <p><?php _e( 'Plugins and themes registering custom image sizes can now register suggested cropping points. For example, prevent heads from being cropped out of photos with a top-center crop.' ); ?></p> 121 <h4><?php _e( 'External Libraries' ); ?></h4> 122 <p><?php _e( 'Updated libraries: TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15.' ); ?></p> 229 123 </div> 230 124 </div>
Note: See TracChangeset
for help on using the changeset viewer.