mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 20:09:53 +01:00
Coding Standards: Replace else if
with elseif
after [52338].
Follow-up to [52338]. git-svn-id: https://develop.svn.wordpress.org/trunk@52339 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6f546a023c
commit
6fa3ac1b1e
@ -355,7 +355,7 @@ class WP_Dependencies {
|
||||
if ( isset( $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
|
||||
|
||||
if ( isset( $handle[1] ) ) {
|
||||
@ -387,7 +387,7 @@ class WP_Dependencies {
|
||||
|
||||
unset( $this->queue[ $key ] );
|
||||
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] ] );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user