[wp-trac] [WordPress Trac] #18561: Better Way to Insert Things Below Individual Posts

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 21:34:58 UTC 2011


#18561: Better Way to Insert Things Below Individual Posts
-------------------------+------------------------------
 Reporter:  jane         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by aaroncampbell):

 Replying to [comment:66 jb510]:
 > BTW, was thicket a freudian slip?

 Possibly...that or just a typo ;)

 Replying to [comment:68 azaozz]:
 > IMHO this is the right hook to use. It fires exactly between the posts.

 What about single posts where there is no second post to set up?  Also
 this increases the complexity of the plugin logic require because it needs
 to ignore the first the_post call and then take action on the next ones
 (although if you pass current post and previous post it could just look
 for previous post)...but still how do you handle the last post in the set?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18561#comment:70>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list