Opened 9 years ago
Closed 9 years ago
#34424 closed defect (bug) (wontfix)
Fix return even though it has already been echo in timer_stop()
Reported by: | NExt-Season | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | General | Keywords: | needs-patch |
Focuses: | Cc: |
Description (last modified by )
Don't return the result when it has been echoed in timer_stop()
Attachments (2)
Change History (7)
#1
@
9 years ago
- Description modified (diff)
- Keywords needs-patch added
- Summary changed from Fix return even though it has already been echo in "wp-includes/load.php" to Fix return even though it has already been echo in timer_stop()
#2
@
9 years ago
I don't see an issue with always returning the value.
wp_nonce_field() and wp_referer_field() do the same.
#3
@
9 years ago
I thought the same whether with this
https://core.trac.wordpress.org/browser/tags/4.3.1/src/wp-includes/general-template.php#L251
Note: See
TracTickets for help on using
tickets.
Welcome to trac and thanks for your contribution :)
Definitely a good catch! Just note that you're missing a closing
}
after the return statement.