|
#42256
|
Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches posts_per_page
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
11/21/2017
|
1
|
#48078
|
Some WP_XXX_Query::query() methods produce incorrect results when called in a loop
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
09/20/2019
|
|
#54436
|
Sorting issue- when sorting via a custom meta key
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
11/14/2021
|
3
|
#39140
|
Taxonomies - operator AND doesn't work properly for taxonomy hierarchies
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-refresh
|
01/08/2019
|
|
#56992
|
The Loop displays incorrect data for queries started with `fields => 'id=>parent'`.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
11/04/2022
|
2
|
#41446
|
The PHP notice displayed after the overwriting global $posts by a new empty query.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
08/25/2020
|
|
#58553
|
Two query blocks on home template (FSE) breaks the second one
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
06/16/2023
|
4
|
#41745
|
Uncaught Error in get_query_var when $wp_query is null
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
10/01/2021
|
|
#57412
|
Uncaught TypeError: Cannot read properties of undefined (reading 'length'): jquery migrate
|
|
Query
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
|
01/03/2023
|
2
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
07/14/2023
|
|
#54268
|
Using `author_name` in URL parameter gives unexpected results when logged into contributor account
|
|
Query
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
|
10/14/2021
|
1
|
#41546
|
WP Query order by meta_clause not working correctly for decimal values
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
08/05/2017
|
|
#62044
|
WP allows to inject random strings into archive page urls, still returning 200
|
|
Query
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
|
09/12/2024
|
|
#41224
|
WP strips query vars if post contains "wp-admin"
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
07/03/2017
|
3
|
#33341
|
WP_Meta_Query IN operator with empty array does not return expected result
|
|
Query
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
10/17/2023
|
2
|
#49284
|
WP_Meta_Query's 'compare_key' does not support 'NOT EXISTS' when used with WP_User_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
09/12/2024
|
|
#62401
|
WP_Query add extra JOINs after calling get_posts() with category__in in query arguments
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
11/14/2024
|
|
#47009
|
WP_Query bug with author=0
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
04/22/2019
|
|
#40387
|
WP_Query bug with product post type with search parameter on
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
04/18/2017
|
1
|
#44372
|
WP_Query cannot properly order by nested Parent/Child relationships
|
|
Query
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
|
06/14/2018
|
|
#61621
|
WP_Query get_posts should be call its property not again execute all caculations
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
08/07/2024
|
1
|
#47802
|
WP_Query get_posts sometimes inserts contradictory taxonomy queries
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
09/04/2020
|
|
#60984
|
WP_Query is returning the two same post instead of one
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
10/15/2024
|
|
#60468
|
WP_Query matches any post when query parameter "name" is an empty string
|
|
Query
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
|
02/07/2024
|
1
|
#42546
|
WP_Query not handling 'LIKE' correctly.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/14/2018
|
1
|
#43634
|
WP_Query returns wrong result if 10+ search terms and all negative.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
01/17/2019
|
|
#52971
|
WP_Query's meta_query With Multiple EXISTS keys and OR Relation Doesn't Work Properly
|
|
Query
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
|
04/05/2021
|
2
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
03/03/2020
|
|
#48029
|
WP_Query::query only using a single post_status
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
05/12/2020
|
|
#49911
|
WP_Tax_Query generates incorrect SQL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
04/15/2020
|
1
|
#44695
|
WP_Term_Query unexpected 'orderby' behaviour.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
08/27/2019
|
|
#46347
|
WP_Term_Query where sql_clauses oddity
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
02/26/2019
|
1
|
#43391
|
WP_User_Query bug
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/03/2018
|
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
|
|
#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
|
|
#40327
|
Wrong SQL request for 'EXIST' OR 'NOT EXIST' on same post meta
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
03/31/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
|
|
#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
|
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
|
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
|
|
#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
|
7
|
#48193
|
Improve the WordPress loop
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
01/20/2024
|
|
#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
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
close
|
11/25/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
|
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
|
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
|
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
|
2
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
02/28/2018
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
02/14/2020
|
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
12/24/2020
|
2
|
#49149
|
Write tests for WP_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
02/20/2020
|
|
#55630
|
add array input to meta_query key
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
04/27/2022
|
|
#43842
|
get_children() function enhancement.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
01/16/2019
|
|
#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
|
1
|
#56168
|
Add a way easily perform advanced post fields queries
|
|
Query
|
normal
|
trivial
|
Awaiting Review
|
feature request
|
|
07/07/2022
|