2
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
04/26/2021
|
|
#50871
|
When exact is true and orderby set to relevance, there is a DB error on search results page
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
08/07/2020
|
15
|
#21790
|
When set a static front page WP main query isn't set correctly
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
05/05/2017
|
|
#44519
|
Where are the pages of the headings added with the + add-on (any) ala https://wp-kama.ru/cat/wordpress/codex+xxx
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
07/05/2018
|
4
|
#43445
|
Wildcard `LIKE` support for `WP_Meta_Query` (and maybe other queries?)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/02/2018
|
|
#48768
|
WordPress 5.3 ajax bug with Elementor 2.7.5
|
|
Query
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
|
11/22/2019
|
4
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
09/21/2022
|
|
#40327
|
Wrong SQL request for 'EXIST' OR 'NOT EXIST' on same post meta
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/31/2017
|
5
|
#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
|
Future Release
|
defect (bug)
|
dev-feedback
|
02/18/2024
|
|
#35913
|
`is_()` conditional methods should share their logic
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
02/06/2017
|
4
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
02/13/2020
|
|
#44964
|
`redirect_guess_404_permalink` doesn't support array in `post_type` var
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
10/01/2018
|
1
|
#43238
|
`suppress_filters` not set in `pre_get_posts` hook
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
05/13/2022
|
|
#40300
|
`title` parameter causes `WP_Query` to return sticky posts.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/29/2017
|
2
|
#41196
|
add _doing_it_wrong to get_query_var and prevent fatal errors
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
11/12/2017
|
|
#45666
|
adding "order" as query arg to the homepage url you are redirected to the last posts page
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
12/18/2018
|
1
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
04/18/2023
|
1
|
#37762
|
cache_results parameter doesn't prevent queried posts from being added to cache
|
boonebgorges
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
06/15/2022
|
|
#57505
|
category archive url ending with "/0" should be 404
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
05/14/2023
|
|
#57766
|
filter query_loop_block_query_vars repeater 4 times
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
02/18/2023
|
1
|
#45394
|
get_posts fails to return results when accessing admin with a custom user role
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
12/10/2018
|
|
#61763
|
get_posts($args) returns "auto-drafts" even when "post_status=>publish"
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
07/26/2024
|
|
#53495
|
incorrect (and confusing) DocBlock for get_page_by_title()
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
06/24/2021
|
2
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
01/07/2020
|
1
|
#45894
|
is_home conditional tag returns incorrect value with home pagination
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
01/10/2019
|
1
|
#49550
|
is_home is set to true even for cron jobs, which causes sticky posts to get prepended to all WP_Query results
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
02/24/2023
|
9
|
#20899
|
is_home() should be able to be true when is_feed()
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
05/19/2017
|
3
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
01/11/2020
|
|
#45400
|
last of query_vars contains anchor
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
12/05/2018
|
3
|
#48280
|
orderby meta_value breaks with newer versions of MySQL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
01/30/2020
|
1
|
#40166
|
query_vars bug sets is_home to false.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
05/20/2019
|
2
|
#58234
|
sanitize_title_with_dashes fatal error when query var value is an array in php 8
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
08/08/2023
|
1
|
#40660
|
the_post_navigation not excluding terms - wp 4.7.4
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
07/28/2020
|
3
|
#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
10/12/2019
|
|
#47211
|
using amp in search show all post / pages with the &
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
05/10/2019
|
14
|
#46294
|
wp rest api fails to paginate page requests correctly when ordering on menu_order
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
04/12/2021
|
|
#57083
|
wp_list_authors and WP Search Users
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
11/16/2022
|
|
#55748
|
wp_query post_type taxonomies doesn't accept array in url if hierarchical
|
|
Query
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
|
05/17/2022
|
7
|
#37463
|
Abstract Query Class
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
04/20/2023
|
|
#60154
|
Add filter hook to either get_post_stati or WP_List_Util::filter
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
02/15/2024
|
1
|
#39120
|
Add get/set methods to remaining main query classes (comments and terms)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
04/07/2018
|
4
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
09/15/2023
|
|
#47694
|
Adding a filter for $searchand variable
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
07/13/2019
|
|
#61632
|
Allow ordering of posts by `status`
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
07/11/2024
|
2
|
#61008
|
Allow searching of extra post fields
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
04/15/2024
|
1
|
#56105
|
Call update_post_parent_caches in the_post function in WP_Query class
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
04/20/2023
|
|
#51155
|
Default Order and Order By for Post Types and Taxonomies
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
08/27/2020
|
12
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
07/12/2024
|
13
|
#49278
|
Improve meta query
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
01/03/2023
|
7
|
#48193
|
Improve the WordPress loop
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
01/20/2024
|
5
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
01/27/2021
|
|
#48408
|
Introduce eagerloading of meta data
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
reporter-feedback
|
10/23/2019
|
3
|
#40341
|
Make search possible in custom fields
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
05/24/2024
|
2
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
04/20/2023
|
|
#42907
|
Meta Queries: support ordering by meta_value but still including items without that key
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
01/16/2019
|
8
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
pbearne
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
11/12/2024
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
close
|
11/25/2024
|
2
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
11/21/2024
|
3
|
#41266
|
Not hard coding the table alias prefix in WP_Meta_Query would make class more extendable
|
noisysocks
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
has-patch
|
11/07/2021
|
3
|
#18836
|
ORDER BY RAND() is slow
|
pbearne
|
Query
|
normal
|
minor
|
Future Release
|
enhancement
|
has-patch
|
11/19/2024
|
1
|
#40434
|
Optimize SQL in Admin - In the Post/CPT List `wp-admin/edit.php` > the function get_posts()
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
01/17/2018
|
13
|
#19653
|
Order by meta field forces ignore of null records
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
03/29/2019
|
5
|
#35907
|
Permit sticky posts to affect the query in REST_REQUEST
|
rmccue
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
04/23/2017
|
1
|
#41843
|
Provide more flexibility to the `get_{$adjacent}_post_where` hook
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
03/13/2019
|
3
|
#39708
|
Provide suppress_actions argument on WP_Query::get_posts or apply suppress_filters to pre_get_posts
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
07/03/2018
|
4
|
#29424
|
Query argument 'orderby' makes duplicated parameters possible; does not support some available columns
|
johnbillion
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
has-patch
|
02/05/2020
|
3
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
07/04/2024
|
|
#51796
|
Raw post data instead of WP_Post instances
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
reporter-feedback
|
11/19/2020
|
|
#49555
|
Reorder WP_Query methods for a more logical placement
|
|
Query
|
normal
|
trivial
|
Future Release
|
enhancement
|
|
03/01/2020
|
5
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
04/30/2024
|
|
#58593
|
Slow list of posts in the admin panel (with a large wp_posts table)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
06/26/2023
|
3
|
#40404
|
Slow queries with a large number of posts (tens of thousands and above)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
04/10/2017
|
|
#49296
|
Split up WP_Query into more manageable classes
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
01/26/2020
|
3
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
01/23/2023
|
2
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
02/28/2018
|
|
#41819
|
Support the paged argument in WP_Site_Query and WP_Network_Query
|
spacedmonkey
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
11/01/2017
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
02/14/2020
|
8
|
#56689
|
Use WP_Query in get_page_by_path
|
spacedmonkey
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
02/07/2023
|
6
|
#42883
|
Use sargable queries for date-based lookups for posts
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
05/29/2024
|
13
|
#30044
|
Use subqueries for AND clauses in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-refresh
|
11/02/2022
|
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
12/24/2020
|
3
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
03/03/2021
|
2
|
#49149
|
Write tests for WP_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
02/20/2020
|
8
|
#53450
|
[WP_Meta_Query] Add faster LIKE based 'STARTSWITH' and 'ENDSWITH' compare modes for value query
|
|
Query
|
normal
|
trivial
|
Future Release
|
enhancement
|
needs-docs
|
09/20/2022
|
|
#55630
|
add array input to meta_query key
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
04/27/2022
|
3
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
has-patch
|
05/21/2024
|
17
|
#26937
|
get_adjacent_post() should use WP_Query rather than build its own SQL query
|
nacin
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
01/31/2018
|
|
#43842
|
get_children() function enhancement.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
01/16/2019
|
3
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
09/20/2023
|
|
#41797
|
max_num_pages for WP_User_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
09/05/2017
|
|
#44602
|
meta_query to support FIND_IN_SET
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
07/18/2018
|
1
|
#61048
|
order sticky posts using the same order for posts
|
|
Query
|
normal
|
major
|
Awaiting Review
|
enhancement
|
|
04/22/2024
|
|
#43324
|
query_vars is not necessarely representative of the final query_vars used to build the SQL query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
01/16/2019
|
|
#50154
|
About date and time request of version 5.4.1
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
feature request
|
|
05/13/2020
|
1
|
#60490
|
Add 'author__in' option to WP_Query 'orderby' options
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
feature request
|
|
02/09/2024
|
35
|
#31383
|
Add WP_Tax_Query support to WP_User_Query
|
|
Query
|
normal
|
normal
|
Future Release
|
feature request
|
|
10/21/2024
|
1
|
#56168
|
Add a way easily perform advanced post fields queries
|
|
Query
|
normal
|
trivial
|
Awaiting Review
|
feature request
|
|
07/07/2022
|
|
#49057
|
Add tag for any WP_Query for simple access in pre_get_post action
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
feature request
|
|
12/21/2019
|
1
|
#39632
|
Adding Query identifier attribute
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
feature request
|
|
06/07/2017
|
5
|
#53060
|
Data Deletion - comments
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
feature request
|
|
04/20/2021
|