#7704 closed defect (bug) (invalid)
WP_CONTENT_DIR and PLUGINDIR not compatible
Reported by: | strider72 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.6.1 |
Component: | General | Keywords: | plugins, needs-patch |
Focuses: | Cc: |
Description
If I set WP_CONTENT_DIR to a custom location, PLUGINDIR is still set to be inside the _default_ location of wp-content.
I discovered this through the wPhone plugin. It doesn't run when I use a custom WP_CONTENT_DIR, because it is looking for itself in PLUGINDIR/wphone/ -- (see wphone.php line 50)
FIX: When WP_CONTENT_DIR is set, PLUGINDIR should default to WP_CONTENT_DIR/plugins
Change History (3)
Note: See
TracTickets for help on using
tickets.
See also: wp-hackers thread and my reply
In short: My response is that it can probably be seen as a wPhone compat issue with a new function, If you define WP_CONTENT_DIR, best bet would be to also define PLUGINDIR to point to the right location RELATIVE to ABSPATH