mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Coding Standards: Use strict comparison in wp-includes/class-wp-user-query.php.
Follow-up to [31669], [47808]. Props aristath, poena, afercia, SergeyBiryukov. See #57839. git-svn-id: https://develop.svn.wordpress.org/trunk@56169 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1013,7 +1013,7 @@ class WP_User_Query {
|
||||
$_orderby = 'post_count';
|
||||
} elseif ( 'ID' === $orderby || 'id' === $orderby ) {
|
||||
$_orderby = 'ID';
|
||||
} elseif ( 'meta_value' === $orderby || $this->get( 'meta_key' ) == $orderby ) {
|
||||
} elseif ( 'meta_value' === $orderby || $this->get( 'meta_key' ) === $orderby ) {
|
||||
$_orderby = "$wpdb->usermeta.meta_value";
|
||||
} elseif ( 'meta_value_num' === $orderby ) {
|
||||
$_orderby = "$wpdb->usermeta.meta_value+0";
|
||||
|
||||
Reference in New Issue
Block a user