From 1aa48c68f5b5771389ff5189d8c3640b2d336b1e Mon Sep 17 00:00:00 2001 From: desrosj Date: Tue, 28 Jul 2020 17:56:04 +0000 Subject: [PATCH] =?UTF-8?q?Upgrade/Install:=20Correct=20spelling=20of=20?= =?UTF-8?q?=E2=80=9Coverwrite=E2=80=9D=20in=20new=20hooks=20and=20array=20?= =?UTF-8?q?indexes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #9757. Built from https://develop.svn.wordpress.org/trunk@48676 git-svn-id: http://core.svn.wordpress.org/trunk@48438 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-plugin-installer-skin.php | 8 ++++---- wp-admin/includes/class-theme-installer-skin.php | 6 +++--- wp-includes/version.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/class-plugin-installer-skin.php b/wp-admin/includes/class-plugin-installer-skin.php index b8cf4b41db..65c0088d67 100644 --- a/wp-admin/includes/class-plugin-installer-skin.php +++ b/wp-admin/includes/class-plugin-installer-skin.php @@ -251,7 +251,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { * @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, $new_plugin_data ); + echo apply_filters( 'install_plugin_overwrite_comparison', $table, $current_plugin_data, $new_plugin_data ); $install_actions = array(); $can_update = true; @@ -307,7 +307,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { $overwrite = $this->is_downgrading ? 'downgrade-plugin' : 'update-plugin'; - $install_actions['ovewrite_plugin'] = sprintf( + $install_actions['overwrite_plugin'] = sprintf( '%s', wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'plugin-upload' ), __( 'Replace current with uploaded' ) @@ -325,7 +325,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { ); /** - * Filters the list of action links available following a single plugin installation failed but ovewrite is allowed. + * Filters the list of action links available following a single plugin installation failed but overwrite is allowed. * * @since 5.5.0 * @@ -333,7 +333,7 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin { * @param object $api Object containing WordPress.org API plugin data. * @param array $new_plugin_data Array with uploaded plugin data. */ - $install_actions = apply_filters( 'install_plugin_ovewrite_actions', $install_actions, $this->api, $new_plugin_data ); + $install_actions = apply_filters( 'install_plugin_overwrite_actions', $install_actions, $this->api, $new_plugin_data ); if ( ! empty( $install_actions ) ) { printf( diff --git a/wp-admin/includes/class-theme-installer-skin.php b/wp-admin/includes/class-theme-installer-skin.php index cd6145a978..9d93bcfadf 100644 --- a/wp-admin/includes/class-theme-installer-skin.php +++ b/wp-admin/includes/class-theme-installer-skin.php @@ -340,7 +340,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { $overwrite = $this->is_downgrading ? 'downgrade-theme' : 'update-theme'; - $install_actions['ovewrite_theme'] = sprintf( + $install_actions['overwrite_theme'] = sprintf( '%s', wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ), __( 'Replace current with uploaded' ) @@ -358,7 +358,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { ); /** - * Filters the list of action links available following a single theme installation failed but ovewrite is allowed. + * Filters the list of action links available following a single theme installation failed but overwrite is allowed. * * @since 5.5.0 * @@ -366,7 +366,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin { * @param object $api Object containing WordPress.org API theme data. * @param array $new_theme_data Array with uploaded theme data. */ - $install_actions = apply_filters( 'install_theme_ovewrite_actions', $install_actions, $this->api, $new_theme_data ); + $install_actions = apply_filters( 'install_theme_overwrite_actions', $install_actions, $this->api, $new_theme_data ); if ( ! empty( $install_actions ) ) { printf( diff --git a/wp-includes/version.php b/wp-includes/version.php index 38e2344ccd..adb49c45aa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta4-48675'; +$wp_version = '5.5-beta4-48676'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.