WordPress 3.9.2
[autoinstalls/wordpress.git] / wp-admin / about.php
1 <?php
2 /**
3  * About This Version administration panel.
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 /** WordPress Administration Bootstrap */
10 require_once( dirname( __FILE__ ) . '/admin.php' );
11
12 wp_enqueue_style( 'wp-mediaelement' );
13 wp_enqueue_script( 'wp-playlist' );
14 add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 );
15
16 $title = __( 'About' );
17
18 list( $display_version ) = explode( '-', $wp_version );
19
20 include( ABSPATH . 'wp-admin/admin-header.php' );
21 ?>
22 <!--[if lt IE 9]><script>document.createElement('audio');document.createElement('video');</script><![endif]-->
23 <div class="wrap about-wrap">
24
25 <h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
26
27 <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s has lots of refinements we think you&#8217;ll love.' ), $display_version ); ?></div>
28
29 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
30
31 <h2 class="nav-tab-wrapper">
32         <a href="about.php" class="nav-tab nav-tab-active">
33                 <?php _e( 'What&#8217;s New' ); ?>
34         </a><a href="credits.php" class="nav-tab">
35                 <?php _e( 'Credits' ); ?>
36         </a><a href="freedoms.php" class="nav-tab">
37                 <?php _e( 'Freedoms' ); ?>
38         </a>
39 </h2>
40
41 <div class="changelog point-releases">
42         <h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 2 ); ?></h3>
43         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
44          '<strong>Version %1$s</strong> addressed some security issues.', 6 ), '3.9.2', number_format_i18n( 6 ) ); ?>
45                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.9.2' ); ?>
46         </p>
47         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
48          '<strong>Version %1$s</strong> addressed %2$s bugs.', 34 ), '3.9.1', number_format_i18n( 34 ) ); ?>
49                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.9.1' ); ?>
50         </p>
51 </div>
52
53 <div class="changelog">
54         <div class="about-overview">
55         <?php
56         if ( ! is_ssl() && ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?>
57                 <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&amp;isDynamicSeeking=true" title=""></embed>
58         <?php else : ?>
59                 <img class="about-overview-img" src="//s.w.org/images/core/3.9/overview.png?0" />
60         <?php endif; ?>
61         </div>
62         <h2 class="about-headline-callout"><?php _e( 'A smoother media editing&nbsp;experience' ); ?></h2>
63         <div class="feature-section col three-col">
64                 <div class="col-1">
65                         <img src="//s.w.org/images/core/3.9/editor.jpg?0" />
66                         <h4><?php _e( 'Improved visual editing' ); ?></h4>
67                         <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' );
68                                 echo ' ' . __( 'You can paste into the visual editor from your word processor without wasting time to clean up messy styling. (Yeah, we&#8217;re talking about you, Microsoft Word.)' ); ?></p>
69                 </div>
70                 <div class="col-2">
71                         <img src="//s.w.org/images/core/3.9/image.gif?0" />
72                         <h4><?php _e( 'Edit images easily' ); ?></h4>
73                         <p><?php _e( 'With quicker access to crop and rotation tools, it&#8217;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>
74                 </div>
75                 <div class="col-3 last-feature">
76                         <img src="//s.w.org/images/core/3.9/drop.jpg?0" />
77                         <h4><?php _e( 'Drag and drop your images' ); ?></h4>
78                         <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p>
79                 </div>
80         </div>
81
82         <hr>
83
84         <div class="feature-section col two-col">
85                 <div class="col-1">
86                         <img src="//s.w.org/images/core/3.9/gallery.jpg?0" />
87                         <h4><?php _e( 'Gallery previews' ); ?></h4>
88                         <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p>
89                 </div>
90                 <div class="col-2 last-feature">
91                         <div class="wp-playlist wp-audio-playlist wp-playlist-light">
92                                 <div class="wp-playlist-current-item"></div>
93                                 <audio controls="controls" preload="metadata"></audio>
94                                 <div class="wp-playlist-next"></div>
95                                 <div class="wp-playlist-prev"></div>
96                                 <?php
97                                 $audio_icon_js = esc_js( includes_url( 'images/media/audio.png' ) );
98                                 $wp_host = '//s.w.org/images/core/3.9/';
99                                 ?>
100
101                                 <script type="application/json">{
102                                         "type":"audio",
103                                         "tracklist":true,
104                                         "tracknumbers":true,
105                                         "images":true,
106                                         "artists":true,
107                                         "tracks":[{
108                                                 "src":"<?php echo $wp_host ?>AintMisbehavin.mp3",
109                                                 "type":"audio\/mpeg","title":"Ain't Misbehavin'","caption":"","description":"",
110                                                 "meta":{
111                                                         "artist":"Louis Armstrong & His Orchestra",
112                                                         "album":"78 RPMs & Cylinder Recordings",
113                                                         "genre":"Jazz",
114                                                         "length_formatted":"3:21"
115                                                 },
116                                                 "image":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240},
117                                                 "thumb":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240}
118                                         },
119                                         {
120                                                 "src":"<?php echo $wp_host ?>JellyRollMorton-BuddyBoldensBlues.mp3",
121                                                 "type":"audio\/mpeg","title":"Buddy Bolden's Blues","caption":"","description":"",
122                                                 "meta":{
123                                                         "artist":"Jelly Roll Morten",
124                                                         "album":"78 RPMs & Cylinder Recordings",
125                                                         "genre":"Jazz",
126                                                         "length_formatted":"2:09"
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 ?>DavenportBlues.mp3",
133                                                 "type":"audio\/mpeg","title":"Davenport Blues","caption":"","description":"",
134                                                 "meta":{
135                                                         "artist":"Bix Beiderbecke & His Rhythm Jugglers",
136                                                         "album":"78 RPMs & Cylinder Recordings",
137                                                         "genre":"Jazz",
138                                                         "length_formatted":"2:48"
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 ?>WolverineBlues.mp3",
145                                                 "type":"audio\/mpeg","title":"Wolverine Blues","caption":"","description":"",
146                                                 "meta":{
147                                                         "artist":"Benny Goodman's Boys",
148                                                         "album":"78 RPMs & Cylinder Recordings",
149                                                         "genre":"Jazz",
150                                                         "length_formatted":"2:55"
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 ?>Louisiana_Five-Dixie_Blues-1919.mp3",
157                                                 "type":"audio\/mpeg","title":"Dixie Blues","caption":"","description":"",
158                                                 "meta":{
159                                                         "artist":"Louisiana Five",
160                                                         "album":"78 RPMs & Cylinder Recordings",
161                                                         "genre":"Jazz",
162                                                         "length_formatted":"3:01"
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                                         {
168                                                 "src":"<?php echo $wp_host ?>Johnny_Hodges_Orchestra-Squaty_Roo-1941.mp3",
169                                                 "type":"audio\/mpeg","title":"Squaty Roo","caption":"","description":"",
170                                                 "meta":{
171                                                         "artist":"Johnny Hodges Orchestra",
172                                                         "album":"78 RPMs & Cylinder Recordings",
173                                                         "genre":"Jazz",
174                                                         "length_formatted":"2:24"
175                                                 },
176                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
177                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
178                                         }]
179                                 }</script>
180                         </div>
181                         <h4><?php _e( 'Do more with audio and video' ); ?></h4>
182                         <p><?php _e( 'Images have galleries; now we&#8217;ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p>
183                 </div>
184         </div>
185 </div>
186
187 <hr>
188
189 <div class="changelog customize">
190         <div class="feature-section col two-col">
191                 <div>
192                         <?php
193                                 echo wp_video_shortcode( array(
194                                         'mp4'      => '//s.w.org/images/core/3.9/widgets.mp4',
195                                         'ogv'      => '//s.w.org/images/core/3.9/widgets.ogv',
196                                         'webm'     => '//s.w.org/images/core/3.9/widgets.webm',
197                                         'loop'     => true,
198                                         'autoplay' => true,
199                                         'width'    => 499
200                                 ) );
201                         ?>
202                         <h4><?php _e( 'Live widget and header previews' ); ?></h4>
203                         <p><?php _e( 'Add, edit, and rearrange your site&#8217;s widgets right in the theme customizer. No &#8220;save and surprise&#8221; &mdash; preview your changes live and only save them when you&#8217;re ready.' ); ?></p>
204                         <p><?php _e( 'The improved header image tool also lets you upload, crop, and manage headers while customizing your theme.' ); ?></p>
205                 </div>
206                 <div class="last-feature">
207                         <img src="//s.w.org/images/core/3.9/theme.jpg?0" />
208                         <h4><?php _e( 'Stunning new theme browser' ); ?></h4>
209                         <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>
210                 <?php if ( current_user_can( 'install_themes' ) ) { ?>
211                         <p><a href="<?php echo network_admin_url( 'theme-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse Themes' ); ?></a></p>
212                 <?php } ?>
213                 </div>
214         </div>
215 </div>
216
217 <hr>
218
219 <div class="changelog under-the-hood">
220         <h3><?php _e( 'Under the Hood' ); ?></h3>
221
222         <div class="feature-section col three-col">
223                 <div>
224                         <h4><?php _e( 'Semantic Captions and Galleries' ); ?></h4>
225                         <p><?php _e( 'Theme developers have new options for images and galleries that use intelligent HTML5 markup.' ); ?></p>
226
227                         <h4><?php _e( 'Inline Code Documentation' ); ?></h4>
228                         <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>
229                 </div>
230                 <div>
231                         <h4><?php _e( 'External Libraries' ); ?></h4>
232                         <p><?php _e( 'Updated libraries: TinyMCE&nbsp;4, jQuery&nbsp;1.11, Backbone&nbsp;1.1, Underscore&nbsp;1.6, Plupload&nbsp;2, MediaElement&nbsp;2.14, Masonry&nbsp;3.' ); ?></p>
233
234                         <h4><?php _e( 'Improved Database Layer' ); ?></h4>
235                         <p><?php _e( 'Database connections are now more fault-resistant and have improved compatibility with PHP 5.5 and MySQL 5.6.' ); ?></p>
236                 </div>
237                 <div class="last-feature">
238                         <h4><?php _e( 'New Utility Functions' ); ?></h4>
239                         <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>
240                         <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>
241                 </div>
242 </div>
243
244 <hr>
245
246 <div class="return-to-dashboard">
247         <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
248         <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
249                 is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
250         ?></a> |
251         <?php endif; ?>
252         <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
253                 is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
254 </div>
255
256 </div>
257 <?php
258
259 include( ABSPATH . 'wp-admin/admin-footer.php' );
260
261 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
262 return;
263
264 _n_noop( 'Maintenance Release', 'Maintenance Releases' );
265 _n_noop( 'Security Release', 'Security Releases' );
266 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
267
268 /* translators: 1: WordPress version number. */
269 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
270          '<strong>Version %1$s</strong> addressed some security issues.' );
271
272 /* translators: 1: WordPress version number, 2: plural number of bugs. */
273 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
274          '<strong>Version %1$s</strong> addressed %2$s bugs.' );
275
276 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
277 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
278          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
279
280 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
281 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
282          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
283
284 __( 'For more information, see <a href="%s">the release notes</a>.' );