[wp-trac] [WordPress Trac] #34424: Fix return even though it has already been echo in timer_stop() (was: Fix return even though it has already been echo in "wp-includes/load.php")

WordPress Trac noreply at wordpress.org
Sat Oct 24 09:28:25 UTC 2015


#34424: Fix return even though it has already been echo in timer_stop()
--------------------------+------------------------------
 Reporter:  NExt-Season   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch


Old description:

> Fix return even though it has already been echo in "wp-includes/load.php"

New description:

 Don't return the result when it has been echoed in `timer_stop()`

--

Comment:

 Welcome to trac and thanks for your contribution :)

 Definitely a good catch! Just note that you're missing a closing `}` after
 the return statement.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34424#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list