From 2f87b14d11932575d81568a6a746936729446939 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 4 Mar 2023 11:52:22 +0000 Subject: [PATCH] Tests: Make sure the correct query is tested for term limits in taxonomy queries. By hooking into `terms_pre_query` after the fixture posts and terms are created but before the actual taxonomy query runs, we ensure that the correct SQL query from `WP_Term_Query::get_terms()` is tested for requested term limits, rather than the one initiated from `wp_insert_post()` or `wp_insert_term()` via `term_exists()`. Follow-up to [52921], [53037]. Props david.binda. Fixes #57342. Built from https://develop.svn.wordpress.org/trunk@55460 git-svn-id: http://core.svn.wordpress.org/trunk@54993 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 80658ec74a..572b742149 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta4-55459'; +$wp_version = '6.2-beta4-55460'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.