[wp-trac] [WordPress Trac] #22950: get_boundary_post Does not return single post object
WordPress Trac
noreply at wordpress.org
Sat Dec 15 00:56:49 UTC 2012
#22950: get_boundary_post Does not return single post object
-----------------------------+--------------------------
Reporter: pathawks | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: | Severity: normal
Keywords: |
-----------------------------+--------------------------
`get_boundary_post` Seems not to return a single `post` object, the way
`get_adjacent_post` does.
It seems that `get_boundary_post` should call `array_shift` or `get_post`
on the results, in a similar way to `get_adjacent_post`.
It's just odd that the behavior is different.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22950>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list