|
#49296
|
Split up WP_Query into more manageable classes
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/26/2020
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
|
#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
|
|
#49555
|
Reorder WP_Query methods for a more logical placement
|
|
|
normal
|
trivial
|
Future Release
|
enhancement
|
03/01/2020
|
|
#49911
|
WP_Tax_Query generates incorrect SQL
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/15/2020
|
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/27/2020
|
|
#50154
|
About date and time request of version 5.4.1
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
05/13/2020
|
|
#50871
|
When exact is true and orderby set to relevance, there is a DB error on search results page
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
08/07/2020
|
|
#50873
|
Search query parameter causes 404 on pagename match rules
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/15/2024
|
|
#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
|
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
needs-unit-tests
|
normal
|
critical
|
Future Release
|
defect (bug)
|
06/14/2022
|
|
#51155
|
Default Order and Order By for Post Types and Taxonomies
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
08/27/2020
|
|
#51794
|
An author_name query with nonexistent user returns posts with no author
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/17/2020
|
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/04/2024
|
|
#51852
|
"any" value in "post_type" param in "get_posts" by default ignore attachments
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/18/2021
|
|
#52094
|
Queries with perm readable/editable will not work for multiple post types and status queries
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/15/2022
|
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
12/24/2020
|
|
#52337
|
Non-numeric attachment_id and p query string params result in posts page
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
10/17/2023
|
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/30/2024
|
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/10/2025
|
|
#52732
|
'get_posts' has been waiting for so long to have a hook
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2024
|
|
#52921
|
If page content blank and any page shows 404 error
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/30/2021
|
|
#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
|
|
#53060
|
Data Deletion - comments
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
04/20/2021
|
|
#53450
|
[WP_Meta_Query] Add faster LIKE based 'STARTSWITH' and 'ENDSWITH' compare modes for value query
|
|
dev-feedback
|
normal
|
trivial
|
Future Release
|
enhancement
|
03/03/2025
|
|
#53495
|
incorrect (and confusing) DocBlock for get_page_by_title()
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/24/2021
|
|
#53824
|
Fatal error when in action pre_get_posts call *_template()
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/15/2022
|
|
#54268
|
Using `author_name` in URL parameter gives unexpected results when logged into contributor account
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
10/14/2021
|
|
#54436
|
Sorting issue- when sorting via a custom meta key
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/14/2021
|
|
#54853
|
Search only searching phrases and not searching individual terms
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/19/2022
|
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
early
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2025
|
|
#55287
|
Allow for DISTINCT in WP_Query method
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
feature request
|
09/11/2025
|
|
#55630
|
add array input to meta_query key
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/27/2022
|
|
#55649
|
Block Query with full post content do not display properly
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/02/2022
|
|
#55748
|
wp_query post_type taxonomies doesn't accept array in url if hierarchical
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
05/17/2022
|
|
#55917
|
Fatal error in WP6.0 when calling get_current_screen on the pre_get_posts action
|
|
close
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/01/2025
|
|
#56081
|
Query Loop block with selection causes Sticky Posts setting to be ignored
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/27/2022
|
|
#56105
|
Call update_post_parent_caches in the_post function in WP_Query class
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
|
#56165
|
Bogus query parameters force WordPress to drop query limit and exhausts memory
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/06/2022
|
|
#56168
|
Add a way easily perform advanced post fields queries
|
|
|
normal
|
trivial
|
Awaiting Review
|
feature request
|
07/07/2022
|
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/03/2025
|
|
#56312
|
Appending ?name to home URL shows the posts page instead of a static front page
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/06/2023
|
|
#57083
|
wp_list_authors and WP Search Users
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/16/2022
|
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/23/2023
|
|
#57303
|
wp_get_posts() for post_type="any" + post__in creates not optimized database query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
09/10/2025
|
|
#57412
|
Uncaught TypeError: Cannot read properties of undefined (reading 'length'): jquery migrate
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
01/03/2023
|
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/29/2025
|
|
#57505
|
category archive url ending with "/0" should be 404
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/14/2023
|
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
02/27/2023
|
|
#57766
|
filter query_loop_block_query_vars repeater 4 times
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/18/2023
|
|
#57767
|
SQL query error with multiple order specifications in pre_get_posts.
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
02/21/2023
|
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/18/2023
|
|
#58200
|
Empty result when meta_query is supposed to select date less than certain date
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/10/2023
|
|
#58234
|
sanitize_title_with_dashes fatal error when query var value is an array in php 8
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/31/2025
|
|
#58447
|
Posts with ‘Stick to the top of the blog’ should also stick to the top of the categories it belongs to
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
09/09/2025
|
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/22/2023
|
|
#58553
|
Two query blocks on home template (FSE) breaks the second one
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/16/2023
|
|
#58593
|
Slow list of posts in the admin panel (with a large wp_posts table)
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
06/26/2023
|
|
#58600
|
wp_query Enhancement
|
|
close
|
normal
|
normal
|
Awaiting Review
|
feature request
|
07/03/2023
|
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/14/2023
|
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/30/2023
|
|
#59252
|
is_front_page returns false when a static blog page has been set.
|
joedolson*
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/04/2025
|
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
09/15/2023
|
|
#60027
|
Post patterns show no posts
|
|
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
08/24/2024
|
|
#60154
|
Add filter hook to either get_post_stati or WP_List_Util::filter
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/15/2024
|
|
#60274
|
Query loop showing too many posts
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/17/2024
|
|
#60395
|
Filtering posts by open ping_status returns posts with closed ping_status
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/31/2024
|
|
#60468
|
WP_Query matches any post when query parameter "name" is an empty string
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
02/07/2024
|
|
#60490
|
Add 'author__in' option to WP_Query 'orderby' options
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
02/09/2024
|
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
11/24/2025
|
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/10/2025
|
|
#60963
|
Custom query, inherit main query, show scheduled posts
|
|
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
09/06/2025
|
|
#60984
|
WP_Query is returning the two same post instead of one
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/15/2024
|
|
#61008
|
Allow searching of extra post fields
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/15/2024
|
|
#61048
|
order sticky posts using the same order for posts
|
|
|
normal
|
major
|
Awaiting Review
|
enhancement
|
04/22/2024
|
|
#61621
|
WP_Query get_posts should be call its property not again execute all caculations
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/19/2025
|
|
#61632
|
Allow ordering of posts by `status`
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/11/2024
|
|
#61763
|
get_posts($args) returns "auto-drafts" even when "post_status=>publish"
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/26/2024
|
|
#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
|
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
01/06/2025
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
close
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/2025
|
|
#62931
|
Inconsistency When Querying and Sorting by meta_key with Multiple Values
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/10/2025
|
|
#62953
|
Add post_ancestor as query var to WP_Query class
|
bbpaule
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/2025
|
|
#63044
|
Add method to test whether currently viewing the site home page in WP_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
03/03/2025
|
|
#63094
|
Allow ordering by meta_id in a meta query
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
03/13/2025
|
|
#63098
|
Passing array in term query arg triggers fatal error
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2025
|
|
#63106
|
The loop can throw warning if `WP_Query::have_posts()` not called.
|
|
|
low
|
normal
|
Awaiting Review
|
defect (bug)
|
03/15/2025
|
|
#63315
|
Docs: Improve the `prepare()` function inline docs
|
|
close
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/21/2025
|
|
#63359
|
Are ignore_sticky_posts working as expected?
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
05/12/2025
|
|
#63360
|
ignore_sticky_posts generating a wrong behaviour in WP_Query
|
|
|
normal
|
blocker
|
Awaiting Review
|
defect (bug)
|
06/04/2025
|
|
#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
|
|
#63614
|
pre_get_lastpostdate filter
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
enhancement
|
06/24/2025
|
|
#63619
|
Cached WP_Term_Query result attempts object conversion to int
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/25/2025
|
|
#63659
|
Adding the "order" or "orderby" query argument to the front page causes the latest news to be displayed
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/08/2025
|
|
#63666
|
Multiple tags in URL broken in 6.8
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/08/2025
|
|
#63768
|
WP_Query will generate an unexpected SQL query when using switch_to_blog and post_type = any
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
12/01/2025
|
|
#63902
|
wp_get_post_autosave() uses a non-limited SQL query
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
09/02/2025
|
|
#63998
|
Undefined variable warnings in WP Class
|
|
has-patch
|
lowest
|
trivial
|
Awaiting Review
|
defect (bug)
|
09/18/2025
|
|
#64507
|
Fatal error when author_name is not a string
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/15/2026
|