[buddypress-trac] [BuddyPress Trac] #6976: bp_core_print_generation_time() should echo only in WP_DEBUG mode

buddypress-trac noreply at wordpress.org
Wed Apr 27 16:16:03 UTC 2016


#6976: bp_core_print_generation_time() should echo only in WP_DEBUG mode
------------------------------+---------------------------
 Reporter:  slaFFik           |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  2.6
Component:  Component - Core  |     Version:  1.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:  slaFFik => boonebgorges
 * status:  assigned => accepted


Comment:

 > Let's decide in dev chat whether to keep this with slaFFik's patch or
 just remove it entirely (my preference).

 Let's just decide now. Out it goes :)

 @slaFFik - I can see why it'd be useful to have data during `WP_DEBUG`,
 but a BP core function doesn't seem like the appropriate place. A proper
 debugging tool should be used. May I suggest https://wordpress.org/plugins
 /query-monitor/ ?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6976#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list