Make WordPress Core

{31} Tickets in the Query component (273 matches)

Arguments
Create a new ticket
  • Active tickets in the Query component
  • Grouped by workflow and sorted by type, summary
  • Accepted tickets have an '*' appended to their owner's name

Results (1 - 100 of 273)

1 2 3

Candidates for Closure (26 matches)

Ticket Summary Owner Priority Severity Milestone Type Workflow Modified
#63315 Docs: Improve the `prepare()` function inline docs normal normal Awaiting Review defect (bug) close 04/21/2025
#48047 Querying (non-CPT) posts from more than one (native) category only returning posts from first category normal normal Awaiting Review defect (bug) close 09/11/2025
#62484 Multiple selection of post type in Query loop block normal normal Awaiting Review enhancement close 05/26/2025
#58600 wp_query Enhancement normal normal Awaiting Review feature request close 07/03/2023
#50070 'post_type' query variable not set for taxonomy queries normal normal Awaiting Review defect (bug) dev-feedback 05/27/2020
#63359 Are ignore_sticky_posts working as expected? normal major Awaiting Review defect (bug) dev-feedback 05/12/2025
#44848 Ensure that empty author profiles have proper 404 behaviour normal normal Awaiting Review defect (bug) dev-feedback 09/17/2019
#52921 If page content blank and any page shows 404 error normal normal Awaiting Review defect (bug) dev-feedback 03/30/2021
#62931 Inconsistency When Querying and Sorting by meta_key with Multiple Values normal normal Awaiting Review defect (bug) dev-feedback 02/10/2025
#58515 Need to use $wpdb->prepare instead of sprintf normal normal Awaiting Review defect (bug) dev-feedback 06/22/2023
#44349 Posts show up multiple times in backend when they have the exact same date normal normal Awaiting Review defect (bug) dev-feedback 10/15/2025
#48078 Some WP_XXX_Query::query() methods produce incorrect results when called in a loop normal normal Awaiting Review defect (bug) dev-feedback 09/20/2019
#39945 WP_Query::get_posts fails to correctly sanitize 'posts_per_page' normal normal Awaiting Review defect (bug) dev-feedback 03/03/2020
#48193 Improve the WordPress loop normal normal Awaiting Review enhancement dev-feedback 01/20/2024
#49429 There seems to be no way to check query value for NULL normal normal Awaiting Review enhancement dev-feedback 02/14/2020
#58234 sanitize_title_with_dashes fatal error when query var value is an array in php 8 normal normal Awaiting Review defect (bug) needs-unit-tests 01/31/2025
#52732 'get_posts' has been waiting for so long to have a hook normal normal Awaiting Review defect (bug) reporter-feedback 02/13/2024
#59235 AJAX request returns critical error in class-wp-date-query.php normal normal Awaiting Review defect (bug) reporter-feedback 10/30/2023
#63619 Cached WP_Term_Query result attempts object conversion to int normal normal Awaiting Review defect (bug) reporter-feedback 06/25/2025
#44903 Multisite - Archive Main Query Duplicate Paged Posts normal normal Awaiting Review defect (bug) reporter-feedback 09/13/2018
#48524 Notice: Undefined variable: matches normal minor Awaiting Review defect (bug) reporter-feedback 11/09/2019
#42256 Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches posts_per_page normal normal Awaiting Review defect (bug) reporter-feedback 11/21/2017
#45394 get_posts fails to return results when accessing admin with a custom user role normal normal Awaiting Review defect (bug) reporter-feedback 12/10/2018
#61763 get_posts($args) returns "auto-drafts" even when "post_status=>publish" normal normal Awaiting Review defect (bug) reporter-feedback 07/26/2024
#57083 wp_list_authors and WP Search Users normal normal Awaiting Review defect (bug) reporter-feedback 11/16/2022
#55287 Allow for DISTINCT in WP_Query method normal normal Awaiting Review feature request reporter-feedback 09/11/2025

Slated for Next Release (1 match)

Ticket Summary Owner Priority Severity Milestone Type Workflow Modified
#35913 `is_()` conditional methods should share their logic normal normal 7.0 defect (bug) dev-feedback 11/06/2025

Tickets Awaiting Review (73 matches)

