[wp-trac] [WordPress Trac] #7352: Improvement for wp_loginout and wp_register

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 9 12:31:21 UTC 2011


#7352: Improvement for wp_loginout and wp_register
-------------------------+-----------------------------
 Reporter:  Txanny       |       Owner:  Nicholas91
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Future Release
Component:  Template     |     Version:  2.6
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+-----------------------------

Comment (by hakre):

 Keep in mind that there are output buffer functions in PHP and you can use
 echo to deal for anything in case that's not provided by the original
 function:

 {{{
 ob_start();
 function_that_echos();
 $ouput = $ob_get_clean();
 }}}

 and

 {{{
 echo function_that_returns();
 }}}

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


More information about the wp-trac mailing list