2011-09-21 19:20:26 -04:00
< ? php
/**
* About This Version administration panel .
*
* @ package WordPress
* @ subpackage Administration
*/
/** WordPress Administration Bootstrap */
2013-09-24 20:18:11 -04:00
require_once ( dirname ( __FILE__ ) . '/admin.php' );
2011-09-21 19:20:26 -04:00
2014-04-16 13:55:15 -04:00
wp_enqueue_style ( 'wp-mediaelement' );
2014-08-27 00:40:15 -04:00
wp_enqueue_script ( 'wp-mediaelement' );
2014-09-04 11:05:18 -04:00
wp_localize_script ( 'mediaelement' , '_wpmejsSettings' , array (
'pluginPath' => includes_url ( 'js/mediaelement/' , 'relative' ),
'pauseOtherPlayers' => ''
) );
2014-04-16 13:40:14 -04:00
2011-09-21 19:20:26 -04:00
$title = __ ( 'About' );
2011-11-03 19:55:03 -04:00
list ( $display_version ) = explode ( '-' , $wp_version );
2012-01-06 12:53:41 -05:00
include ( ABSPATH . 'wp-admin/admin-header.php' );
2011-09-21 19:20:26 -04:00
?>
2014-04-16 13:55:15 -04:00
<!-- [ if lt IE 9 ] >< script > document . createElement ( 'audio' ); document . createElement ( 'video' ); </ script ><! [ endif ] -->
2011-11-03 19:13:50 -04:00
< div class = " wrap about-wrap " >
2011-09-21 19:20:26 -04:00
2013-12-06 20:34:12 -05:00
< h1 >< ? php printf ( __ ( 'Welcome to WordPress %s' ), $display_version ); ?> </h1>
2011-09-21 19:20:26 -04:00
2014-08-27 00:40:15 -04:00
< div class = " about-text " >< ? php printf ( __ ( 'Thank you for updating! WordPress %s brings you a smoother writing and management experience.' ), $display_version ); ?> </div>
2011-09-21 19:20:26 -04:00
2011-11-03 19:55:03 -04:00
< div class = " wp-badge " >< ? php printf ( __ ( 'Version %s' ), $display_version ); ?> </div>
2011-11-03 19:13:50 -04:00
< h2 class = " nav-tab-wrapper " >
2011-11-03 19:23:31 -04:00
< a href = " about.php " class = " nav-tab nav-tab-active " >
2011-12-01 18:13:56 -05:00
< ? php _e ( 'What’s New' ); ?>
2011-11-03 19:23:31 -04:00
</ a >< a href = " credits.php " class = " nav-tab " >
2011-11-03 19:13:50 -04:00
< ? php _e ( 'Credits' ); ?>
2011-11-03 19:23:31 -04:00
</ a >< a href = " freedoms.php " class = " nav-tab " >
2011-11-03 19:13:50 -04:00
< ? php _e ( 'Freedoms' ); ?>
</ a >
</ h2 >
2014-11-20 11:32:32 -05:00
< div class = " changelog point-releases " >
2017-01-11 11:59:18 -05:00
< h3 >< ? php echo _n ( 'Maintenance and Security Release' , 'Maintenance and Security Releases' , 14 ); ?> </h3>
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 8 ), '4.0.14' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.14' ); ?>
</ p >
2016-09-07 11:01:17 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 2 ), '4.0.13' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.13' ); ?>
</ p >
2016-06-21 12:42:17 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 9 ), '4.0.12' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.12' ); ?>
</ p >
2016-05-06 14:15:17 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 6 ), '4.0.11' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.11' ); ?>
</ p >
2016-02-02 12:29:36 -05:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 2 ), '4.0.10' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.10' ); ?>
</ p >
2016-01-06 13:50:38 -05:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 1 ), '4.0.9' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.9' ); ?>
</ p >
2015-09-15 10:29:25 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' , 2 ), '4.0.8' , number_format_i18n ( 2 ) ); ?>
2016-01-06 13:50:38 -05:00
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.8' ); ?>
2015-09-15 10:29:25 -04:00
</ p >
2015-08-04 07:52:35 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' , 2 ), '4.0.7' , number_format_i18n ( 2 ) ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.7' ); ?>
</ p >
2015-07-23 07:07:33 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 2 ), '4.0.6' ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.6' ); ?>
</ p >
2015-05-06 19:28:36 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' , 3 ), '4.0.5' , number_format_i18n ( 3 ) ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.5' ); ?>
</ p >
2015-04-27 13:17:37 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 1 ), '4.0.4' ); ?>
2015-05-06 19:28:36 -04:00
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.4' ); ?>
2015-04-27 13:17:37 -04:00
</ p >
2015-04-23 17:35:37 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed %2$s bugs.' , 1 ), '4.0.3' , number_format_i18n ( 1 ) ); ?>
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.3' ); ?>
</ p >
2015-04-20 13:39:35 -04:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' , 8 ), '4.0.2' ); ?>
2015-05-06 19:28:36 -04:00
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.2' ); ?>
2015-04-20 13:39:35 -04:00
</ p >
2014-11-20 11:32:32 -05:00
< p >< ? php printf ( _n ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' , 23 ), '4.0.1' , number_format_i18n ( 23 ) ); ?>
2015-05-06 19:28:36 -04:00
< ? php printf ( __ ( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.0.1' ); ?>
2014-11-20 11:32:32 -05:00
</ p >
</ div >
2011-09-21 19:20:26 -04:00
< div class = " changelog " >
2014-04-14 21:31:14 -04:00
< div class = " about-overview " >
2014-09-04 11:05:18 -04:00
< ? php if ( ( $locale = get_locale () ) && 'en_' === substr ( $locale , 0 , 3 ) ) : ?>
< embed src = " //v.wordpress.com/bUdzKMro " type = " application/x-shockwave-flash " width = " 640 " height = " 360 " allowscriptaccess = " always " allowfullscreen = " true " wmode = " transparent " ></ embed >
< ? php else : ?>
< img class = " about-overview-img " src = " //s.w.org/images/core/4.0/wp40.png " width = " 640 " height = " 360 " />
< ? php endif ; ?>
2014-04-14 21:31:14 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< hr />
< div class = " feature-section col two-col " >
2013-10-24 18:55:55 -04:00
< div class = " col-1 " >
2014-09-04 11:05:18 -04:00
< h3 >< ? php _e ( 'Manage your media with style' ); ?> </h3>
< 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>
</ div >
< div class = " col-2 last-feature " >
< img src = " //s.w.org/images/core/4.0/media.jpg " />
</ div >
</ div >
< hr />
< div class = " feature-section col two-col " >
< div class = " col-1 " >
< div class = " about-video about-video-embed " >
< ? php
echo wp_video_shortcode ( array (
'mp4' => '//s.w.org/images/core/4.0/embed.mp4' ,
'ogv' => '//s.w.org/images/core/4.0/embed.ogv' ,
'webm' => '//s.w.org/images/core/4.0/embed.webm' ,
'loop' => true ,
'autoplay' => true ,
'width' => 500 ,
'height' => 352
) );
?>
</ div >
2013-10-24 18:55:55 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< div class = " col-2 last-feature " >
< h3 >< ? php _e ( 'Working with embeds has never been easier' ); ?> </h3>
< 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>
< 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>
2013-10-24 18:55:12 -04:00
</ div >
2011-11-22 11:07:36 -05:00
</ div >
2014-04-14 21:31:14 -04:00
2014-05-18 16:33:15 -04:00
< hr />
2014-04-14 21:31:14 -04:00
< div class = " feature-section col two-col " >
2014-04-08 13:47:15 -04:00
< div class = " col-1 " >
2014-08-27 00:40:15 -04:00
< h3 >< ? php _e ( 'Focus on your content' ); ?> </h3>
< 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>
2013-07-27 08:10:58 -04:00
</ div >
2014-04-14 21:31:14 -04:00
< div class = " col-2 last-feature " >
2014-09-04 11:05:18 -04:00
< div class = " about-video about-video-focus " >
< ? php
echo wp_video_shortcode ( array (
'mp4' => '//s.w.org/images/core/4.0/focus.mp4' ,
'ogv' => '//s.w.org/images/core/4.0/focus.ogv' ,
'webm' => '//s.w.org/images/core/4.0/focus.webm' ,
'loop' => true ,
'autoplay' => true ,
'width' => 500 ,
'height' => 281
) );
?>
</ div >
2013-07-27 08:10:58 -04:00
</ div >
2012-06-01 21:16:35 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< hr />
2013-12-06 02:50:12 -05:00
2013-10-24 18:54:13 -04:00
< div class = " feature-section col two-col " >
2014-08-27 00:40:15 -04:00
< div class = " col-1 " >
2014-09-04 11:05:18 -04:00
< img src = " //s.w.org/images/core/4.0/plugins.png " />
2013-10-24 18:53:14 -04:00
</ div >
2014-08-27 00:40:15 -04:00
< div class = " col-2 last-feature " >
2014-09-04 11:05:18 -04:00
< h3 class = " higher " >< ? php _e ( 'Finding the right plugin' ); ?> </h3>
2014-08-27 00:40:15 -04:00
< 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>
< a href = " <?php echo admin_url( 'plugin-install.php' ); ?> " class = " button button-large button-primary " >< ? php _e ( 'Browse plugins' ); ?> </a>
2013-10-24 18:53:14 -04:00
</ div >
</ div >
2013-10-24 18:54:13 -04:00
</ div >
2014-05-18 16:33:15 -04:00
< hr />
2013-12-06 02:50:12 -05:00
2014-04-14 21:31:14 -04:00
< div class = " changelog under-the-hood " >
2014-04-08 13:47:15 -04:00
< h3 >< ? php _e ( 'Under the Hood' ); ?> </h3>
2013-12-06 02:50:12 -05:00
2014-04-08 13:47:15 -04:00
< div class = " feature-section col three-col " >
2013-12-06 02:50:12 -05:00
< div >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'Customizer API' ); ?> </h4>
< p >< ? php _e ( 'Contexts, panels, and a wider array of controls are now supported in the customizer.' ); ?> </p>
2014-04-08 13:47:15 -04:00
</ div >
< div >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'Query Ordering' ); ?> </h4>
< p >< ? php
/* translators: 1: "ORDER BY" (SQL), 2: "WP_Query" */
printf ( __ ( 'Developers have more flexibility creating %1$s clauses through %2$s.' ), '<code>ORDER BY</code>' , '<code>WP_Query</code>' );
?> </p>
2014-04-08 13:47:15 -04:00
</ div >
< div class = " last-feature " >
2014-08-27 00:40:15 -04:00
< h4 >< ? php _e ( 'External Libraries' ); ?> </h4>
< p >< ? php _e ( 'Updated libraries: TinyMCE 4.1.3, jQuery 1.11.1, MediaElement 2.15.' ); ?> </p>
2013-12-06 02:50:12 -05:00
</ div >
2014-05-18 16:33:15 -04:00
</ div >
2013-12-06 02:50:12 -05:00
2014-05-18 16:33:15 -04:00
< hr />
< div class = " return-to-dashboard " >
< ? php if ( current_user_can ( 'update_core' ) && isset ( $_GET [ 'updated' ] ) ) : ?>
< a href = " <?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?> " >< ? php
is_multisite () ? _e ( 'Return to Updates' ) : _e ( 'Return to Dashboard → Updates' );
?> </a> |
< ? php endif ; ?>
< a href = " <?php echo esc_url( self_admin_url() ); ?> " >< ? php
is_blog_admin () ? _e ( 'Go to Dashboard → Home' ) : _e ( 'Go to Dashboard' ); ?> </a>
</ div >
2013-12-06 02:50:12 -05:00
2011-11-03 19:13:50 -04:00
</ div >
2011-09-21 19:20:26 -04:00
</ div >
< ? php
2012-01-06 12:53:41 -05:00
include ( ABSPATH . 'wp-admin/admin-footer.php' );
2011-12-01 18:13:56 -05:00
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
return ;
_n_noop ( 'Maintenance Release' , 'Maintenance Releases' );
_n_noop ( 'Security Release' , 'Security Releases' );
_n_noop ( 'Maintenance and Security Release' , 'Maintenance and Security Releases' );
/* translators: 1: WordPress version number. */
_n_noop ( '<strong>Version %1$s</strong> addressed a security issue.' ,
'<strong>Version %1$s</strong> addressed some security issues.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n_noop ( '<strong>Version %1$s</strong> addressed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
_n_noop ( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n_noop ( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.' ,
2011-12-01 18:13:56 -05:00
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
2011-12-02 12:17:08 -05:00
__ ( 'For more information, see <a href="%s">the release notes</a>.' );