Ticket Summary Owner Priority Severity Milestone Type Workflow Modified
#43372 $wp_query->max_num_pages return value as float normal trivial Awaiting Review defect (bug) 02/10/2022
#39914 'orderby' date results differs depend on 'post_status' normal normal Awaiting Review defect (bug) 02/19/2017
#55649 Block Query with full post content do not display properly normal normal Awaiting Review defect (bug) 05/02/2022
#56165 Bogus query parameters force WordPress to drop query limit and exhausts memory normal normal Awaiting Review defect (bug) 07/06/2022
#28568 Can't get private posts/pages via WP_Query when not logged in as administrator normal normal Awaiting Review defect (bug) 03/22/2019
#60963 Custom query, inherit main query, show scheduled posts normal major Awaiting Review defect (bug) 09/06/2025
#58200 Empty result when meta_query is supposed to select date less than certain date normal normal Awaiting Review defect (bug) 11/10/2023
#40903 Filtered posts_request query can break found_posts query normal normal Awaiting Review defect (bug) 06/01/2017
#60395 Filtering posts by open ping_status returns posts with closed ping_status normal normal Awaiting Review defect (bug) 01/31/2024
#63406 Lack of mutex for query object values like is_category and is_author can result in warnings normal normal Awaiting Review defect (bug) 08/06/2025
#47493 Meta Query Sorting with relation => OR not behaving as expected normal normal Awaiting Review defect (bug) 06/06/2019
#37251 Not return 404 on front-page with option page and url `/page/2` normal normal Awaiting Review defect (bug) 05/28/2023
#40397 PHP 7.1.x problem in WP_Query normal normal Awaiting Review defect (bug) 01/11/2018
#40984 Possible Bug with Named Orderby Meta Query SQL normal normal Awaiting Review defect (bug) 06/09/2017
#60027 Post patterns show no posts normal major Awaiting Review defect (bug) 08/24/2024
#42732 Problem with usage of WP_Term_Query inside WP_Tax_Query normal normal Awaiting Review defect (bug) 11/28/2017
#48020 Queries display in inconsistent order when ordering by meta_value_num normal normal Awaiting Review defect (bug) 09/11/2019
#56081 Query Loop block with selection causes Sticky Posts setting to be ignored normal normal Awaiting Review defect (bug) 06/27/2022
#60274 Query loop showing too many posts normal normal Awaiting Review defect (bug) 01/17/2024
#57767 SQL query error with multiple order specifications in pre_get_posts. normal critical Awaiting Review defect (bug) 02/21/2023
#46285 Search colums of WP User Query vars is not updated after applying user_search_columns filter normal trivial Awaiting Review defect (bug) 02/20/2019
#45376 Search not working as described in codex normal normal Awaiting Review defect (bug) 12/07/2018
#54853 Search only searching phrases and not searching individual terms normal normal Awaiting Review defect (bug) 01/19/2022
#50885 Setting a pre_get_posts query post_type to array results in broken wp-admin filters normal normal Awaiting Review defect (bug) 08/11/2020
#54436 Sorting issue- when sorting via a custom meta key normal normal Awaiting Review defect (bug) 11/14/2021
#39140 Taxonomies - operator AND doesn't work properly for taxonomy hierarchies normal normal Awaiting Review defect (bug) 01/08/2019
#41446 The PHP notice displayed after the overwriting global $posts by a new empty query. normal normal Awaiting Review defect (bug) 08/25/2020
#63106 The loop can throw warning if `WP_Query::have_posts()` not called. low normal Awaiting Review defect (bug) 03/15/2025
#58553 Two query blocks on home template (FSE) breaks the second one normal normal Awaiting Review defect (bug) 06/16/2023
#57412 Uncaught TypeError: Cannot read properties of undefined (reading 'length'): jquery migrate normal critical Awaiting Review defect (bug) 01/03/2023
#58806 Unexpected ordering result when ordering based on multiple clauses normal normal Awaiting Review defect (bug) 07/14/2023
#54268 Using `author_name` in URL parameter gives unexpected results when logged into contributor account normal minor Awaiting Review defect (bug) 10/14/2021
#41546 WP Query order by meta_clause not working correctly for decimal values normal normal Awaiting Review defect (bug) 08/05/2017
#62044 WP allows to inject random strings into archive page urls, still returning 200 normal critical Awaiting Review defect (bug) 05/12/2025
#62401 WP_Query add extra JOINs after calling get_posts() with category__in in query arguments normal normal Awaiting Review defect (bug) 02/07/2025
#47009 WP_Query bug with author=0 normal normal Awaiting Review defect (bug) 04/22/2019
#40387 WP_Query bug with product post type with search parameter on normal normal Awaiting Review defect (bug) 04/18/2017
#44372 WP_Query cannot properly order by nested Parent/Child relationships normal minor Awaiting Review defect (bug) 06/14/2018
#61621 WP_Query get_posts should be call its property not again execute all caculations normal normal Awaiting Review defect (bug) 08/07/2024
#47802 WP_Query get_posts sometimes inserts contradictory taxonomy queries normal normal Awaiting Review defect (bug) 09/04/2020
#60984 WP_Query is returning the two same post instead of one normal normal Awaiting Review defect (bug) 10/15/2024
#60468 WP_Query matches any post when query parameter "name" is an empty string normal minor Awaiting Review defect (bug) 02/07/2024
#43634 WP_Query returns wrong result if 10+ search terms and all negative. normal normal Awaiting Review defect (bug) 01/17/2019
#63768 WP_Query will generate an unexpected SQL query when using switch_to_blog and post_type = any normal normal Awaiting Review defect (bug) 08/15/2025
#52971 WP_Query's meta_query With Multiple EXISTS keys and OR Relation Doesn't Work Properly normal critical Awaiting Review defect (bug) 04/05/2021
#48029 WP_Query::query only using a single post_status normal normal Awaiting Review defect (bug) 05/12/2020
#49911 WP_Tax_Query generates incorrect SQL normal normal Awaiting Review defect (bug) 04/15/2020
#46347 WP_Term_Query where sql_clauses oddity normal normal Awaiting Review defect (bug) 02/26/2019
#43391 WP_User_Query bug normal normal Awaiting Review defect (bug) 03/03/2018
#44519 Where are the pages of the headings added with the + add-on (any) ala https://wp-kama.ru/cat/wordpress/codex+xxx normal normal Awaiting Review defect (bug) 07/05/2018
#43445 Wildcard `LIKE` support for `WP_Meta_Query` (and maybe other queries?) normal normal Awaiting Review defect (bug) 03/02/2018
#48768 WordPress 5.3 ajax bug with Elementor 2.7.5 normal critical Awaiting Review defect (bug) 11/22/2019
#40327 Wrong SQL request for 'EXIST' OR 'NOT EXIST' on same post meta normal normal Awaiting Review defect (bug) 03/31/2017
#48360 `meta_value` is ignored when empty string is provided normal normal Awaiting Review defect (bug) 02/13/2020
#40300 `title` parameter causes `WP_Query` to return sticky posts. normal normal Awaiting Review defect (bug) 03/29/2017
#45666 adding "order" as query arg to the homepage url you are redirected to the last posts page normal normal Awaiting Review defect (bug) 12/18/2018
#57505 category archive url ending with "/0" should be 404 normal normal Awaiting Review defect (bug) 05/14/2023
#57766 filter query_loop_block_query_vars repeater 4 times normal normal Awaiting Review defect (bug) 02/18/2023
#47068 get_queried_object() returns null date archives and on homepage with blog on front settings normal normal Awaiting Review defect (bug) 11/13/2025
#63360 ignore_sticky_posts generating a wrong behaviour in WP_Query normal blocker Awaiting Review defect (bug) 06/04/2025
#53495 incorrect (and confusing) DocBlock for get_page_by_title() normal normal Awaiting Review defect (bug) 06/24/2021
#49550 is_home is set to true even for cron jobs, which causes sticky posts to get prepended to all WP_Query results normal normal Awaiting Review defect (bug) 02/24/2023
#45400 last of query_vars contains anchor normal normal Awaiting Review defect (bug) 12/05/2018
#48280 orderby meta_value breaks with newer versions of MySQL normal normal Awaiting Review defect (bug) 01/30/2020
#40166 query_vars bug sets is_home to false. normal normal Awaiting Review defect (bug) 05/20/2019
#40335 using 'pre_get_terms' is confusing when it comes to ordering by meta normal normal Awaiting Review defect (bug) 10/12/2019
#47211 using amp in search show all post / pages with the & normal normal Awaiting Review defect (bug) 05/10/2019
#55748 wp_query post_type taxonomies doesn't accept array in url if hierarchical normal minor Awaiting Review defect (bug) 05/17/2022
#60154 Add filter hook to either get_post_stati or WP_List_Util::filter normal normal Awaiting Review enhancement 02/15/2024
#59351 Add support for querying by an exact date with WP_Date_Query normal normal Awaiting Review enhancement 09/15/2023
#47694 Adding a filter for $searchand variable normal normal Awaiting Review enhancement 07/13/2019
#61632 Allow ordering of posts by `status` normal normal Awaiting Review enhancement 07/11/2024
#61008 Allow searching of extra post fields normal normal Awaiting Review enhancement 04/15/2024
1 2 3
Note: See TracReports for help on using and creating reports.