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

WordPress Trac noreply at wordpress.org
Mon Aug 26 19:24:08 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                          |  Resolution:
 Keywords:  2nd-opinion dev-feedback close  |
--------------------------------------------+------------------------------

Comment (by andreasnrb):

 The current behavior is illogical. Having constant set in a logical
 sequence is much better than this weird way.
 And using __FILE__ is really bad practice for file inclusion at least in
 my opinion. It really messes things up with regards to symlinks.

 But suppose WP suffers from its past preventing a brighter future.

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


More information about the wp-trac mailing list