[wp-trac] [WordPress Trac] #11494: Change way how PLUGINDIR and MUPLUGINDIR are defined
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 19 11:11:40 UTC 2009
#11494: Change way how PLUGINDIR and MUPLUGINDIR are defined
-----------------------------+----------------------------------------------
Reporter: sirzooro | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Upgrade/Install | Version: 2.9
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
Comment(by dd32):
Those constants are relative to ABSPATH, whereas the new constants are
absolute to the filesystem.
You cannot use them interchangably, as you've found.
The only way around this, is to completely remove those constants, and
force people to use the fucnction calls (plugin_url() etc).. Changing that
in 3.0 since MU is merging would be a really good time honestly...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11494#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list