]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/about.php
WordPress 3.9
[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">
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&amp;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; ?>
49         </div>
50         <h2 class="about-headline-callout"><?php _e( 'A smoother media editing&nbsp;experience' ); ?></h2>
51         <div class="feature-section col three-col">
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&#8217;re talking about you, Microsoft Word.)' ); ?></p>
57                 </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&#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>
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>
67                 </div>
68         </div>
69
70         <hr>
71
72         <div class="feature-section col two-col">
73                 <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>
77                 </div>
78                 <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&#8217;ve added simple audio and video playlists, so you can showcase your music and clips.' ); ?></p>
171                 </div>
172         </div>
173 </div>
174
175 <hr>
176
177 <div class="changelog customize">
178         <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&#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>
192                         <p><?php _e( 'The improved header image tool also lets you upload, crop, and manage headers while customizing your theme.' ); ?></p>
193                 </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 } ?>
201                 </div>
202         </div>
203 </div>
204
205 <hr>
206
207 <div class="changelog under-the-hood">
208         <h3><?php _e( 'Under the Hood' ); ?></h3>
209
210         <div class="feature-section col three-col">
211                 <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>
217                 </div>
218                 <div>
219                         <h4><?php _e( 'External Libraries' ); ?></h4>
220                         <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>
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>
224                 </div>
225                 <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>
229                 </div>
230 </div>
231
232 <hr>
233
234 <div class="return-to-dashboard">
235         <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
236         <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
237                 is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
238         ?></a> |
239         <?php endif; ?>
240         <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
241                 is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
242 </div>
243
244 </div>
245 <?php
246
247 include( ABSPATH . 'wp-admin/admin-footer.php' );
248
249 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
250 return;
251
252 _n_noop( 'Maintenance Release', 'Maintenance Releases' );
253 _n_noop( 'Security Release', 'Security Releases' );
254 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
255
256 /* translators: 1: WordPress version number. */
257 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
258          '<strong>Version %1$s</strong> addressed some security issues.' );
259
260 /* translators: 1: WordPress version number, 2: plural number of bugs. */
261 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
262          '<strong>Version %1$s</strong> addressed %2$s bugs.' );
263
264 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
265 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
266          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
267
268 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
269 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
270          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
271
272 __( 'For more information, see <a href="%s">the release notes</a>.' );