|
#41745
|
Uncaught Error in get_query_var when $wp_query is null
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/01/2021
|
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
early
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2025
|
|
#43238
|
`suppress_filters` not set in `pre_get_posts` hook
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/13/2022
|
|
#49149
|
Write tests for WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/20/2020
|
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/09/2024
|
|
#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
|
|
#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
|
|
#19653
|
Order by meta field forces ignore of null records
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/29/2019
|
|
#9978
|
Sticky Posts are not ordered correctly after selection
|
|
has-patch
|
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
|
|
#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
|
|
#23862
|
Clean up old WP->public_query_vars and WP->private_query_vars
|
nacin
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
11/30/2022
|
|
#37251
|
Not return 404 on front-page with option page and url `/page/2`
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/28/2023
|
|
#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
|
|
#41226
|
Static "posts page" preview not working
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/02/2025
|
|
#40387
|
WP_Query bug with product post type with search parameter on
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/18/2017
|
|
#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
|
|
#62953
|
Add post_ancestor as query var to WP_Query class
|
bbpaule
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
05/26/2025
|
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
02/04/2026
|
|
#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
|
|
#11398
|
new sort method for query_posts (order by last comment date)
|
|
|
normal
|
normal
|
|
enhancement
|
10/08/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
|
|
#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
|
|
#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
|
|
#39540
|
NOT EXISTS meta condition doesn't work if meta has NULL value.
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/03/2026
|
|
#40397
|
PHP 7.1.x problem in WP_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/11/2018
|
|
#34660
|
Query breaks when nopaging = false and posts_per_page = -1
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#33341
|
WP_Meta_Query IN operator with empty array does not return expected result
|
|
dev-feedback
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
10/17/2023
|
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
11/29/2019
|
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
09/21/2022
|
|
#27507
|
get_posts() not honoring post_status criteria
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/23/2025
|
|
#34211
|
Ability to specify fields WP_Query can search
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#48193
|
Improve the WordPress loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/20/2024
|
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/04/2024
|
|
#36652
|
Use meta_value in a meta query to decide type format in SQL clause
|
ericlewis
|
dev-feedback
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#44658
|
Support BETWEEN for term names in WP_Tax_Query/WP_Term_Query
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
feature request
|
09/11/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
|
|
#43372
|
$wp_query->max_num_pages return value as float
|
|
|
normal
|
trivial
|
Awaiting Review
|
defect (bug)
|
02/10/2022
|
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/27/2020
|
|
#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
|
|
#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
|
|
#57767
|
SQL query error with multiple order specifications in pre_get_posts.
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
02/21/2023
|
|
#49284
|
WP_Meta_Query's 'compare_key' does not support 'NOT EXISTS' when used with WP_User_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/12/2024
|
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/01/2026
|
|
#43391
|
WP_User_Query bug
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/03/2018
|
|
#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)
|
02/18/2026
|
|
#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
|
|
#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/12/2019
|
|
#41819
|
Support the paged argument in WP_Site_Query and WP_Network_Query
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
11/01/2017
|
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/03/2021
|
|
#27094
|
get_boundary_post() doesn't work for custom post types
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#15068
|
merging query objects/arrays
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#53060
|
Data Deletion - comments
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
04/20/2021
|
|
#14375
|
Post pagination should have a show all option
|
|
|
normal
|
normal
|
Future Release
|
feature request
|
09/18/2025
|
|
#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
|
|
#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
|
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/13/2026
|
|
#54853
|
Search only searching phrases and not searching individual terms
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/19/2022
|
|
#50873
|
Search query parameter causes 404 on pagename match rules
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/15/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
|
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/18/2023
|
|
#21096
|
Filter on is_front_page return value
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
|
#34525
|
Use wp_parse_id_list() in the WP_Query class
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/30/2023
|
|
#42164
|
Conditional Tags not working when using ugly URL
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/10/2017
|
|
#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
|
|
#63666
|
Multiple tags in URL broken in 6.8
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/08/2025
|
|
#44903
|
Multisite - Archive Main Query Duplicate Paged Posts
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/13/2018
|
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/22/2023
|
|
#63098
|
Passing array in term query arg triggers fatal error
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2025
|
|
#48047
|
Querying (non-CPT) posts from more than one (native) category only returning posts from first category
|
|
close
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/11/2025
|
|
#35758
|
Reading Settings fallback option when none is selected at Front page displays
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#38062
|
SELECT DISTINCT ... ORDER BY ...
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2019
|
|
#42256
|
Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches posts_per_page
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/21/2017
|
|
#34934
|
Suppress preg_match() and urldecode() errors in WP::parse_request().
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#35131
|
Unexpected 404: pending post hides published post with matching slug
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#62044
|
WP allows to inject random strings into archive page urls, still returning 200
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
05/12/2025
|
|
#41224
|
WP strips query vars if post contains "wp-admin"
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/03/2017
|
|
#35848
|
WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2020
|
|
#45666
|
adding "order" as query arg to the homepage url you are redirected to the last posts page
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
12/18/2018
|
|
#31957
|
query fails, when post is queried under specific name
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
|
#37463
|
Abstract Query Class
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
|
#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
|
|
#36881
|
Improved hot-wiring of set_found_posts
|
pbearne
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
05/08/2024
|
|
#25180
|
Make it possible to select only posts with comment_count > 0
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#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
|
|
#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
|
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/23/2023
|
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
|
#30982
|
Meta query in pre_get_posts
|
|
|
normal
|
normal
|
|
feature request
|
06/04/2019
|