mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Upgrader: Fix the order of arguements passed to wp_parse_args() in the Upgrader, introduced with [25272]. See #22704
Built from https://develop.svn.wordpress.org/trunk@25495 git-svn-id: http://core.svn.wordpress.org/trunk@25416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
98d5c50e5f
commit
340e129deb
@ -430,7 +430,7 @@ class Plugin_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->install_strings();
|
$this->install_strings();
|
||||||
@ -463,7 +463,7 @@ class Plugin_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->upgrade_strings();
|
$this->upgrade_strings();
|
||||||
@ -514,7 +514,7 @@ class Plugin_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->bulk = true;
|
$this->bulk = true;
|
||||||
@ -802,7 +802,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->install_strings();
|
$this->install_strings();
|
||||||
@ -836,7 +836,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->upgrade_strings();
|
$this->upgrade_strings();
|
||||||
@ -886,7 +886,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
|||||||
$defaults = array(
|
$defaults = array(
|
||||||
'clear_update_cache' => true,
|
'clear_update_cache' => true,
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->bulk = true;
|
$this->bulk = true;
|
||||||
@ -1096,7 +1096,7 @@ class Core_Upgrader extends WP_Upgrader {
|
|||||||
|
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
);
|
);
|
||||||
$parsed_args = wp_parse_args( $defaults, $args );
|
$parsed_args = wp_parse_args( $args, $defaults );
|
||||||
|
|
||||||
$this->init();
|
$this->init();
|
||||||
$this->upgrade_strings();
|
$this->upgrade_strings();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user