[wp-trac] [WordPress Trac] #22957: get_boundary_post Only works from a single page

WordPress Trac noreply at wordpress.org
Sun Dec 16 00:36:35 UTC 2012


#22957: get_boundary_post Only works from a single page
-----------------------------+--------------------------
 Reporter:  pathawks         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 I was trying to use `get_boundary_post` in my theme to display a link to
 the first and last posts, but it does not work from the homepage. Unless
 called from a single post, `get_boundary_post` will return NULL.

 I can't see any reason for this behavior, or any good way around it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22957>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list