]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-admin/about.php
WordPress 3.9.1-scripts
[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 Release', 'Maintenance Releases', 1 ); ?></h3>
43         <p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
44          '<strong>Version %1$s</strong> addressed %2$s bugs.', 34 ), '3.9.1', number_format_i18n( 34 ) ); ?>
45                 <?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'http://codex.wordpress.org/Version_3.9.1' ); ?>
46         </p>
47 </div>
48
49 <div class="changelog">
50         <div class="about-overview">
51         <?php
52         if ( ! is_ssl() && ( $locale = get_locale() ) && 'en_' === substr( $locale, 0, 3 ) ) : ?>
53                 <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>
54         <?php else : ?>
55                 <img class="about-overview-img" src="//s.w.org/images/core/3.9/overview.png?0" />
56         <?php endif; ?>
57         </div>
58         <h2 class="about-headline-callout"><?php _e( 'A smoother media editing&nbsp;experience' ); ?></h2>
59         <div class="feature-section col three-col">
60                 <div class="col-1">
61                         <img src="//s.w.org/images/core/3.9/editor.jpg?0" />
62                         <h4><?php _e( 'Improved visual editing' ); ?></h4>
63                         <p><?php _e( 'The updated visual editor has improved speed, accessibility, and mobile support.' );
64                                 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>
65                 </div>
66                 <div class="col-2">
67                         <img src="//s.w.org/images/core/3.9/image.gif?0" />
68                         <h4><?php _e( 'Edit images easily' ); ?></h4>
69                         <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>
70                 </div>
71                 <div class="col-3 last-feature">
72                         <img src="//s.w.org/images/core/3.9/drop.jpg?0" />
73                         <h4><?php _e( 'Drag and drop your images' ); ?></h4>
74                         <p><?php _e( 'Uploading your images is easier than ever. Just grab them from your desktop and drop them onto the editor.' ); ?></p>
75                 </div>
76         </div>
77
78         <hr>
79
80         <div class="feature-section col two-col">
81                 <div class="col-1">
82                         <img src="//s.w.org/images/core/3.9/gallery.jpg?0" />
83                         <h4><?php _e( 'Gallery previews' ); ?></h4>
84                         <p><?php _e( 'Galleries display a beautiful grid of images right in the editor, just like they do in your published post.' ); ?></p>
85                 </div>
86                 <div class="col-2 last-feature">
87                         <div class="wp-playlist wp-audio-playlist wp-playlist-light">
88                                 <div class="wp-playlist-current-item"></div>
89                                 <audio controls="controls" preload="metadata"></audio>
90                                 <div class="wp-playlist-next"></div>
91                                 <div class="wp-playlist-prev"></div>
92                                 <?php
93                                 $audio_icon_js = esc_js( includes_url( 'images/media/audio.png' ) );
94                                 $wp_host = '//s.w.org/images/core/3.9/';
95                                 ?>
96
97                                 <script type="application/json">{
98                                         "type":"audio",
99                                         "tracklist":true,
100                                         "tracknumbers":true,
101                                         "images":true,
102                                         "artists":true,
103                                         "tracks":[{
104                                                 "src":"<?php echo $wp_host ?>AintMisbehavin.mp3",
105                                                 "type":"audio\/mpeg","title":"Ain't Misbehavin'","caption":"","description":"",
106                                                 "meta":{
107                                                         "artist":"Louis Armstrong & His Orchestra",
108                                                         "album":"78 RPMs & Cylinder Recordings",
109                                                         "genre":"Jazz",
110                                                         "length_formatted":"3:21"
111                                                 },
112                                                 "image":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240},
113                                                 "thumb":{"src":"//s.w.org/images/core/3.9/louis.jpg","width":308,"height":240}
114                                         },
115                                         {
116                                                 "src":"<?php echo $wp_host ?>JellyRollMorton-BuddyBoldensBlues.mp3",
117                                                 "type":"audio\/mpeg","title":"Buddy Bolden's Blues","caption":"","description":"",
118                                                 "meta":{
119                                                         "artist":"Jelly Roll Morten",
120                                                         "album":"78 RPMs & Cylinder Recordings",
121                                                         "genre":"Jazz",
122                                                         "length_formatted":"2:09"
123                                                 },
124                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
125                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
126                                         },
127                                         {
128                                                 "src":"<?php echo $wp_host ?>DavenportBlues.mp3",
129                                                 "type":"audio\/mpeg","title":"Davenport Blues","caption":"","description":"",
130                                                 "meta":{
131                                                         "artist":"Bix Beiderbecke & His Rhythm Jugglers",
132                                                         "album":"78 RPMs & Cylinder Recordings",
133                                                         "genre":"Jazz",
134                                                         "length_formatted":"2:48"
135                                                 },
136                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
137                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
138                                         },
139                                         {
140                                                 "src":"<?php echo $wp_host ?>WolverineBlues.mp3",
141                                                 "type":"audio\/mpeg","title":"Wolverine Blues","caption":"","description":"",
142                                                 "meta":{
143                                                         "artist":"Benny Goodman's Boys",
144                                                         "album":"78 RPMs & Cylinder Recordings",
145                                                         "genre":"Jazz",
146                                                         "length_formatted":"2:55"
147                                                 },
148                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
149                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
150                                         },
151                                         {
152                                                 "src":"<?php echo $wp_host ?>Louisiana_Five-Dixie_Blues-1919.mp3",
153                                                 "type":"audio\/mpeg","title":"Dixie Blues","caption":"","description":"",
154                                                 "meta":{
155                                                         "artist":"Louisiana Five",
156                                                         "album":"78 RPMs & Cylinder Recordings",
157                                                         "genre":"Jazz",
158                                                         "length_formatted":"3:01"
159                                                 },
160                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
161                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
162                                         },
163                                         {
164                                                 "src":"<?php echo $wp_host ?>Johnny_Hodges_Orchestra-Squaty_Roo-1941.mp3",
165                                                 "type":"audio\/mpeg","title":"Squaty Roo","caption":"","description":"",
166                                                 "meta":{
167                                                         "artist":"Johnny Hodges Orchestra",
168                                                         "album":"78 RPMs & Cylinder Recordings",
169                                                         "genre":"Jazz",
170                                                         "length_formatted":"2:24"
171                                                 },
172                                                 "image":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64},
173                                                 "thumb":{"src":"<?php echo $audio_icon_js ?>","width":48,"height":64}
174                                         }]
175                                 }</script>
176                         </div>
177                         <h4><?php _e( 'Do more with audio and video' ); ?></h4>
178                         <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>
179                 </div>
180         </div>
181 </div>
182
183 <hr>
184
185 <div class="changelog customize">
186         <div class="feature-section col two-col">
187                 <div>
188                         <?php
189                                 echo wp_video_shortcode( array(
190                                         'mp4'      => '//s.w.org/images/core/3.9/widgets.mp4',
191                                         'ogv'      => '//s.w.org/images/core/3.9/widgets.ogv',
192                                         'webm'     => '//s.w.org/images/core/3.9/widgets.webm',
193                                         'loop'     => true,
194                                         'autoplay' => true,
195                                         'width'    => 499
196                                 ) );
197                         ?>
198                         <h4><?php _e( 'Live widget and header previews' ); ?></h4>
199                         <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>
200                         <p><?php _e( 'The improved header image tool also lets you upload, crop, and manage headers while customizing your theme.' ); ?></p>
201                 </div>
202                 <div class="last-feature">
203                         <img src="//s.w.org/images/core/3.9/theme.jpg?0" />
204                         <h4><?php _e( 'Stunning new theme browser' ); ?></h4>
205                         <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>
206                 <?php if ( current_user_can( 'install_themes' ) ) { ?>
207                         <p><a href="<?php echo network_admin_url( 'theme-install.php' ); ?>" class="button button-large button-primary"><?php _e( 'Browse Themes' ); ?></a></p>
208                 <?php } ?>
209                 </div>
210         </div>
211 </div>
212
213 <hr>
214
215 <div class="changelog under-the-hood">
216         <h3><?php _e( 'Under the Hood' ); ?></h3>
217
218         <div class="feature-section col three-col">
219                 <div>
220                         <h4><?php _e( 'Semantic Captions and Galleries' ); ?></h4>
221                         <p><?php _e( 'Theme developers have new options for images and galleries that use intelligent HTML5 markup.' ); ?></p>
222
223                         <h4><?php _e( 'Inline Code Documentation' ); ?></h4>
224                         <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>
225                 </div>
226                 <div>
227                         <h4><?php _e( 'External Libraries' ); ?></h4>
228                         <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>
229
230                         <h4><?php _e( 'Improved Database Layer' ); ?></h4>
231                         <p><?php _e( 'Database connections are now more fault-resistant and have improved compatibility with PHP 5.5 and MySQL 5.6.' ); ?></p>
232                 </div>
233                 <div class="last-feature">
234                         <h4><?php _e( 'New Utility Functions' ); ?></h4>
235                         <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>
236                         <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>
237                 </div>
238 </div>
239
240 <hr>
241
242 <div class="return-to-dashboard">
243         <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
244         <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
245                 is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
246         ?></a> |
247         <?php endif; ?>
248         <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
249                 is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
250 </div>
251
252 </div>
253 <?php
254
255 include( ABSPATH . 'wp-admin/admin-footer.php' );
256
257 // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
258 return;
259
260 _n_noop( 'Maintenance Release', 'Maintenance Releases' );
261 _n_noop( 'Security Release', 'Security Releases' );
262 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
263
264 /* translators: 1: WordPress version number. */
265 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
266          '<strong>Version %1$s</strong> addressed some security issues.' );
267
268 /* translators: 1: WordPress version number, 2: plural number of bugs. */
269 _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
270          '<strong>Version %1$s</strong> addressed %2$s bugs.' );
271
272 /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
273 _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
274          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
275
276 /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
277 _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
278          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
279
280 __( 'For more information, see <a href="%s">the release notes</a>.' );