[wp-trac] [WordPress Trac] #7352: Improvement for wp_loginout and
wp_register
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 18 23:38:09 GMT 2008
#7352: Improvement for wp_loginout and wp_register
-------------------------+--------------------------------------------------
Reporter: Txanny | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Template | Version: 2.6
Severity: normal | Keywords: wp_loginout, wp_register
-------------------------+--------------------------------------------------
I'm developing some themes and plugins that use this functions:
wp_register() and wp_loginout(). Both functions display the output
directly to the page, which makes a bit more difficult composing some
templates and plugins.
I think could be interesting have the possibility to pass a parameter
telling the functions if them should display or return the value. And
also, both functions to have the same $before and $after parameters.
The patch implements this parameters. The default values for them makes
the function to work exactly as it works now, but add some flexibility to
template and plugin coders.
--
Ticket URL: <http://trac.wordpress.org/ticket/7352>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list