[wp-trac] [WordPress Trac] #22957: get_boundary_post Only works from a single page
WordPress Trac
noreply at wordpress.org
Sun Dec 16 15:18:30 UTC 2012
#22957: get_boundary_post Only works from a single page
--------------------------+------------------------------
Reporter: pathawks | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by pathawks):
What is the reason for this
I understand why `start_post_rel_link` might want to only fire on single
posts, but I see no reason to limit the avaliability of
`get_boundary_post`.
On a related note, when there is nothing to return, why does it return
`NULL` rather than `FALSE` like similar functions?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22957#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list