diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index 1e695bd052..1a9baa21ca 100644 --- a/wp-includes/class-wp-query.php +++ b/wp-includes/class-wp-query.php @@ -3110,13 +3110,13 @@ class WP_Query { */ $id_query_is_cacheable = ! str_contains( strtoupper( $orderby ), ' RAND(' ); - $cachable_field_values = array( + $cacheable_field_values = array( "{$wpdb->posts}.*", "{$wpdb->posts}.ID, {$wpdb->posts}.post_parent", "{$wpdb->posts}.ID", ); - if ( ! in_array( $fields, $cachable_field_values, true ) ) { + if ( ! in_array( $fields, $cacheable_field_values, true ) ) { $id_query_is_cacheable = false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 16591f33a0..97934b53b2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54776'; +$wp_version = '6.2-alpha-54777'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.