Coding Standards: Replace `else if` with `elseif` after [52338].
Follow-up to [52338]. Built from https://develop.svn.wordpress.org/trunk@52339 git-svn-id: http://core.svn.wordpress.org/trunk@51931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cdafa716f7
commit
153e27f625
|
@ -355,7 +355,7 @@ class WP_Dependencies {
|
||||||
if ( isset( $handle[1] ) ) {
|
if ( isset( $handle[1] ) ) {
|
||||||
$this->args[ $handle[0] ] = $handle[1];
|
$this->args[ $handle[0] ] = $handle[1];
|
||||||
}
|
}
|
||||||
} else if ( ! isset( $this->registered[ $handle[0] ] ) ) {
|
} elseif ( ! isset( $this->registered[ $handle[0] ] ) ) {
|
||||||
$this->queued_before_register[ $handle[0] ] = null; // $args
|
$this->queued_before_register[ $handle[0] ] = null; // $args
|
||||||
|
|
||||||
if ( isset( $handle[1] ) ) {
|
if ( isset( $handle[1] ) ) {
|
||||||
|
@ -387,7 +387,7 @@ class WP_Dependencies {
|
||||||
|
|
||||||
unset( $this->queue[ $key ] );
|
unset( $this->queue[ $key ] );
|
||||||
unset( $this->args[ $handle[0] ] );
|
unset( $this->args[ $handle[0] ] );
|
||||||
} else if ( array_key_exists( $handle[0], $this->queued_before_register ) ) {
|
} elseif ( array_key_exists( $handle[0], $this->queued_before_register ) ) {
|
||||||
unset( $this->queued_before_register[ $handle[0] ] );
|
unset( $this->queued_before_register[ $handle[0] ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-beta1-52338';
|
$wp_version = '5.9-beta1-52339';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue