mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01: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. Built from https://develop.svn.wordpress.org/trunk@56169 git-svn-id: http://core.svn.wordpress.org/trunk@55681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
92ab411bb5
commit
b868da5619
@ -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";
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-beta3-56168';
|
||||
$wp_version = '6.3-beta3-56169';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user