#42883
|
Use sargable queries for date-based lookups for posts
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
05/29/2024
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
09/20/2023
|
#44658
|
Support BETWEEN for term names in WP_Tax_Query/WP_Term_Query
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
feature request
|
09/11/2019
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
early
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/28/2022
|
#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
|
#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
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/15/2019
|
#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
|
|
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
|
#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
|
#59516
|
Improve cache key generation in query classes
|
pbearne*
|
has-patch
|
normal
|
normal
|
6.8
|
defect (bug)
|
10/04/2024
|
#62022
|
Missing PHPDoc tag for WP_Query::$query_vars_changed
|
|
has-patch
|
normal
|
trivial
|
Awaiting Review
|
defect (bug)
|
09/10/2024
|
#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
|
#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
|
#50598
|
Replace developer.w.org instead of Codex on is_main_query function message
|
|
has-patch
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
07/07/2020
|
#38062
|
SELECT DISTINCT ... ORDER BY ...
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2019
|
#50873
|
Search query parameter causes 404 on pagename match rules
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/15/2024
|
#38283
|
Some `WP_Query` query vars undocumented
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/27/2019
|
#41745
|
Uncaught Error in get_query_var when $wp_query is null
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/01/2021
|
#27272
|
WP meta queries comparing apples to oranges
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#41224
|
WP strips query vars if post contains "wp-admin"
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/03/2017
|
#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
|
#27282
|
WP_Query returns more results when there are sticky posts
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/01/2017
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
11/29/2019
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
has-patch
|
normal
|
normal
|
6.7
|
defect (bug)
|
09/19/2024
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
09/23/2024
|
#41196
|
add _doing_it_wrong to get_query_var and prevent fatal errors
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/12/2017
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/18/2023
|
#45894
|
is_home conditional tag returns incorrect value with home pagination
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/10/2019
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/11/2020
|
#40660
|
the_post_navigation not excluding terms - wp 4.7.4
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/28/2020
|
#37463
|
Abstract Query Class
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
#39120
|
Add get/set methods to remaining main query classes (comments and terms)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/07/2018
|
#54371
|
Add posts_results-like filters to WP_Query when return fields are ids or id=>parent
|
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
04/11/2022
|
#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
|
has-patch
|
normal
|
minor
|
|
enhancement
|
03/12/2024
|
#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()
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/17/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
|
#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
|
#34525
|
Use wp_parse_id_list() in the WP_Query class
|
|
has-patch
|
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
|
#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
|
#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
|
#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
|
#44602
|
meta_query to support FIND_IN_SET
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/18/2018
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#53450
|
[WP_Meta_Query] Add faster LIKE based 'STARTSWITH' and 'ENDSWITH' compare modes for value query
|
|
needs-docs
|
normal
|
trivial
|
Future Release
|
enhancement
|
09/20/2022
|
#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
|
#30184
|
Author page and category
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/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
|
#42164
|
Conditional Tags not working when using ugly URL
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/10/2017
|
#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
|
#23309
|
Not all WP_Query::query_vars get updated during WP_Query::get_posts()
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#30911
|
Overhaul post_status logic in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#34660
|
Query breaks when nopaging = false and posts_per_page = -1
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#18513
|
Searching with explicit post types unsets page post type
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
02/12/2022
|
#56992
|
The Loop displays incorrect data for queries started with `fields => 'id=>parent'`.
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/04/2022
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
needs-unit-tests
|
normal
|
critical
|
Future Release
|
defect (bug)
|
06/14/2022
|
#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
|
#44695
|
WP_Term_Query unexpected 'orderby' behaviour.
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
08/27/2019
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/26/2021
|
#44964
|
`redirect_guess_404_permalink` doesn't support array in `post_type` var
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/01/2018
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2020
|
#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)
|
08/08/2023
|
#15667
|
wp_list_pages, if it finds no pages to display, shows random child pages instead because of a bug in get_pages()
|
jackreichert
|
needs-unit-tests
|
normal
|
minor
|
|
defect (bug)
|
06/04/2019
|
#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
|
#15249
|
Filtering get_search_sql for advanced queries
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#25190
|
Improve name/pagename query variable mapping
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
#19653
|
Order by meta field forces ignore of null records
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/29/2019
|
#35907
|
Permit sticky posts to affect the query in REST_REQUEST
|
rmccue
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
04/23/2017
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/03/2021
|
#49149
|
Write tests for WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/20/2020
|
#23044
|
adjacent_image_link() needs optimization
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#52732
|
'get_posts' has been waiting for so long to have a hook
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2024
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/30/2023
|
#35418
|
Assigned post type not appeared in category and tag archive
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#44903
|
Multisite - Archive Main Query Duplicate Paged Posts
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/13/2018
|
#48524
|
Notice: Undefined variable: matches
|
|
reporter-feedback
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
11/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
|
#35848
|
WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#45394
|
get_posts fails to return results when accessing admin with a custom user role
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
12/10/2018
|