2017-06-13 09:45:37 +02:00
< ? php
/**
* About This Version administration panel .
*
* @ package WordPress
* @ subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once ( dirname ( __FILE__ ) . '/admin.php' );
2018-12-04 14:01:14 +01:00
/* translators: Page title of the About WordPress page in the admin. */
$title = _x ( 'About' , 'page title' );
2017-06-13 09:45:37 +02:00
list ( $display_version ) = explode ( '-' , get_bloginfo ( 'version' ) );
include ( ABSPATH . 'wp-admin/admin-header.php' );
?>
2017-12-13 16:03:04 +01:00
< div class = " wrap about-wrap full-width-layout " >
2020-02-21 15:18:35 +01:00
< h1 >
< ? php
/* translators: %s: The current WordPress version number */
printf ( __ ( 'Welcome to WordPress %s' ), $display_version );
?>
</ h1 >
< p class = " about-text " >
< ? php
printf (
/* translators: %s: The current WordPress version number */
__ ( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
$display_version
);
?>
</ p >
< div class = " wp-badge " >
< ? php
/* translators: %s: The current WordPress version number */
printf ( __ ( 'Version %s' ), $display_version );
?>
</ div >
2017-06-13 09:45:37 +02:00
2020-02-21 15:18:35 +01:00
< nav class = " nav-tab-wrapper wp-clearfix " aria - label = " <?php esc_attr_e( 'Secondary menu' ); ?> " >
< a href = " about.php " class = " nav-tab nav-tab-active " aria - current = " page " >< ? php _e ( 'What’s New' ); ?> </a>
2017-06-13 09:45:37 +02:00
< a href = " credits.php " class = " nav-tab " >< ? php _e ( 'Credits' ); ?> </a>
< a href = " freedoms.php " class = " nav-tab " >< ? php _e ( 'Freedoms' ); ?> </a>
2018-12-04 14:01:14 +01:00
< a href = " freedoms.php?privacy-notice " class = " nav-tab " >< ? php _e ( 'Privacy' ); ?> </a>
2020-02-21 15:18:35 +01:00
</ nav >
2017-06-13 09:45:37 +02:00
2017-11-15 16:23:10 +01:00
< div class = " changelog point-releases " >
< h3 >< ? php _e ( 'Maintenance and Security Releases' ); ?> </h3>
2018-12-04 14:01:14 +01:00
< p >
< ? php
printf (
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n (
'<strong>Version %1$s</strong> addressed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed %2$s bugs.' ,
2020-02-21 15:18:35 +01:00
13
2018-12-04 14:01:14 +01:00
),
2020-02-21 15:18:35 +01:00
'5.2.2' ,
number_format_i18n ( 13 )
2018-12-04 14:01:14 +01:00
);
?>
2018-12-03 13:56:48 +01:00
< ? php
printf (
2020-02-21 15:18:35 +01:00
/* translators: %s: HelpHub URL */
__ ( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf (
/* translators: %s: WordPress version */
esc_url ( __ ( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title ( '5.2.2' )
)
2018-12-03 13:56:48 +01:00
);
?>
</ p >
< p >
< ? php
printf (
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n (
'<strong>Version %1$s</strong> addressed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed %2$s bugs.' ,
2020-02-21 15:18:35 +01:00
33
2018-12-03 13:56:48 +01:00
),
2020-02-21 15:18:35 +01:00
'5.2.1' ,
number_format_i18n ( 33 )
2018-12-03 13:56:48 +01:00
);
?>
2017-12-13 16:03:04 +01:00
< ? php
printf (
2020-02-21 15:18:35 +01:00
/* translators: %s: HelpHub URL */
__ ( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf (
/* translators: %s: WordPress version */
esc_url ( __ ( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title ( '5.2.1' )
)
2017-12-13 16:03:04 +01:00
);
?>
2017-11-15 16:23:10 +01:00
</ p >
</ div >
2020-02-21 15:18:35 +01:00
< div class = " headline-feature " >
< h2 >< ? php _e ( 'Keeping Your Site Safe' ); ?> </h2>
< p class = " lead-description " >< ? php _e ( 'WordPress 5.2 gives you even more robust tools for identifying and fixing configuration issues and fatal errors. Whether you are a developer helping clients or you manage your site solo, these tools can help get you the right information when you need it.' ); ?> </p>
< div class = " inline-svg aligncenter " >
< img src = " https://s.w.org/images/core/5.2/about_maintain-wordpress-v2.svg " alt = " " >
2017-06-23 09:45:14 +02:00
</ div >
2017-06-13 09:45:37 +02:00
</ div >
2020-02-21 15:18:35 +01:00
< hr />
2017-06-13 09:45:37 +02:00
2020-02-21 15:18:35 +01:00
< div class = " feature-section is-wide has-2-columns is-wider-left " >
< div class = " column is-vertically-aligned-center " >
< h3 >< ? php _e ( 'Site Health Check' ); ?> </h3>
< p >
< ? php
printf (
/* translators: 1: link to the WordPress 5.1 release post */
__ ( 'Building on <a href="%1$s">the Site Health features introduced in 5.1</a>, this release adds two new pages to help debug common configuration issues. It also adds space where developers can include debugging information for site maintainers.' ),
__ ( 'https://wordpress.org/news/2019/02/betty/' )
);
2017-06-23 09:45:14 +02:00
2020-02-21 15:18:35 +01:00
if ( current_user_can ( 'install_plugins' ) ) {
printf (
/* translators: 1: link to /wp-admin/site-health.php 2: link to /wp-admin/site-health.php?tab=debug */
__ ( ' <a href="%1$s">Check your site status</a>, and <a href="%2$s">learn how to debug issues</a>.' ),
admin_url ( 'site-health.php' ),
admin_url ( 'site-health.php?tab=debug' )
);
}
?>
</ p >
</ div >
< div class = " column " >
< div class = " inline-svg aligncenter " >
< img src = " https://s.w.org/images/core/5.2/about_site-health.svg " alt = " " >
2017-12-13 16:03:04 +01:00
</ div >
2017-06-23 09:45:14 +02:00
</ div >
2017-06-13 09:45:37 +02:00
</ div >
2020-02-21 15:18:35 +01:00
< hr />
2017-12-13 16:03:04 +01:00
2020-02-21 15:18:35 +01:00
< div class = " feature-section is-wide has-2-columns is-wider-right " >
< div class = " column " >
< div class = " inline-svg aligncenter " >
< img src = " https://s.w.org/images/core/5.2/about_error-protection.svg " alt = " " >
2017-12-13 16:03:04 +01:00
</ div >
2017-06-13 09:45:37 +02:00
</ div >
2020-02-21 15:18:35 +01:00
< div class = " column is-vertically-aligned-center " >
< h3 >< ? php _e ( 'PHP Error Protection' ); ?> </h3>
< p >< ? php _e ( 'This administrator-focused update will let you safely fix or manage fatal errors without requiring developer time. It features better handling of the so-called “white screen of death”, and a way to enter recovery mode, which pauses error-causing plugins or themes.' ); ?> </p>
</ div >
2017-06-13 09:45:37 +02:00
</ div >
2020-02-21 15:18:35 +01:00
< hr />
2017-12-13 16:03:04 +01:00
2020-02-21 15:18:35 +01:00
< h3 class = " aligncenter " >< ? php _e ( 'Improvements for Everyone' ); ?> </h3>
2017-06-13 09:45:37 +02:00
2020-02-21 15:18:35 +01:00
< div class = " has-2-columns " >
< div class = " column aligncenter " >
< h4 >< ? php _e ( 'Accessibility Updates' ); ?> </h4>
< p >< ? php _e ( 'A number of changes work together to improve contextual awareness and keyboard navigation flow for those using screen readers and other assistive technologies.' ); ?> </p>
2017-12-13 16:03:04 +01:00
</ div >
2020-02-21 15:18:35 +01:00
< div class = " column aligncenter " >
< h4 >< ? php _e ( 'New Dashboard Icons' ); ?> </h4>
< p >< ? php _e ( 'Thirteen new icons include Instagram, a suite of icons for BuddyPress, and rotated Earth icons for global inclusion. Find them in the Dashboard and have some fun!' ); ?> </p>
2017-12-13 16:03:04 +01:00
</ div >
</ div >
2017-06-13 09:45:37 +02:00
< hr />
2020-02-21 15:18:35 +01:00
< h3 class = " aligncenter " >< ? php _e ( 'Developer Happiness' ); ?> </h3>
2017-06-13 09:45:37 +02:00
2020-02-21 15:18:35 +01:00
< div class = " has-2-columns is-fullwidth " >
< div class = " column " >
< h4 >< a href = " https://make.wordpress.org/core/2019/03/26/coding-standards-updates-for-php-5-6/ " >< ? php _e ( 'PHP Version Bump' ); ?> </a></h4>
< p >< ? php _e ( 'The minimum supported PHP version is now 5.6.20. As of WordPress 5.2, themes and plugins can safely take advantage of namespaces, anonymous functions, and more!' ); ?> </p>
</ div >
< div class = " column " >
< h4 >< a href = " https://make.wordpress.org/core/2019/04/24/developer-focused-privacy-updates-in-5-2/ " >< ? php _e ( 'Privacy Updates' ); ?> </a></h4>
< p >< ? php _e ( 'A new theme page template, a conditional function, and two CSS classes make designing and customizing the Privacy Policy page easier.' ); ?> </p>
</ div >
</ div >
< div class = " has-2-columns is-fullwidth " >
< div class = " column " >
< h4 >< a href = " https://make.wordpress.org/core/2019/04/24/miscellaneous-developer-updates-in-5-2/ " >< ? php _e ( 'New Body Tag Hook' ); ?> </a></h4>
< p >
< ? php
printf (
/* translators: 1: wp_body_open 2: <body> */
__ ( '5.2 introduces a %1$s hook, which lets themes support injecting code right at the beginning of the %2$s element.' ),
'<code>wp_body_open</code>' ,
'<code><body></code>'
);
?>
</ p >
</ div >
< div class = " column " >
< h4 >< a href = " https://make.wordpress.org/core/2019/03/25/building-javascript/ " >< ? php _e ( 'Building JavaScript' ); ?> </a></h4>
< p >< ? php _e ( 'With the addition of webpack and Babel configurations in the @wordpress/scripts package, developers won’t have to worry about setting up complex build tools to write modern JavaScript.' ); ?> </p>
2017-06-13 09:45:37 +02:00
</ div >
</ div >
< 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 >
</ div >
< ? php
include ( ABSPATH . 'wp-admin/admin-footer.php' );
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
return ;
__ ( 'Maintenance Release' );
__ ( 'Maintenance Releases' );
__ ( 'Security Release' );
__ ( 'Security Releases' );
__ ( 'Maintenance and Security Release' );
__ ( 'Maintenance and Security Releases' );
/* translators: %s: WordPress version number */
__ ( '<strong>Version %s</strong> addressed one security issue.' );
/* translators: %s: WordPress version number */
__ ( '<strong>Version %s</strong> addressed some security issues.' );
/* translators: 1: WordPress version number, 2: plural number of bugs. */
2020-02-21 15:18:35 +01:00
_n_noop (
'<strong>Version %1$s</strong> addressed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed %2$s bugs.'
);
2017-06-13 09:45:37 +02:00
/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
2020-02-21 15:18:35 +01:00
_n_noop (
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.' ,
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
);
2017-06-13 09:45:37 +02:00
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
2020-02-21 15:18:35 +01:00
_n_noop (
'<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.'
);
2017-06-13 09:45:37 +02:00
/* translators: %s: Codex URL */
__ ( 'For more information, see <a href="%s">the release notes</a>.' );