[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 17:03:18 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:  Bootstrap/Load     |     Version:  3.8.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 I've attached the most minimalistic possible patch to make integration
 between WP and third party apps more possible:

 By using `require_once` instead of `require`, WP would no longer crash
 when its plugin API is included before loading WP itself.

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


More information about the wp-trac mailing list