[wp-trac] [WordPress Trac] #31112: WP_Query fields=>ids parameter sometimes returns post objects instead of array of post IDs
WordPress Trac
noreply at wordpress.org
Sun Feb 1 04:43:38 UTC 2015
#31112: WP_Query fields=>ids parameter sometimes returns post objects instead of
array of post IDs
--------------------------+----------------------
Reporter: lisota | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 4.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback =>
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Replying to [comment:3 lisota]:
> I did find that the post IDs are strings and are not being cast to
integers, which is odd since #27252 was supposed to fix it.
Good catch, I've created #31194 for that. Closing this ticket as invalid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31112#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list