#59516
|
Improve cache key generation in query classes
|
pbearne*
|
Query
|
normal
|
normal
|
6
|
6.8
|
defect (bug)
|
has-patch
|
01/17/2025
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
Query
|
normal
|
normal
|
6
|
Future Release
|
defect (bug)
|
early
|
01/07/2025
|
#27015
|
WP_Query::get_queried_object() does not always work in 'pre_get_posts'
|
|
Query
|
normal
|
normal
|
6
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
07/10/2021
|
#42883
|
Use sargable queries for date-based lookups for posts
|
|
Query
|
normal
|
normal
|
6
|
Future Release
|
enhancement
|
dev-feedback
|
05/29/2024
|
#23336
|
Sticky Posts lack sanity bounding. If used too much, can severely degrade performance.
|
|
Query
|
normal
|
normal
|
5
|
|
defect (bug)
|
|
06/04/2019
|
#24142
|
Zero value for posts_per_page value in wp_query custom instance and for 'Blog pages show at most' option
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
5
|
Future Release
|
defect (bug)
|
dev-feedback
|
02/18/2024
|
#35761
|
Add filter(s) to get_adjacent_post function to change variables further down
|
|
Query
|
normal
|
normal
|
5
|
|
enhancement
|
|
06/04/2019
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
5
|
Future Release
|
enhancement
|
needs-unit-tests
|
01/27/2021
|
#35907
|
Permit sticky posts to affect the query in REST_REQUEST
|
rmccue
|
Query
|
normal
|
normal
|
5
|
Future Release
|
enhancement
|
needs-unit-tests
|
04/23/2017
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
Query
|
normal
|
normal
|
5
|
Awaiting Review
|
enhancement
|
|
04/30/2024
|
#23044
|
adjacent_image_link() needs optimization
|
|
Query
|
normal
|
normal
|
5
|
|
enhancement
|
needs-unit-tests
|
06/04/2019
|
#53060
|
Data Deletion - comments
|
|
Query
|
normal
|
normal
|
5
|
Awaiting Review
|
feature request
|
|
04/20/2021
|
#53824
|
Fatal error when in action pre_get_posts call *_template()
|
|
Query
|
normal
|
normal
|
4
|
Future Release
|
defect (bug)
|
has-patch
|
02/15/2022
|
#30911
|
Overhaul post_status logic in WP_Query
|
|
Query
|
normal
|
normal
|
4
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#44349
|
Posts show up multiple times in backend when they have the exact same date
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
02/09/2022
|
#50873
|
Search query parameter causes 404 on pagename match rules
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
has-patch
|
02/15/2024
|
#41745
|
Uncaught Error in get_query_var when $wp_query is null
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
has-patch
|
10/01/2021
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
Query
|
normal
|
critical
|
4
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
06/14/2022
|
#43445
|
Wildcard `LIKE` support for `WP_Meta_Query` (and maybe other queries?)
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
03/02/2018
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
Query
|
normal
|
normal
|
4
|
Future Release
|
defect (bug)
|
dev-feedback
|
09/21/2022
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
02/13/2020
|
#48280
|
orderby meta_value breaks with newer versions of MySQL
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
defect (bug)
|
|
01/30/2020
|
#34211
|
Ability to specify fields WP_Query can search
|
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
|
06/04/2019
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
Query
|
normal
|
normal
|
4
|
Awaiting Review
|
enhancement
|
|
09/15/2023
|
#29424
|
Query argument 'orderby' makes duplicated parameters possible; does not support some available columns
|
johnbillion
|
Query
|
normal
|
normal
|
4
|
Future Release
|
enhancement
|
has-patch
|
02/05/2020
|
#19738
|
meta_query should check for wildcards when using LIKE operator
|
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
|
06/04/2019
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
Query
|
normal
|
normal
|
4
|
|
enhancement
|
has-patch
|
06/04/2019
|
#56312
|
Appending ?name to home URL shows the posts page instead of a static front page
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
|
01/06/2023
|
#10663
|
Category name handling wrong function is_category
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
has-patch
|
04/21/2024
|
#55917
|
Fatal error in WP6.0 when calling get_current_screen on the pre_get_posts action
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
has-patch
|
09/23/2023
|
#27266
|
Front end search for attachment title cannot succeed
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
has-patch
|
01/18/2022
|
#40397
|
PHP 7.1.x problem in WP_Query
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/11/2018
|
#54853
|
Search only searching phrases and not searching individual terms
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/19/2022
|
#18513
|
Searching with explicit post types unsets page post type
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
needs-unit-tests
|
02/12/2022
|
#39140
|
Taxonomies - operator AND doesn't work properly for taxonomy hierarchies
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
01/08/2019
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
|
05/09/2024
|
#33341
|
WP_Meta_Query IN operator with empty array does not return expected result
|
|
Query
|
normal
|
critical
|
3
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
10/17/2023
|
#36696
|
WP_Meta_Query can give wrong results when comparing large numbers
|
|
Query
|
normal
|
normal
|
3
|
|
defect (bug)
|
|
06/04/2019
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
3
|
Future Release
|
defect (bug)
|
has-patch
|
11/29/2019
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
has-patch
|
01/11/2020
|
#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
defect (bug)
|
|
10/12/2019
|
#15667
|
wp_list_pages, if it finds no pages to display, shows random child pages instead because of a bug in get_pages()
|
jackreichert
|
Query
|
normal
|
minor
|
3
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#40341
|
Make search possible in custom fields
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
|
05/24/2024
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
|
01/06/2025
|
#41266
|
Not hard coding the table alias prefix in WP_Meta_Query would make class more extendable
|
noisysocks
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
11/07/2021
|
#18836
|
ORDER BY RAND() is slow
|
pbearne
|
Query
|
normal
|
minor
|
3
|
Future Release
|
enhancement
|
has-patch
|
11/19/2024
|
#39708
|
Provide suppress_actions argument on WP_Query::get_posts or apply suppress_filters to pre_get_posts
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
|
07/03/2018
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
has-patch
|
07/04/2024
|
#40404
|
Slow queries with a large number of posts (tens of thousands and above)
|
|
Query
|
normal
|
normal
|
3
|
Awaiting Review
|
enhancement
|
|
04/10/2017
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
dev-feedback
|
01/23/2023
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
needs-unit-tests
|
03/03/2021
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
05/21/2024
|
#14477
|
get_pages with child_of only works with uninterrupted hierarchies
|
wonderboymusic
|
Query
|
high
|
normal
|
3
|
Future Release
|
enhancement
|
has-patch
|
01/15/2021
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
Query
|
normal
|
normal
|
3
|
Future Release
|
enhancement
|
dev-feedback
|
09/20/2023
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
05/27/2020
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
10/30/2023
|
#40903
|
Filtered posts_request query can break found_posts query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
06/01/2017
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
Query
|
normal
|
major
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
02/27/2023
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
06/22/2023
|
#42732
|
Problem with usage of WP_Term_Query inside WP_Tax_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
11/28/2017
|
#48020
|
Queries display in inconsistent order when ordering by meta_value_num
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
09/11/2019
|
#36966
|
Search is not working with soft hyphen symbols
|
|
Query
|
normal
|
normal
|
2
|
|
defect (bug)
|
|
06/04/2019
|
#41446
|
The PHP notice displayed after the overwriting global $posts by a new empty query.
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
08/25/2020
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
|
07/14/2023
|
#49284
|
WP_Meta_Query's 'compare_key' does not support 'NOT EXISTS' when used with WP_User_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
has-patch
|
09/12/2024
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
03/03/2020
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
Query
|
normal
|
normal
|
2
|
6.8
|
defect (bug)
|
has-patch
|
01/13/2025
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
04/26/2021
|
#41196
|
add _doing_it_wrong to get_query_var and prevent fatal errors
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
has-patch
|
11/12/2017
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
Query
|
normal
|
normal
|
2
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
01/07/2020
|
#58234
|
sanitize_title_with_dashes fatal error when query var value is an array in php 8
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
12/26/2024
|
#61008
|
Allow searching of extra post fields
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
|
04/15/2024
|
#21096
|
Filter on is_front_page return value
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
04/20/2023
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
|
02/28/2018
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
needs-unit-tests
|
06/04/2019
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
|
06/04/2019
|
#49149
|
Write tests for WP_Query
|
|
Query
|
normal
|
normal
|
2
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
02/20/2020
|
#27094
|
get_boundary_post() doesn't work for custom post types
|
|
Query
|
normal
|
normal
|
2
|
|
enhancement
|
has-patch
|
06/04/2019
|
#43372
|
$wp_query->max_num_pages return value as float
|
|
Query
|
normal
|
trivial
|
1
|
Awaiting Review
|
defect (bug)
|
|
02/10/2022
|
#39914
|
'orderby' date results differs depend on 'post_status'
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
02/19/2017
|
#40630
|
Advanced meta compare "like" in WP_Query
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
05/16/2017
|
#51794
|
An author_name query with nonexistent user returns posts with no author
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
11/17/2020
|
#35418
|
Assigned post type not appeared in category and tag archive
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
reporter-feedback
|
06/04/2019
|
#28568
|
Can't get private posts/pages via WP_Query when not logged in as administrator
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
03/22/2019
|
#37645
|
Changes made to certain is_*() functions generates PHP Notices when arrays or objects are present
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
07/23/2021
|
#23862
|
Clean up old WP->public_query_vars and WP->private_query_vars
|
nacin
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
has-patch
|
11/30/2022
|
#42164
|
Conditional Tags not working when using ugly URL
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
10/10/2017
|
#47719
|
Consistency issue with `include` parameter set to "0" in `WP_Term_Query`
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
dev-feedback
|
02/17/2021
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
03/15/2019
|
#58200
|
Empty result when meta_query is supposed to select date less than certain date
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
11/10/2023
|
#38442
|
Error when WP_Query parses orderby array in function parse_order
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
has-patch
|
04/02/2019
|
#60395
|
Filtering posts by open ping_status returns posts with closed ping_status
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
01/31/2024
|
#37489
|
If Posts have the same datetime, the order of the post is indefinite.
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
has-patch
|
06/04/2019
|
#23309
|
Not all WP_Query::query_vars get updated during WP_Query::get_posts()
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#37251
|
Not return 404 on front-page with option page and url `/page/2`
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
|
05/28/2023
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
Query
|
normal
|
normal
|
1
|
Future Release
|
defect (bug)
|
|
02/19/2024
|
#34660
|
Query breaks when nopaging = false and posts_per_page = -1
|
|
Query
|
normal
|
normal
|
1
|
|
defect (bug)
|
needs-unit-tests
|
06/04/2019
|
#38062
|
SELECT DISTINCT ... ORDER BY ...
|
|
Query
|
normal
|
normal
|
1
|
Awaiting Review
|
defect (bug)
|
has-patch
|
04/09/2019
|