Skip to content

Commit

Permalink
Update to WordPress 5.9.2. For more information, see https://wordpres…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation authored and greg-1-anderson committed Mar 11, 2022
1 parent a661407 commit c57e638
Show file tree
Hide file tree
Showing 11 changed files with 836 additions and 33 deletions.
27 changes: 26 additions & 1 deletion wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,32 @@

<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance Release' ); ?></h2>
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_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.',
1
),
'5.9.2',
number_format_i18n( 1 )
);
?>
<?php
printf(
/* 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.9.2' )
)
);
?>
</p>
<p>
<?php
printf(
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/includes/class-theme-installer-skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function after() {

$install_actions = array();

if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) {
if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) && ! $theme_info->is_block_theme() ) {
$customize_url = add_query_arg(
array(
'theme' => urlencode( $stylesheet ),
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/assets/script-loader-packages.php

Large diffs are not rendered by default.

Loading

0 comments on commit c57e638

Please sign in to comment.