| 1
|
#63106
|
The loop can throw warning if `WP_Query::have_posts()` not called.
|
|
Query
|
low
|
normal
|
Awaiting Review
|
defect (bug)
|
|
16 months ago
|
|
|
#58553
|
Two query blocks on home template (FSE) breaks the second one
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
3 years ago
|
| 4
|
#41745
|
Uncaught Error in get_query_var when $wp_query is null
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
5 years ago
|
| 2
|
#58806
|
Unexpected ordering result when ordering based on multiple clauses
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
3 years ago
|
| 3
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
2 years ago
|
| 1
|
#40521
|
Using a custom query var on a static front page results in wrong $post
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
2 months ago
|
| 1
|
#41546
|
WP Query order by meta_clause not working correctly for decimal values
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
9 years ago
|
|
|
#41224
|
WP strips query vars if post contains "wp-admin"
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
9 years ago
|
| 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
|
22 months ago
|
|
|
#62401
|
WP_Query add extra JOINs after calling get_posts() with category__in in query arguments
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
17 months ago
|
|
|
#47009
|
WP_Query bug with author=0
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
7 years ago
|
|
|
#40387
|
WP_Query bug with product post type with search parameter on
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
9 years ago
|
|
|
#61621
|
WP_Query get_posts should be call its property not again execute all caculations
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
8 months ago
|
| 1
|
#47802
|
WP_Query get_posts sometimes inserts contradictory taxonomy queries
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
6 years ago
|
|
|
#60984
|
WP_Query is returning the two same post instead of one
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
21 months ago
|
| 6
|
#27282
|
WP_Query returns more results when there are sticky posts
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
14 months ago
|
| 6
|
#55207
|
WP_Query returns published sticky posts when post_status is set to draft
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-refresh
|
19 months ago
|
| 1
|
#43634
|
WP_Query returns wrong result if 10+ search terms and all negative.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
8 years ago
|
| 3
|
#63768
|
WP_Query will generate an unexpected SQL query when using switch_to_blog and post_type = any
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
8 months ago
|
| 3
|
#44737
|
WP_Query: in searches post_status should consider exclude_from_search
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
7 years ago
|
| 2
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
6 months ago
|
| 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
|
5 years ago
|
| 3
|
#60745
|
WP_Query::parse_query() does not handle invalid query arg values
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
17 months ago
|
|
|
#48029
|
WP_Query::query only using a single post_status
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
6 years ago
|
|
|
#49911
|
WP_Tax_Query generates incorrect SQL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
6 years ago
|
| 1
|
#44695
|
WP_Term_Query unexpected 'orderby' behaviour.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
7 years ago
|
|
|
#46347
|
WP_Term_Query where sql_clauses oddity
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
7 years ago
|
| 1
|
#43391
|
WP_User_Query bug
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
8 years ago
|
| 2
|
#56311
|
Week query variable is not being sanitized correctly
|
audrasjb
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
4 weeks ago
|
| 3
|
#52559
|
When doing JOINs for meta queries the meta_key should be in the ON clause whenever possible.
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
has-patch
|
4 weeks ago
|
|
|
#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
|
5 months ago
|
| 15
|
#21790
|
When set a static front page WP main query isn't set correctly
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
9 years ago
|
|
|
#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)
|
|
8 years ago
|
| 4
|
#43445
|
Wildcard `LIKE` support for `WP_Meta_Query` (and maybe other queries?)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
8 years ago
|
| 4
|
#44965
|
WordPress Core strips $_GET['error'] occasionally
|
SergeyBiryukov*
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
4 years ago
|
|
|
#40327
|
Wrong SQL request for 'EXIST' OR 'NOT EXIST' on same post meta
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
9 years ago
|
| 7
|
#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
|
3 months ago
|
| 4
|
#48360
|
`meta_value` is ignored when empty string is provided
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
6 years ago
|
|
|
#44964
|
`redirect_guess_404_permalink` doesn't support array in `post_type` var
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
needs-unit-tests
|
8 years ago
|
| 1
|
#43238
|
`suppress_filters` not set in `pre_get_posts` hook
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
dev-feedback
|
4 years ago
|
|
|
#40300
|
`title` parameter causes `WP_Query` to return sticky posts.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
9 years ago
|
| 2
|
#41196
|
add _doing_it_wrong to get_query_var and prevent fatal errors
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
9 years ago
|
|
|
#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)
|
|
8 years ago
|
| 1
|
#58147
|
bugfix: rewind_posts when posts array index != 0
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
3 years ago
|
| 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
|
4 years ago
|
|
|
#57505
|
category archive url ending with "/0" should be 404
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
3 years ago
|
|
|
#57766
|
filter query_loop_block_query_vars repeater 4 times
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
3 years ago
|
| 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
|
8 years ago
|
|
|
#61763
|
get_posts($args) returns "auto-drafts" even when "post_status=>publish"
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
2 years ago
|
|
|
#47068
|
get_queried_object() returns null date archives and on homepage with blog on front settings
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
8 months ago
|
|
|
#53495
|
incorrect (and confusing) DocBlock for get_page_by_title()
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
6 weeks ago
|
| 2
|
#59252
|
is_front_page returns false when a static blog page has been set.
|
joedolson*
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
18 months ago
|
| 2
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
needs-unit-tests
|
13 months ago
|
| 1
|
#45894
|
is_home conditional tag returns incorrect value with home pagination
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
8 years ago
|
| 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)
|
|
3 years ago
|
| 9
|
#20899
|
is_home() should be able to be true when is_feed()
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
dev-feedback
|
13 months ago
|
| 3
|
#49168
|
is_post_type_archive( $post_types = '' ) doesn't work with underscore (_)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
7 years ago
|
|
|
#45400
|
last of query_vars contains anchor
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
8 years ago
|
| 4
|
#48280
|
orderby meta_value breaks with newer versions of MySQL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
6 years ago
|
| 1
|
#40166
|
query_vars bug sets is_home to false.
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
7 years ago
|
| 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
|
18 months ago
|
| 1
|
#40660
|
the_post_navigation not excluding terms - wp 4.7.4
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
has-patch
|
6 years ago
|
| 3
|
#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
7 years ago
|
|
|
#47211
|
using amp in search show all post / pages with the &
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
|
7 years ago
|
| 16
|
#46294
|
wp rest api fails to paginate page requests correctly when ordering on menu_order
|
|
Query
|
normal
|
normal
|
Future Release
|
defect (bug)
|
|
7 months ago
|
|
|
#57083
|
wp_list_authors and WP Search Users
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
reporter-feedback
|
4 years ago
|
| 7
|
#37463
|
Abstract Query Class
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
3 years ago
|
|
|
#60154
|
Add filter hook to either get_post_stati or WP_List_Util::filter
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
2 years ago
|
| 1
|
#39120
|
Add get/set methods to remaining main query classes (comments and terms)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
8 years ago
|
| 1
|
#63044
|
Add method to test whether currently viewing the site home page in WP_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
17 months ago
|
| 1
|
#62953
|
Add post_ancestor as query var to WP_Query class
|
bbpaule
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
14 months ago
|
| 4
|
#59351
|
Add support for querying by an exact date with WP_Date_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
3 years ago
|
|
|
#47694
|
Adding a filter for $searchand variable
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
7 years ago
|
|
|
#61632
|
Allow ordering of posts by `status`
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
2 years ago
|
| 3
|
#61008
|
Allow searching of extra post fields
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
2 years ago
|
| 1
|
#56105
|
Call update_post_parent_caches in the_post function in WP_Query class
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
3 years ago
|
|
|
#51155
|
Default Order and Order By for Post Types and Taxonomies
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
6 years ago
|
| 13
|
#57416
|
Do not split query if requesting one post
|
spacedmonkey
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
6 weeks ago
|
| 7
|
#48193
|
Improve the WordPress loop
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
2 years ago
|
| 5
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
5 years ago
|
| 3
|
#40341
|
Make search possible in custom fields
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
2 years ago
|
| 2
|
#41678
|
Make sure all field returns use filters in WP Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
needs-unit-tests
|
3 years ago
|
|
|
#42907
|
Meta Queries: support ordering by meta_value but still including items without that key
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
8 years ago
|
| 8
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
pbearne
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
20 months ago
|
|
|
#62484
|
Multiple selection of post type in Query loop block
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
close
|
14 months ago
|
| 4
|
#62476
|
Need the ability to clear WP_Query cache partially and ability to set expiry for queries.
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
|
19 months ago
|
| 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
|
5 years ago
|
| 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
|
|
17 months ago
|
| 14
|
#19653
|
Order by meta field forces ignore of null records
|
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
needs-unit-tests
|
7 years ago
|
| 1
|
#41843
|
Provide more flexibility to the `get_{$adjacent}_post_where` hook
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
7 years ago
|
| 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
|
|
8 years ago
|
| 4
|
#29424
|
Query argument 'orderby' makes duplicated parameters possible; does not support some available columns
|
johnbillion
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
has-patch
|
6 years ago
|
| 4
|
#51811
|
Query inconsistency between WP_Query and WP_Term_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
has-patch
|
8 days ago
|
| 5
|
#52386
|
Should WP_Query::get_posts be a private method?
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
2 years ago
|
|
|
#58593
|
Slow list of posts in the admin panel (with a large wp_posts table)
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
3 years ago
|
|
|
#49296
|
Split up WP_Query into more manageable classes
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
6 years ago
|
| 3
|
#57211
|
Split up `WP_Query::get_posts()`
|
costdev
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
3 years ago
|
| 2
|
#42082
|
Support compare custom fields in WP_Meta_Query
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
|
8 years ago
|
|
|
#41819
|
Support the paged argument in WP_Site_Query and WP_Network_Query
|
spacedmonkey
|
Query
|
normal
|
normal
|
Future Release
|
enhancement
|
dev-feedback
|
9 years ago
|
|
|
#49429
|
There seems to be no way to check query value for NULL
|
|
Query
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
dev-feedback
|
6 years ago
|