#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
|
chriscct7
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#51796
|
Raw post data instead of WP_Post instances
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
11/19/2020
|
#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/21/2024
|
#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.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/16/2019
|
#14477
|
get_pages with child_of only works with uninterrupted hierarchies
|
wonderboymusic
|
has-patch
|
high
|
normal
|
Future Release
|
enhancement
|
01/15/2021
|
#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
|
06/04/2019
|
#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
|
#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
|
#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
|
#45343
|
$query->post is null when WP_Query `fields` parameter is present
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/14/2018
|
#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
|
#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)
|
04/27/2025
|
#35418
|
Assigned post type not appeared in category and tag archive
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#30184
|
Author page and category
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#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
|
#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)
|
02/19/2024
|
#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
|
#47719
|
Consistency issue with `include` parameter set to "0" in `WP_Term_Query`
|
SergeyBiryukov
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/17/2021
|
#15551
|
Custom post type pagination redirect
|
|
|
normal
|
normal
|
|
defect (bug)
|
12/28/2022
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/15/2019
|
#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
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
09/23/2023
|
#53824
|
Fatal error when in action pre_get_posts call *_template()
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/15/2022
|
#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
|
#37489
|
If Posts have the same datetime, the order of the post is indefinite.
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#52921
|
If page content blank and any page shows 404 error
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/30/2021
|
#62931
|
Inconsistency When Querying and Sorting by meta_key with Multiple Values
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/10/2025
|
#47493
|
Meta Query Sorting with relation => OR not behaving as expected
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/06/2019
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
02/27/2023
|
#44903
|
Multisite - Archive Main Query Duplicate Paged Posts
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/13/2018
|
#39540
|
NOT EXISTS meta condition doesn't work if meta has NULL value.
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
07/14/2020
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/22/2023
|
#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
|
#23309
|
Not all WP_Query::query_vars get updated during WP_Query::get_posts()
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#37251
|
Not return 404 on front-page with option page and url `/page/2`
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/28/2023
|
#48524
|
Notice: Undefined variable: matches
|
|
reporter-feedback
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
11/09/2019
|
#30911
|
Overhaul post_status logic in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#40397
|
PHP 7.1.x problem in WP_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/11/2018
|
#63098
|
Passing array in term query arg triggers fatal error
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2025
|
#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
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/19/2024
|