[wp-trac] [WordPress Trac] #11343: Allow echo or return of 'posts_nav_link'

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 6 07:18:36 UTC 2009


#11343: Allow echo or return of 'posts_nav_link'
-------------------------+--------------------------------------------------
 Reporter:  ShaneF       |       Owner:                  
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  2.9             
Component:  Formatting   |     Version:  2.9             
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------

Comment(by dd32):

 -1 IMO: template functions should stay as template functions, If you need
 to check for the existance of something in there, the get_*() variety of
 functions should be used, else its just duplicating functions..


 Some of the other similar functions from that era have the bool, but i'm
 pretty sure that is because there was no get_*() style functions then?

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


More information about the wp-trac mailing list