mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
Customizer et al, use elseif in PHP, not else if.
This was corrected via brute force in [31090]. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -721,7 +721,7 @@ class WP_User_Query {
|
||||
if ( empty( $qv['orderby'] ) ) {
|
||||
// Default order is by 'user_login'.
|
||||
$ordersby = array( 'user_login' => $order );
|
||||
} else if ( is_array( $qv['orderby'] ) ) {
|
||||
} elseif ( is_array( $qv['orderby'] ) ) {
|
||||
$ordersby = $qv['orderby'];
|
||||
} else {
|
||||
// 'orderby' values may be a comma- or space-separated list.
|
||||
|
||||
Reference in New Issue
Block a user