[wp-trac] [WordPress Trac] #25148: Call wp_plugin_directory_constants before loading drop in files

WordPress Trac noreply at wordpress.org
Mon Aug 26 16:48:42 UTC 2013


#25148: Call wp_plugin_directory_constants before loading drop in files
-------------------------+--------------------------------------
 Reporter:  andreasnrb   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  2nd-opinion dev-feedback
-------------------------+--------------------------------------
 Currently there are two functions for setting constants.
 * wp_initial_constants();
 * wp_plugin_directory_constants()
 Issue is that the plugin_directory_constants are not available in the
 dropin files because they are included before the call to
 wp_plugin_directory_constants() so cannot include extra files inside the
 plugin directory if custom plugin path is used.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25148>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list