diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index 4a30934a5e..c9f30f5158 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -4466,7 +4466,7 @@ function wp_ajax_update_plugin() { /* * Plugin is already at the latest version. * - * This may also be the return value If the `update_plugins` site transient is empty, + * This may also be the return value if the `update_plugins` site transient is empty, * e.g. when you update two plugins in quick succession before the transient repopulates. * * Preferably something can be done to ensure `update_plugins` isn't empty. diff --git a/wp-admin/includes/class-plugin-installer-skin.php b/wp-admin/includes/class-plugin-installer-skin.php index d2c038702a..c23b51e7f3 100644 --- a/wp-admin/includes/class-plugin-installer-skin.php +++ b/wp-admin/includes/class-plugin-installer-skin.php @@ -232,13 +232,13 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { $table .= ''; /** - * Filters the compare table output for overwrite a plugin package on upload. + * Filters the compare table output for overwriting a plugin package on upload. * * @since 5.5.0 * - * @param string $table The output table with Name, Version, Author, RequiresWP and RequiresPHP info. - * @param array $current_plugin_data Array with current plugin data. - * @param array $new_plugin_data Array with uploaded plugin data. + * @param string $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info. + * @param array $current_plugin_data Array with current plugin data. + * @param array $new_plugin_data Array with uploaded plugin data. */ echo apply_filters( 'install_plugin_ovewrite_comparison', $table, $current_plugin_data, $this->upgrader->new_plugin_data ); diff --git a/wp-admin/includes/class-plugin-upgrader.php b/wp-admin/includes/class-plugin-upgrader.php index 22f8221e7b..c5476c886b 100644 --- a/wp-admin/includes/class-plugin-upgrader.php +++ b/wp-admin/includes/class-plugin-upgrader.php @@ -247,8 +247,8 @@ class Plugin_Upgrader extends WP_Upgrader { // Force refresh of plugin update information. wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); - // Ensure any future auto-update failures trigger a failure email by removing the last - // failure notification from the list when plugins update successfully. + // Ensure any future auto-update failures trigger a failure email by removing + // the last failure notification from the list when plugins update successfully. $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() ); if ( isset( $past_failure_emails[ $plugin ] ) ) { @@ -379,8 +379,8 @@ class Plugin_Upgrader extends WP_Upgrader { // Cleanup our hooks, in case something else does a upgrade on this connection. remove_filter( 'upgrader_clear_destination', array( $this, 'delete_old_plugin' ) ); - // Ensure any future auto-update failures trigger a failure email by removing the last - // failure notification from the list when plugins update successfully. + // Ensure any future auto-update failures trigger a failure email by removing + // the last failure notification from the list when plugins update successfully. $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() ); foreach ( $results as $plugin => $result ) { diff --git a/wp-admin/includes/class-theme-installer-skin.php b/wp-admin/includes/class-theme-installer-skin.php index 2cdc698909..04693a879b 100644 --- a/wp-admin/includes/class-theme-installer-skin.php +++ b/wp-admin/includes/class-theme-installer-skin.php @@ -267,13 +267,13 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { $table .= ''; /** - * Filters the compare table output for overwrite a theme package on upload. + * Filters the compare table output for overwriting a theme package on upload. * * @since 5.5.0 * - * @param string $table The output table with Name, Version, Author, RequiresWP and RequiresPHP info. - * @param array $current_theme_data Array with current theme data. - * @param array $new_theme_data Array with uploaded theme data. + * @param string $table The output table with Name, Version, Author, RequiresWP, and RequiresPHP info. + * @param array $current_theme_data Array with current theme data. + * @param array $new_theme_data Array with uploaded theme data. */ echo apply_filters( 'install_theme_overwrite_comparison', $table, $current_theme_data, $this->upgrader->new_theme_data ); diff --git a/wp-admin/includes/class-theme-upgrader.php b/wp-admin/includes/class-theme-upgrader.php index b5364c84ce..b70ae7f743 100644 --- a/wp-admin/includes/class-theme-upgrader.php +++ b/wp-admin/includes/class-theme-upgrader.php @@ -352,8 +352,8 @@ class Theme_Upgrader extends WP_Upgrader { wp_clean_themes_cache( $parsed_args['clear_update_cache'] ); - // Ensure any future auto-update failures trigger a failure email by removing the last - // failure notification from the list when themes update successfully. + // Ensure any future auto-update failures trigger a failure email by removing + // the last failure notification from the list when themes update successfully. $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() ); if ( isset( $past_failure_emails[ $theme ] ) ) { @@ -488,8 +488,8 @@ class Theme_Upgrader extends WP_Upgrader { remove_filter( 'upgrader_post_install', array( $this, 'current_after' ) ); remove_filter( 'upgrader_clear_destination', array( $this, 'delete_old_theme' ) ); - // Ensure any future auto-update failures trigger a failure email by removing the last - // failure notification from the list when themes update successfully. + // Ensure any future auto-update failures trigger a failure email by removing + // the last failure notification from the list when themes update successfully. $past_failure_emails = get_option( 'auto_plugin_theme_update_emails', array() ); foreach ( $results as $theme => $result ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 265320de08..61869de70b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta1-48445'; +$wp_version = '5.5-beta1-48446'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.