[wp-trac] [WordPress Trac] #27208: Make add_filter and add_action available in wp-config.php

WordPress Trac noreply at wordpress.org
Tue Feb 25 16:32:17 UTC 2014


#27208: Make add_filter and add_action available in wp-config.php
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:  3.8.1
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 Per this comment here:

 https://core.trac.wordpress.org/ticket/21663#comment:199

 If it's a problem to introduce defines due to unit testing, we could
 simply make `add_filter()` available in `wp-config.php` to work around the
 problem.

 Patch against 2.8.1 attached.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27208>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list