[wp-trac] [WordPress Trac] #19941: Post template perf: return string instead of setting then return
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 1 19:02:57 UTC 2012
#19941: Post template perf: return string instead of setting then return
--------------------------+-----------------------------
Reporter: niallkennedy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
In post template if a password is required to access the post a variable
is currently set and the variable returned in the next line.
Return the result of get_the_password_form() instead of writing to a
variable and immediately returning that variable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19941>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list