|
#25190
|
Improve name/pagename query variable mapping
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#48193
|
Improve the WordPress loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/20/2024
|
|
#36881
|
Improved hot-wiring of set_found_posts
|
pbearne
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
05/08/2024
|
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
01/27/2021
|
|
#25180
|
Make it possible to select only posts with comment_count > 0
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#40341
|
Make search possible in custom fields
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/24/2024
|
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
|
#42907
|
Meta Queries: support ordering by meta_value but still including items without that key
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/16/2019
|
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
pbearne
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/12/2024
|
|
#36670
|
Move CAST to right-hand side of comparison in meta query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
close
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/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
|
|
#41266
|
Not hard coding the table alias prefix in WP_Meta_Query would make class more extendable
|
noisysocks
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
11/07/2021
|
|
#18836
|
ORDER BY RAND() is slow
|
pbearne
|
dev-feedback
|
normal
|
minor
|
Future Release
|
enhancement
|
08/21/2025
|
|
#30994
|
Offset return for wp_get_archives
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#40434
|
Optimize SQL in Admin - In the Post/CPT List `wp-admin/edit.php` > the function get_posts()
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/12/2025
|
|
#19653
|
Order by meta field forces ignore of null records
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/29/2019
|
|
#41843
|
Provide more flexibility to the `get_{$adjacent}_post_where` hook
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
03/13/2019
|
|
#39708
|
Provide suppress_actions argument on WP_Query::get_posts or apply suppress_filters to pre_get_posts
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/03/2018
|
|
#16706
|
Queries using "category__and" are slow on large databases
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
01/31/2026
|
|
#29424
|
Query argument 'orderby' makes duplicated parameters possible; does not support some available columns
|
johnbillion
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
02/05/2020
|
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/04/2024
|
|
#49555
|
Reorder WP_Query methods for a more logical placement
|
|
|
normal
|
trivial
|
Future Release
|
enhancement
|
03/01/2020
|
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/30/2024
|
|
#58593
|
Slow list of posts in the admin panel (with a large wp_posts table)
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
06/26/2023
|
|
#49296
|
Split up WP_Query into more manageable classes
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/26/2020
|
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/23/2023
|
|
#9978
|
Sticky Posts are not ordered correctly after selection
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#11950
|
Sticky Posts are too aggressive
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/28/2018
|
|
#41819
|
Support the paged argument in WP_Site_Query and WP_Network_Query
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
11/01/2017
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
|
#36309
|
Timezone issue in WP_Date_Query->build_mysql_datetime
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#36652
|
Use meta_value in a meta query to decide type format in SQL clause
|
ericlewis
|
dev-feedback
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#42883
|
Use sargable queries for date-based lookups for posts
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
05/29/2024
|
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#30044
|
Use subqueries for AND clauses in WP_Meta_Query
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/02/2022
|
|
#34525
|
Use wp_parse_id_list() in the WP_Query class
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
12/24/2020
|
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/03/2021
|
|
#31083
|
WP_date_Query does not validate string values of 'before' or 'after'
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#49149
|
Write tests for WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/20/2020
|
|
#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
|
|
#55630
|
add array input to meta_query key
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/27/2022
|
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
05/15/2025
|
|
#23044
|
adjacent_image_link() needs optimization
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#26937
|
get_adjacent_post() should use WP_Query rather than build its own SQL query
|
nacin
|
|
normal
|
normal
|
Future Release
|
enhancement
|
01/31/2018
|
|
#27094
|
get_boundary_post() doesn't work for custom post types
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#43842
|
get_children() function enhancement.
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/01/2026
|
|
#14477
|
get_pages with child_of only works with uninterrupted hierarchies
|
wonderboymusic
|
has-patch
|
high
|
normal
|
Future Release
|
enhancement
|
03/01/2026
|
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
09/20/2023
|
|
#14368
|
make the 'orderby' argument in get_posts() accept all "post" fields
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
08/01/2022
|
|
#41797
|
max_num_pages for WP_User_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
09/05/2017
|
|
#15068
|
merging query objects/arrays
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#19738
|
meta_query should check for wildcards when using LIKE operator
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#44602
|
meta_query to support FIND_IN_SET
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/18/2018
|
|
#11398
|
new sort method for query_posts (order by last comment date)
|
|
|
normal
|
normal
|
|
enhancement
|
10/08/2025
|
|
#61048
|
order sticky posts using the same order for posts
|
|
|
normal
|
major
|
Awaiting Review
|
enhancement
|
04/22/2024
|
|
#37056
|
paginate_links should be a method on WP_Query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#63614
|
pre_get_lastpostdate filter
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
enhancement
|
06/24/2025
|
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#43324
|
query_vars is not necessarely representative of the final query_vars used to build the SQL query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/16/2019
|
|
#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
|
|
#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
|
|
#43372
|
$wp_query->max_num_pages return value as float
|
|
|
normal
|
trivial
|
Awaiting Review
|
defect (bug)
|
02/10/2022
|
|
#52732
|
'get_posts' has been waiting for so long to have a hook
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2024
|
|
#39914
|
'orderby' date results differs depend on 'post_status'
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/19/2017
|
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/27/2020
|
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/30/2023
|
|
#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)
|
03/02/2026
|
|
#40630
|
Advanced meta compare "like" in WP_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/16/2017
|
|
#51794
|
An author_name query with nonexistent user returns posts with no author
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/17/2020
|
|
#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
|
|
#63359
|
Are ignore_sticky_posts working as expected?
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
02/06/2026
|
|
#30184
|
Author page and category
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/22/2025
|
|
#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
|
|
#63619
|
Cached WP_Term_Query result attempts object conversion to int
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/25/2025
|
|
#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
|
|
#18408
|
Can't wp_reset_postdata after custom WP_Query in an admin edit page
|
audrasjb
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/30/2025
|
|
#10663
|
Category name handling wrong function is_category
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
04/21/2024
|
|
#37645
|
Changes made to certain is_*() functions generates PHP Notices when arrays or objects are present
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/23/2021
|
|
#23862
|
Clean up old WP->public_query_vars and WP->private_query_vars
|
nacin
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
11/30/2022
|
|
#42164
|
Conditional Tags not working when using ugly URL
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/10/2017
|
|
#15551
|
Custom post type pagination redirect
|
|
|
normal
|
normal
|
|
defect (bug)
|
12/28/2022
|
|
#60963
|
Custom query, inherit main query, show scheduled posts
|
|
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
09/06/2025
|
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/15/2025
|
|
#63315
|
Docs: Improve the `prepare()` function inline docs
|
|
close
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/21/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
|
|
#44296
|
Enable double-width space works as a separator in search query
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
04/10/2019
|
|
#44848
|
Ensure that empty author profiles have proper 404 behaviour
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/17/2019
|
|
#38442
|
Error when WP_Query parses orderby array in function parse_order
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
04/02/2019
|
|
#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
|
|
#53824
|
Fatal error when in action pre_get_posts call *_template()
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/15/2022
|
|
#64507
|
Fatal errors can ensue in WP_Query when requests are made with array query vars
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/24/2026
|
|
#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
|
|
#27266
|
Front end search for attachment title cannot succeed
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
01/18/2022
|