[wp-trac] [WordPress Trac] #40156: Warning for invalid hook callback is not very useful

WordPress Trac noreply at wordpress.org
Wed Mar 15 08:38:56 UTC 2017


#40156: Warning for invalid hook callback is not very useful
-------------------------+------------------------------
 Reporter:  Shelob9      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  0.71
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by Compute):

 Maybe just check for `is_callable()`  when WP_DEBUG is turned on if it
 shows that performance is an issue?

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


More information about the wp-trac mailing list