|
#47068
|
get_queried_object() returns null date archives and on homepage with blog on front settings
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
12/03/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
|
|
#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
|
|
#45894
|
is_home conditional tag returns incorrect value with home pagination
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/10/2019
|
|
#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
|
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/11/2020
|
|
#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
|
|
#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
|
|
#40660
|
the_post_navigation not excluding terms - wp 4.7.4
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/28/2020
|
|
#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
|
|
#63902
|
wp_get_post_autosave() uses a non-limited SQL query
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
09/02/2025
|
|
#57083
|
wp_list_authors and WP Search Users
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/16/2022
|
|
#55748
|
wp_query post_type taxonomies doesn't accept array in url if hierarchical
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
05/17/2022
|
|
#37463
|
Abstract Query Class
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
|
#60154
|
Add filter hook to either get_post_stati or WP_List_Util::filter
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/15/2024
|
|
#39120
|
Add get/set methods to remaining main query classes (comments and terms)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/07/2018
|
|
#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
|
|
#62953
|
Add post_ancestor as query var to WP_Query class
|
bbpaule
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/2025
|
|
#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
|
|
#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
|
|
#51155
|
Default Order and Order By for Post Types and Taxonomies
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
08/27/2020
|
|
#48193
|
Improve the WordPress loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/20/2024
|
|
#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
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
close
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/2025
|
|
#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
|
|
#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
|
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/04/2024
|
|
#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
|
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/28/2018
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
12/24/2020
|
|
#49149
|
Write tests for WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/20/2020
|
|
#55630
|
add array input to meta_query key
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/27/2022
|
|
#43842
|
get_children() function enhancement.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/16/2019
|
|
#41797
|
max_num_pages for WP_User_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
09/05/2017
|
|
#44602
|
meta_query to support FIND_IN_SET
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/18/2018
|
|
#61048
|
order sticky posts using the same order for posts
|
|
|
normal
|
major
|
Awaiting Review
|
enhancement
|
04/22/2024
|
|
#63614
|
pre_get_lastpostdate filter
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
enhancement
|
06/24/2025
|
|
#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
|
|
#50154
|
About date and time request of version 5.4.1
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
05/13/2020
|
|
#60490
|
Add 'author__in' option to WP_Query 'orderby' options
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
02/09/2024
|
|
#56168
|
Add a way easily perform advanced post fields queries
|
|
|
normal
|
trivial
|
Awaiting Review
|
feature request
|
07/07/2022
|
|
#49057
|
Add tag for any WP_Query for simple access in pre_get_post action
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
12/21/2019
|
|
#39632
|
Adding Query identifier attribute
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
06/07/2017
|
|
#55287
|
Allow for DISTINCT in WP_Query method
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
feature request
|
09/11/2025
|
|
#63094
|
Allow ordering by meta_id in a meta query
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
03/13/2025
|
|
#53060
|
Data Deletion - comments
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
04/20/2021
|
|
#37837
|
Extend WP_Query author parameters to filter by role
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
03/30/2017
|
|
#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
|
|
#43356
|
create is_403 function
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
02/19/2018
|
|
#58600
|
wp_query Enhancement
|
|
close
|
normal
|
normal
|
Awaiting Review
|
feature request
|
07/03/2023
|
|
#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
|
|
#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
|
|
#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
|
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/15/2025
|
|
#44296
|
Enable double-width space works as a separator in search query
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
04/10/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
|
|
#39540
|
NOT EXISTS meta condition doesn't work if meta has NULL value.
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/15/2025
|
|
#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
|
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
11/24/2025
|
|
#38283
|
Some `WP_Query` query vars undocumented
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/27/2019
|
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/09/2024
|
|
#40521
|
Using a custom query var on a static front page results in wrong $post
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
09/18/2025
|
|
#27282
|
WP_Query returns more results when there are sticky posts
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/04/2025
|
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
early
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2025
|
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
needs-unit-tests
|
normal
|
critical
|
Future Release
|
defect (bug)
|
06/14/2022
|
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
11/29/2019
|
|
#27015
|
WP_Query::get_queried_object() does not always work in 'pre_get_posts'
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
07/10/2021
|
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/10/2025
|
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/03/2025
|
|
#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
|
|
#21790
|
When set a static front page WP main query isn't set correctly
|
SergeyBiryukov
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/05/2017
|
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
09/21/2022
|
|
#24142
|
Zero value for posts_per_page value in wp_query custom instance and for 'Blog pages show at most' option
|
SergeyBiryukov
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/18/2024
|
|
#37762
|
cache_results parameter doesn't prevent queried posts from being added to cache
|
boonebgorges
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/15/2022
|
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/23/2025
|
|
#20899
|
is_home() should be able to be true when is_feed()
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
07/01/2025
|
|
#46294
|
wp rest api fails to paginate page requests correctly when ordering on menu_order
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
12/08/2025
|
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/29/2025
|
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
01/27/2021
|
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
pbearne
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/12/2024
|
|
#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
|
|
#19653
|
Order by meta field forces ignore of null records
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/29/2019
|