[wp-trac] [WordPress Trac] #4153: edit_post_link return/echo

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 16 14:42:10 GMT 2007


#4153: edit_post_link return/echo
-----------------------------+----------------------------------------------
 Reporter:  christianskarby  |       Owner:  anonymous
     Type:  enhancement      |      Status:  new      
 Priority:  low              |   Milestone:  2.1.4    
Component:  General          |     Version:  2.1.3    
 Severity:  minor            |    Keywords:           
-----------------------------+----------------------------------------------
 I suggest the following API-change to allow for templates to decide
 whether the text should be displayed from within the edit_post_link
 function (legacy) or returned back as a string.

 {{{
 from: edit_post_link($link = 'Edit This', $before = '', $after = '')
 to:   edit_post_link($link = 'Edit This', $before = '', $after = '',
 $echo=true)
 }}}

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


More information about the wp-trac mailing list