#40335
|
using 'pre_get_terms' is confusing when it comes to ordering by meta
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
10/12/2019
|
#40327
|
Wrong SQL request for 'EXIST' OR 'NOT EXIST' on same post meta
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/31/2017
|
#40300
|
`title` parameter causes `WP_Query` to return sticky posts.
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/29/2017
|
#40166
|
query_vars bug sets is_home to false.
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/20/2019
|
#39945
|
WP_Query::get_posts fails to correctly sanitize 'posts_per_page'
|
|
dev-feedback
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/03/2020
|
#39914
|
'orderby' date results differs depend on 'post_status'
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
02/19/2017
|
#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
|
#39632
|
Adding Query identifier attribute
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
06/07/2017
|
#39540
|
NOT EXISTS meta condition doesn't work if meta has NULL value.
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
07/14/2020
|
#39447
|
Improvement to the get_the_posts_navigation
|
SergeyBiryukov
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
01/27/2021
|
#39428
|
Die fast in get_posts if get_user_by returns false
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/15/2019
|
#39140
|
Taxonomies - operator AND doesn't work properly for taxonomy hierarchies
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
01/08/2019
|
#39120
|
Add get/set methods to remaining main query classes (comments and terms)
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/07/2018
|
#38709
|
Unlimited query for invalid post names
|
pbearne
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/09/2024
|
#38442
|
Error when WP_Query parses orderby array in function parse_order
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
04/02/2019
|
#38283
|
Some `WP_Query` query vars undocumented
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
03/27/2019
|
#38173
|
Meta query creates unecessary multiple left joins when using the same meta key
|
pbearne
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/12/2024
|
#38062
|
SELECT DISTINCT ... ORDER BY ...
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
04/09/2019
|
#37837
|
Extend WP_Query author parameters to filter by role
|
|
|
normal
|
normal
|
Awaiting Review
|
feature request
|
03/30/2017
|
#37762
|
cache_results parameter doesn't prevent queried posts from being added to cache
|
boonebgorges
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
06/15/2022
|
#37645
|
Changes made to certain is_*() functions generates PHP Notices when arrays or objects are present
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
07/23/2021
|
#37530
|
is_front_page() is based on wrong data -> gives wrong results
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/07/2020
|
#37489
|
If Posts have the same datetime, the order of the post is indefinite.
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#37463
|
Abstract Query Class
|
|
has-patch
|
normal
|
normal
|
Awaiting Review
|
enhancement
|
04/20/2023
|
#37251
|
Not return 404 on front-page with option page and url `/page/2`
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
05/28/2023
|
#37056
|
paginate_links should be a method on WP_Query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#36966
|
Search is not working with soft hyphen symbols
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#36881
|
Improved hot-wiring of set_found_posts
|
pbearne
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
05/08/2024
|
#36696
|
WP_Meta_Query can give wrong results when comparing large numbers
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#36670
|
Move CAST to right-hand side of comparison in meta query
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#36652
|
Use meta_value in a meta query to decide type format in SQL clause
|
ericlewis
|
dev-feedback
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#36309
|
Timezone issue in WP_Date_Query->build_mysql_datetime
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#35913
|
`is_()` conditional methods should share their logic
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/06/2017
|
#35848
|
WordPress 4.4 Handling Custom Taxonomies and Tax Queries Correctly
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#35820
|
WP_Query(array( 'p' => 0)) will return posts
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#35761
|
Add filter(s) to get_adjacent_post function to change variables further down
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#35758
|
Reading Settings fallback option when none is selected at Front page displays
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#35418
|
Assigned post type not appeared in category and tag archive
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#35398
|
Allow post types to override `posts_per_archive_page`
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#35131
|
Unexpected 404: pending post hides published post with matching slug
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#34934
|
Suppress preg_match() and urldecode() errors in WP::parse_request().
|
|
reporter-feedback
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#34660
|
Query breaks when nopaging = false and posts_per_page = -1
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#34525
|
Use wp_parse_id_list() in the WP_Query class
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#34211
|
Ability to specify fields WP_Query can search
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#31957
|
query fails, when post is queried under specific name
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#31383
|
Add WP_Tax_Query support to WP_User_Query
|
|
|
normal
|
normal
|
Future Release
|
feature request
|
10/21/2024
|
#31083
|
WP_date_Query does not validate string values of 'before' or 'after'
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#30994
|
Offset return for wp_get_archives
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#30982
|
Meta query in pre_get_posts
|
|
|
normal
|
normal
|
|
feature request
|
06/04/2019
|
#30911
|
Overhaul post_status logic in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#30530
|
Enhance privacy by hiding posts of other users
|
|
reporter-feedback
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#30184
|
Author page and category
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#30044
|
Use subqueries for AND clauses in WP_Meta_Query
|
|
|
normal
|
normal
|
Future Release
|
enhancement
|
11/02/2022
|
#29823
|
WP_Date_Query across tables
|
boonebgorges*
|
|
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
|
#29178
|
Using WP_Query only for result of SQL_CALC_FOUND_ROWS
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#28568
|
Can't get private posts/pages via WP_Query when not logged in as administrator
|
|
|
normal
|
normal
|
Awaiting Review
|
defect (bug)
|
03/22/2019
|
#27507
|
get_posts() not honoring post_status criteria
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#27282
|
WP_Query returns more results when there are sticky posts
|
|
has-patch
|
normal
|
normal
|
Future Release
|
defect (bug)
|
01/01/2017
|
#27272
|
WP meta queries comparing apples to oranges
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#27266
|
Front end search for attachment title cannot succeed
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
01/18/2022
|
#27094
|
get_boundary_post() doesn't work for custom post types
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#27015
|
WP_Query::get_queried_object() does not always work in 'pre_get_posts'
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
07/10/2021
|
#26937
|
get_adjacent_post() should use WP_Query rather than build its own SQL query
|
nacin
|
|
normal
|
normal
|
Future Release
|
enhancement
|
01/31/2018
|
#25190
|
Improve name/pagename query variable mapping
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#25180
|
Make it possible to select only posts with comment_count > 0
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#24142
|
Zero value for posts_per_page value in wp_query custom instance and for 'Blog pages show at most' option
|
SergeyBiryukov
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/18/2024
|
#23862
|
Clean up old WP->public_query_vars and WP->private_query_vars
|
nacin
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
11/30/2022
|
#23336
|
Sticky Posts lack sanity bounding. If used too much, can severely degrade performance.
|
|
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#23309
|
Not all WP_Query::query_vars get updated during WP_Query::get_posts()
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
06/04/2019
|
#23044
|
adjacent_image_link() needs optimization
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#21790
|
When set a static front page WP main query isn't set correctly
|
SergeyBiryukov
|
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/05/2017
|
#21096
|
Filter on is_front_page return value
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#20899
|
is_home() should be able to be true when is_feed()
|
|
dev-feedback
|
normal
|
normal
|
Future Release
|
defect (bug)
|
05/19/2017
|
#20352
|
Use str_getcsv() to parse search terms in WP_Query
|
|
needs-unit-tests
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#20044
|
Enable search for pages by slug
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#19738
|
meta_query should check for wildcards when using LIKE operator
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#19653
|
Order by meta field forces ignore of null records
|
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
enhancement
|
03/29/2019
|
#18897
|
query_posts / WP_query parameter 'offset' should play nicely with 'paged'
|
wonderboymusic
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#18836
|
ORDER BY RAND() is slow
|
pbearne
|
has-patch
|
normal
|
minor
|
6.8
|
enhancement
|
01/24/2025
|
#18513
|
Searching with explicit post types unsets page post type
|
|
needs-unit-tests
|
normal
|
normal
|
|
defect (bug)
|
01/23/2025
|
#18408
|
Can't wp_reset_postdata after custom WP_Query in an admin edit page
|
audrasjb
|
needs-unit-tests
|
normal
|
normal
|
Future Release
|
defect (bug)
|
02/19/2024
|
#18035
|
ignore_sticky_posts fails to remove sticky class
|
johneckman
|
dev-feedback
|
normal
|
normal
|
Future Release
|
enhancement
|
09/20/2023
|
#17019
|
add hooks for Media Library attachment counts
|
SergeyBiryukov
|
has-patch
|
normal
|
normal
|
Future Release
|
enhancement
|
05/21/2024
|
#16910
|
Lazy evaluation for WP_Query
|
|
|
normal
|
normal
|
|
feature request
|
06/04/2019
|
#16706
|
Queries using "category__and" are slow on large databases
|
chriscct7
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#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
|
#15551
|
Custom post type pagination redirect
|
|
|
normal
|
normal
|
|
defect (bug)
|
12/28/2022
|
#15068
|
merging query objects/arrays
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#14477
|
get_pages with child_of only works with uninterrupted hierarchies
|
wonderboymusic
|
has-patch
|
high
|
normal
|
Future Release
|
enhancement
|
01/15/2021
|
#14368
|
make the 'orderby' argument in get_posts() accept all "post" fields
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
08/01/2022
|
#11950
|
Sticky Posts are too aggressive
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#11398
|
new sort method for query_posts (order by last comment date)
|
|
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|
#10663
|
Category name handling wrong function is_category
|
|
has-patch
|
normal
|
normal
|
|
defect (bug)
|
04/21/2024
|
#9978
|
Sticky Posts are not ordered correctly after selection
|
|
has-patch
|
normal
|
normal
|
|
enhancement
|
06/04/2019
|