Post template: return string instead of setting then return
|Reported by:||niallkennedy||Owned by:||nacin|
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.
Change History (5)
comment:2 niallkennedy — 2 years ago
- Summary changed from Post template perf: return string instead of setting then return to Post template: return string instead of setting then return
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed