#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
Query
|
normal
|
critical
|
4
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
06/14/2022
|
#43445
|
Wildcard `LIKE` support for `WP_Meta_Query` (and maybe other queries?)
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
03/02/2018
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
Query
|
normal
|
normal
|
4
|
Future Release
|
defect (bug)
|
dev-feedback
|
09/21/2022
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
02/13/2020
|
#48280
|
orderby meta_value breaks with newer versions of MySQL
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
01/30/2020
|
#34211
|
Ability to specify fields WP_Query can search
|
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
|
06/04/2019
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
enhancement
|
|
09/15/2023
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
Query
|
normal
|
normal
|
4
|
Future Release
|
enhancement
|
|
01/06/2025
|
#29424
|
Query argument 'orderby' makes duplicated parameters possible; does not support some available columns
|
johnbillion
|
Query
|
normal
|
normal
|
4
|
Future Release
|
enhancement
|
has-patch
|
02/05/2020
|
#19738
|
meta_query should check for wildcards when using LIKE operator
|
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
|
06/04/2019
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
has-patch
|
06/04/2019
|
#56312
|
Appending ?name to home URL shows the posts page instead of a static front page
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
|
01/06/2023
|
#10663
|
Category name handling wrong function is_category
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
has-patch
|
04/21/2024
|
#55917
|
Fatal error in WP6.0 when calling get_current_screen on the pre_get_posts action
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
close
|
06/01/2025
|
#27266
|
Front end search for attachment title cannot succeed
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
has-patch
|
01/18/2022
|
#40397
|
PHP 7.1.x problem in WP_Query
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/11/2018
|
#54853
|
Search only searching phrases and not searching individual terms
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/19/2022
|
#39140
|
Taxonomies - operator AND doesn't work properly for taxonomy hierarchies
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/08/2019
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
|
05/09/2024
|
#33341
|
WP_Meta_Query IN operator with empty array does not return expected result
|
|
Query
|
normal
|
critical
|
3
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
10/17/2023
|
#36696
|
WP_Meta_Query can give wrong results when comparing large numbers
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
|
06/04/2019
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
has-patch
|
11/29/2019
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
has-patch
|
02/10/2025
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
has-patch
|
01/11/2020
|
#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
10/12/2019
|
#15667
|
wp_list_pages, if it finds no pages to display, shows random child pages instead because of a bug in get_pages()
|
jackreichert
|
Query
|
normal
|
minor
|
3
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#40341
|
Make search possible in custom fields
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
|
05/24/2024
|
#41266
|
Not hard coding the table alias prefix in WP_Meta_Query would make class more extendable
|
noisysocks
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
11/07/2021
|
#39708
|
Provide suppress_actions argument on WP_Query::get_posts or apply suppress_filters to pre_get_posts
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
|
07/03/2018
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
has-patch
|
07/04/2024
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
dev-feedback
|
01/23/2023
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
needs-unit-tests
|
03/03/2021
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
05/15/2025
|
#14477
|
get_pages with child_of only works with uninterrupted hierarchies
|
wonderboymusic
|
Query
|
high
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
01/15/2021
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
dev-feedback
|
09/20/2023
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
05/27/2020
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
10/30/2023
|
#63359
|
Are ignore_sticky_posts working as expected?
|
|
Query
|
normal
|
major
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
05/12/2025
|
#40903
|
Filtered posts_request query can break found_posts query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
06/01/2017
|
#63406
|
Lack of mutex for query object values like is_category and is_author can result in warnings
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
05/12/2025
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
Query
|
normal
|
major
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
02/27/2023
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
06/22/2023
|
#42732
|
Problem with usage of WP_Term_Query inside WP_Tax_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
11/28/2017
|
#48020
|
Queries display in inconsistent order when ordering by meta_value_num
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
09/11/2019
|
#36966
|
Search is not working with soft hyphen symbols
|
|
Query
|
normal
|
normal
|
2
|
|
defect (bug)
|
|
06/04/2019
|
#41446
|
The PHP notice displayed after the overwriting global $posts by a new empty query.
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
08/25/2020
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
07/14/2023
|
#49284
|
WP_Meta_Query's 'compare_key' does not support 'NOT EXISTS' when used with WP_User_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
has-patch
|
09/12/2024
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
03/03/2020
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
Query
|
normal
|
normal
|
2
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
06/10/2025
|
#41196
|
add _doing_it_wrong to get_query_var and prevent fatal errors
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
has-patch
|
11/12/2017
|
#59252
|
is_front_page returns false when a static blog page has been set.
|
joedolson*
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
has-patch
|
02/04/2025
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
Query
|
normal
|
normal
|
2
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
01/07/2020
|
#58234
|
sanitize_title_with_dashes fatal error when query var value is an array in php 8
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
01/31/2025
|
#61008
|
Allow searching of extra post fields
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
|
04/15/2024
|
#21096
|
Filter on is_front_page return value
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
04/20/2023
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
|
02/28/2018
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
needs-unit-tests
|
06/04/2019
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#49149
|
Write tests for WP_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
02/20/2020
|
#27094
|
get_boundary_post() doesn't work for custom post types
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
has-patch
|
06/04/2019
|
#43372
|
$wp_query->max_num_pages return value as float
|
|
Query
|
normal
|
trivial
|
1
|
Awaiting Review
|
defect (bug)
|
|
02/10/2022
|
#39914
|
'orderby' date results differs depend on 'post_status'
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
02/19/2017
|
#40630
|
Advanced meta compare "like" in WP_Query
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
05/16/2017
|
#51794
|
An author_name query with nonexistent user returns posts with no author
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
11/17/2020
|
#35418
|
Assigned post type not appeared in category and tag archive
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
reporter-feedback
|
06/04/2019
|
#28568
|
Can't get private posts/pages via WP_Query when not logged in as administrator
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
03/22/2019
|
#37645
|
Changes made to certain is_*() functions generates PHP Notices when arrays or objects are present
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
07/23/2021
|
#23862
|
Clean up old WP->public_query_vars and WP->private_query_vars
|
nacin
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
has-patch
|
11/30/2022
|
#42164
|
Conditional Tags not working when using ugly URL
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
10/10/2017
|
#47719
|
Consistency issue with `include` parameter set to "0" in `WP_Term_Query`
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
dev-feedback
|
02/17/2021
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
03/15/2019
|
#58200
|
Empty result when meta_query is supposed to select date less than certain date
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
11/10/2023
|
#38442
|
Error when WP_Query parses orderby array in function parse_order
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
04/02/2019
|
#60395
|
Filtering posts by open ping_status returns posts with closed ping_status
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
01/31/2024
|
#37489
|
If Posts have the same datetime, the order of the post is indefinite.
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
has-patch
|
06/04/2019
|
#62931
|
Inconsistency When Querying and Sorting by meta_key with Multiple Values
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
02/10/2025
|
#23309
|
Not all WP_Query::query_vars get updated during WP_Query::get_posts()
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#37251
|
Not return 404 on front-page with option page and url `/page/2`
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
05/28/2023
|
#63098
|
Passing array in term query arg triggers fatal error
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
04/09/2025
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
06/05/2025
|
#34660
|
Query breaks when nopaging = false and posts_per_page = -1
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#38062
|
SELECT DISTINCT ... ORDER BY ...
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
04/09/2019
|
#46285
|
Search colums of WP User Query vars is not updated after applying user_search_columns filter
|
|
Query
|
normal
|
trivial
|
1
|
Awaiting Review
|
defect (bug)
|
|
02/20/2019
|
#48078
|
Some WP_XXX_Query::query() methods produce incorrect results when called in a loop
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
09/20/2019
|
#38283
|
Some `WP_Query` query vars undocumented
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
03/27/2019
|
#63106
|
The loop can throw warning if `WP_Query::have_posts()` not called.
|
|
Query
|
low
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
03/15/2025
|
#41546
|
WP Query order by meta_clause not working correctly for decimal values
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
08/05/2017
|
#27272
|
WP meta queries comparing apples to oranges
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
has-patch
|
06/04/2019
|
#44372
|
WP_Query cannot properly order by nested Parent/Child relationships
|
|
Query
|
normal
|
minor
|
1
|
Awaiting Review
|
defect (bug)
|
|
06/14/2018
|
#47802
|
WP_Query get_posts sometimes inserts contradictory taxonomy queries
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
09/04/2020
|
#43634
|
WP_Query returns wrong result if 10+ search terms and all negative.
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
01/17/2019
|
#44695
|
WP_Term_Query unexpected 'orderby' behaviour.
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
08/27/2019
|
#43391
|
WP_User_Query bug
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
03/03/2018
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
06/03/2025
|
#35848
|
WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
reporter-feedback
|
06/04/2019
|
#43238
|
`suppress_filters` not set in `pre_get_posts` hook
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
05/13/2022
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
04/18/2023
|