Skip to content

Commit 94f1829

Browse files
committed
"Connector_Settings::callback_update_option()" signature parameter order fixed.
1 parent 76eb1d4 commit 94f1829

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

connectors/class-connector-settings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -618,12 +618,12 @@ function( $rule ) use ( $submenu, $record ) {
618618
* @action update_option
619619
*
620620
* @param string $option Option name.
621-
* @param mixed $value Option new value.
622621
* @param mixed $old_value Option old value.
622+
* @param mixed $value Option new value.
623623
*/
624-
public function callback_update_option( $option, $value, $old_value ) {
624+
public function callback_update_option( $option, $old_value, $value ) {
625625
if ( ( defined( '\WP_CLI' ) && \WP_CLI || did_action( 'customize_save' ) ) && array_key_exists( $option, $this->labels ) ) {
626-
$this->callback_updated_option( $option, $value, $old_value );
626+
$this->callback_updated_option( $option, $old_value, $value );
627627
}
628628
}
629629

0 commit comments

Comments
 (0)