[wp-trac] [WordPress Trac] #11842: general-template.php echo/return fixes
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 9 12:33:47 UTC 2011
#11842: general-template.php echo/return fixes
-------------------------------------+---------------------
Reporter: ShaneF | Owner: ShaneF
Type: enhancement | Status: closed
Priority: low | Milestone: 3.0
Component: Formatting | Version: 2.9.1
Severity: minor | Resolution: fixed
Keywords: has-patch commit tested |
-------------------------------------+---------------------
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();
}}}
----
Related: #7352
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11842#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list