[wp-trac] [WordPress Trac] #27252: WP_Query's "fields" => "ids" should return an array of integers
WordPress Trac
noreply at wordpress.org
Tue Feb 3 02:28:56 UTC 2015
#27252: WP_Query's "fields" => "ids" should return an array of integers
------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"31324"]:
{{{
#!CommitTicketReference repository="" revision="31324"
When using WP_Query's `'fields' => 'ids'` (or `'fields' => 'id=>parent'`),
make sure the returned result is always an array of integers.
fixes #31194. see #27252.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27252#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list