#48078
|
Some WP_XXX_Query::query() methods produce incorrect results when called in a loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
09/20/2019
|
#48193
|
Improve the WordPress loop
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/20/2024
|
#48280
|
orderby meta_value breaks with newer versions of MySQL
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/30/2020
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2020
|
#48408
|
Introduce eagerloading of meta data
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
10/23/2019
|
#48524
|
Notice: Undefined variable: matches
|
|
reporter-feedback
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
11/09/2019
|
#48768
|
WordPress 5.3 ajax bug with Elementor 2.7.5
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
11/22/2019
|
#48860
|
get_queried_object return false when executed in parse_query hook
|
|
|
normal
|
normal
|
|
defect (bug)
|
12/03/2019
|
#49057
|
Add tag for any WP_Query for simple access in pre_get_post action
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
12/21/2019
|
#49149
|
Write tests for WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/20/2020
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/11/2020
|
#49278
|
Improve meta query
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/03/2023
|
#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
|
#49296
|
Split up WP_Query into more manageable classes
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
01/26/2020
|
#49429
|
There seems to be no way to check query value for NULL
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/14/2020
|
#49550
|
is_home is set to true even for cron jobs, which causes sticky posts to get prepended to all WP_Query results
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/24/2023
|
#49555
|
Reorder WP_Query methods for a more logical placement
|
|
|
normal
|
trivial
|
Future Release
|
enhancement
|
03/01/2020
|
#49911
|
WP_Tax_Query generates incorrect SQL
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/15/2020
|
#50070
|
'post_type' query variable not set for taxonomy queries
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/27/2020
|
#50154
|
About date and time request of version 5.4.1
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
05/13/2020
|
#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
|
#50871
|
When exact is true and orderby set to relevance, there is a DB error on search results page
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
08/07/2020
|
#50873
|
Search query parameter causes 404 on pagename match rules
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/15/2024
|
#50885
|
Setting a pre_get_posts query post_type to array results in broken wp-admin filters
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
08/11/2020
|
#51094
|
WP_Query.query with invalid post_status will return all
|
metalandcoffee*
|
needs-unit-tests
|
normal
|
critical
|
Future Release
|
defect (bug)
|
06/14/2022
|
#51155
|
Default Order and Order By for Post Types and Taxonomies
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
08/27/2020
|
#51794
|
An author_name query with nonexistent user returns posts with no author
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/17/2020
|
#51796
|
Raw post data instead of WP_Post instances
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
11/19/2020
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/04/2024
|
#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
|
#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
|
#52167
|
WP_Query: always convert `any` post type values to public values.
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
12/24/2020
|
#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
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/30/2024
|
#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
|
#52732
|
'get_posts' has been waiting for so long to have a hook
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/13/2024
|
#52921
|
If page content blank and any page shows 404 error
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/30/2021
|
#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
|
#53060
|
Data Deletion - comments
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
04/20/2021
|
#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
|
#53495
|
incorrect (and confusing) DocBlock for get_page_by_title()
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/24/2021
|
#53824
|
Fatal error when in action pre_get_posts call *_template()
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/15/2022
|
#54268
|
Using `author_name` in URL parameter gives unexpected results when logged into contributor account
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
10/14/2021
|
#54436
|
Sorting issue- when sorting via a custom meta key
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/14/2021
|
#54853
|
Search only searching phrases and not searching individual terms
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/19/2022
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
early
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2025
|
#55630
|
add array input to meta_query key
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/27/2022
|
#55649
|
Block Query with full post content do not display properly
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/02/2022
|
#55748
|
wp_query post_type taxonomies doesn't accept array in url if hierarchical
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
05/17/2022
|
#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
|
#56081
|
Query Loop block with selection causes Sticky Posts setting to be ignored
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/27/2022
|
#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
|
#56165
|
Bogus query parameters force WordPress to drop query limit and exhausts memory
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/06/2022
|
#56168
|
Add a way easily perform advanced post fields queries
|
|
|
normal
|
trivial
|
Awaiting Review
|
feature request
|
07/07/2022
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/06/2025
|
#56312
|
Appending ?name to home URL shows the posts page instead of a static front page
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/06/2023
|
#56689
|
Use WP_Query in get_page_by_path
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
02/07/2023
|
#56992
|
The Loop displays incorrect data for queries started with `fields => 'id=>parent'`.
|
|
has-patch
|
normal
|
normal
|
6.8
|
defect (bug)
|
12/12/2024
|
#57083
|
wp_list_authors and WP Search Users
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/16/2022
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
01/23/2023
|
#57412
|
Uncaught TypeError: Cannot read properties of undefined (reading 'length'): jquery migrate
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
01/03/2023
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
07/12/2024
|
#57505
|
category archive url ending with "/0" should be 404
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/14/2023
|
#57678
|
Missing use of placeholders and $wpdb->prepare()
|
|
dev-feedback
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
02/27/2023
|
#57766
|
filter query_loop_block_query_vars repeater 4 times
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/18/2023
|
#57767
|
SQL query error with multiple order specifications in pre_get_posts.
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
02/21/2023
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/18/2023
|
#58200
|
Empty result when meta_query is supposed to select date less than certain date
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/10/2023
|
#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)
|
12/26/2024
|
#58515
|
Need to use $wpdb->prepare instead of sprintf
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/22/2023
|
#58553
|
Two query blocks on home template (FSE) breaks the second one
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
06/16/2023
|
#58593
|
Slow list of posts in the admin panel (with a large wp_posts table)
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
06/26/2023
|
#58600
|
wp_query Enhancement
|
|
close
|
normal
|
normal
|
Awaiting Review
|
feature request
|
07/03/2023
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/14/2023
|
#59235
|
AJAX request returns critical error in class-wp-date-query.php
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/30/2023
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
09/15/2023
|
#59516
|
Improve cache key generation in query classes
|
pbearne*
|
has-patch
|
normal
|
normal
|
6.8
|
defect (bug)
|
01/15/2025
|
#59809
|
Inconsistent "ITEMS PER PAGE" across pagination pages in the Query Loop
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/21/2024
|
#60027
|
Post patterns show no posts
|
|
|
normal
|
major
|
Awaiting Review
|
defect (bug)
|
08/24/2024
|
#60154
|
Add filter hook to either get_post_stati or WP_List_Util::filter
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
02/15/2024
|
#60274
|
Query loop showing too many posts
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/17/2024
|
#60395
|
Filtering posts by open ping_status returns posts with closed ping_status
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/31/2024
|
#60468
|
WP_Query matches any post when query parameter "name" is an empty string
|
|
|
normal
|
minor
|
Awaiting Review
|
defect (bug)
|
02/07/2024
|
#60490
|
Add 'author__in' option to WP_Query 'orderby' options
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
02/09/2024
|
#60566
|
Posts Page as Draft remains publicly queryable
|
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/19/2024
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
has-patch
|
normal
|
normal
|
6.8
|
defect (bug)
|
01/13/2025
|
#60984
|
WP_Query is returning the two same post instead of one
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/15/2024
|
#61008
|
Allow searching of extra post fields
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/15/2024
|
#61048
|
order sticky posts using the same order for posts
|
|
|
normal
|
major
|
Awaiting Review
|
enhancement
|
04/22/2024
|
#61621
|
WP_Query get_posts should be call its property not again execute all caculations
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
08/07/2024
|
#61632
|
Allow ordering of posts by `status`
|
|
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
07/11/2024
|
#61763
|
get_posts($args) returns "auto-drafts" even when "post_status=>publish"
|
|
reporter-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/26/2024
|
#62044
|
WP allows to inject random strings into archive page urls, still returning 200
|
|
|
normal
|
critical
|
Awaiting Review
|
defect (bug)
|
09/12/2024
|
#62401
|
WP_Query add extra JOINs after calling get_posts() with category__in in query arguments
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
11/14/2024
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
01/06/2025
|
#62484
|
Multiple selection of post type in Query loop block
|
|
close
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
11/25/2024
|