#35398
|
Allow post types to override `posts_per_archive_page`
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
07/12/2024
|
#20044
|
Enable search for pages by slug
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#30530
|
Enhance privacy by hiding posts of other users
|
|
reporter-feedback
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#21096
|
Filter on is_front_page return value
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#15249
|
Filtering get_search_sql for advanced queries
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#49278
|
Improve meta query
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/03/2023
|
#25190
|
Improve name/pagename query variable mapping
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#48193
|
Improve the WordPress loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/20/2024
|
#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
|
#48408
|
Introduce eagerloading of meta data
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
10/23/2019
|
#25180
|
Make it possible to select only posts with comment_count > 0
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
02/17/2017
|
#36670
|
Move CAST to right-hand side of comparison in meta query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#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
|
#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
|
#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
|
#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
|
#51796
|
Raw post data instead of WP_Post instances
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
11/19/2020
|
#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
|
#40404
|
Slow queries with a large number of posts (tens of thousands and above)
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/10/2017
|
#49296
|
Split up WP_Query into more manageable classes
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/26/2020
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/23/2023
|
#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
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/28/2018
|
#41819
|
Support the paged argument in WP_Site_Query and WP_Network_Query
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
11/01/2017
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
#36309
|
Timezone issue in WP_Date_Query->build_mysql_datetime
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#56689
|
Use WP_Query in get_page_by_path
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
02/07/2023
|
#36652
|
Use meta_value in a meta query to decide type format in SQL clause
|
ericlewis
|
dev-feedback
|
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
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#30044
|
Use subqueries for AND clauses in WP_Meta_Query
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/02/2022
|
#34525
|
Use wp_parse_id_list() in the WP_Query class
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
|
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
|
#45084
|
WP_Term_Query multiple 'orderby' support
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/03/2021
|
#31083
|
WP_date_Query does not validate string values of 'before' or 'after'
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
05/21/2024
|
#23044
|
adjacent_image_link() needs optimization
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#26937
|
get_adjacent_post() should use WP_Query rather than build its own SQL query
|
nacin
|
|
normal
|
normal
|
Future Release
|
enhancement
|
01/31/2018
|
#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
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
09/20/2023
|
#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
|
#15068
|
merging query objects/arrays
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#19738
|
meta_query should check for wildcards when using LIKE operator
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#44602
|
meta_query to support FIND_IN_SET
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/18/2018
|
#11398
|
new sort method for query_posts (order by last comment date)
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#37056
|
paginate_links should be a method on WP_Query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#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
|
#31383
|
Add WP_Tax_Query support to WP_User_Query
|
|
|
normal
|
normal
|
Future Release
|
feature request
|
01/02/2024
|
#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
|
#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
|
#16910
|
Lazy evaluation for WP_Query
|
|
|
normal
|
normal
|
|
feature request
|
06/04/2019
|
#30982
|
Meta query in pre_get_posts
|
|
|
normal
|
normal
|
|
feature request
|
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
|
#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
|
#48524
|
Notice: Undefined variable: matches
|
|
reporter-feedback
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
11/09/2019
|
#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
|
#54268
|
Using `author_name` in URL parameter gives unexpected results when logged into contributor account
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
10/14/2021
|
#44372
|
WP_Query cannot properly order by nested Parent/Child relationships
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
06/14/2018
|
#60468
|
WP_Query matches any post when query parameter "name" is an empty string
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
02/07/2024
|
#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
|
#55748
|
wp_query post_type taxonomies doesn't accept array in url if hierarchical
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
05/17/2022
|
#18836
|
ORDER BY RAND() is slow
|
pbearne
|
has-patch
|
normal
|
minor
|
|
enhancement
|
03/12/2024
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
02/27/2023
|
#60027
|
Post patterns show no posts
|
|
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
08/24/2024
|
#61048
|
order sticky posts using the same order for posts
|
|
|
normal
|
major
|
Awaiting Review
|
enhancement
|
04/22/2024
|
#57767
|
SQL query error with multiple order specifications in pre_get_posts.
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
02/21/2023
|
#57412
|
Uncaught TypeError: Cannot read properties of undefined (reading 'length'): jquery migrate
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
01/03/2023
|
#62044
|
WP allows to inject random strings into archive page urls, still returning 200
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
09/12/2024
|
#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
|
#52971
|
WP_Query's meta_query With Multiple EXISTS keys and OR Relation Doesn't Work Properly
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
04/05/2021
|