protected function generate_cache_key( array
$args,
$sql ) { global $wpdb;
// Replace wpdb placeholder in the SQL statement used by the cache key.
$sql =
$wpdb->
remove_placeholder_escape( $sql );
$key =
md5( $sql );
$last_changed =
wp_cache_get_last_changed( 'users'
);
if ( empty( $args['orderby'
] ) ) { // Default order is by 'user_login'.
$ordersby = array
( 'user_login' => ''
);
} elseif ( is_array( $args['orderby'
] ) ) { $ordersby =
$args['orderby'
];
} else { // 'orderby' values may be a comma- or space-separated list.