[wp-trac] [WordPress Trac] #11840: Define WP_PLUGIN_DIR before loading db.php

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 16 07:52:49 UTC 2010


#11840: Define WP_PLUGIN_DIR before loading db.php
-----------------------------------+----------------------------------------
 Reporter:  sirzooro               |        Owner:         
     Type:  enhancement            |       Status:  closed 
 Priority:  normal                 |    Milestone:         
Component:  General                |      Version:  2.9.1  
 Severity:  normal                 |   Resolution:  wontfix
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  3.0 =>


Comment:

 Many default constants are defined at specific places so they can be
 overridden (like here). The plugin directory constants for example may be
 defined in sunrise.php. You can wait until after WP_PLUGIN_DIR is defined
 to do what you need, or simply define it.

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


More information about the wp-trac mailing list