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
|
1
|
#38283
|
Some `WP_Query` query vars undocumented
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
03/27/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
|
3
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
05/09/2024
|
|
#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
|
|
#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
|
7
|
#27282
|
WP_Query returns more results when there are sticky posts
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
01/01/2017
|
6
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-refresh
|
03/28/2022
|
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
|
4
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
Query
|
normal
|
critical
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
06/14/2022
|
3
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
11/29/2019
|
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
|
6
|
#27015
|
WP_Query::get_queried_object() does not always work in 'pre_get_posts'
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
07/10/2021
|
2
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
Query
|
normal
|
normal
|
6.8
|
defect (bug)
|
has-patch
|
10/14/2024
|
|
#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
|
1
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
09/23/2024
|
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
|
7
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
02/17/2017
|
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
|
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
|