[wp-trac] Re: [WordPress Trac] #6938: Allow wp-content directory to
exist in a custom location (not relative to ABSPATH)
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 9 08:36:47 GMT 2008
#6938: Allow wp-content directory to exist in a custom location (not relative to
ABSPATH)
-------------------------+--------------------------------------------------
Reporter: sambauers | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment (by nbachiyski):
The load_plugin_textdomain patch breaks backward compatibility. The
{{{$path}}} arg used to represent a path, relative to {{{ABSPATH}}}, and
now it is relative to {{{WP_PLUGIN_DIR}}}.
There are a lot of plugins using it, so I think we should at least support
it for one more version. We can add another argument, which represents
path, relative to {{{WP_PLUGIN_DIR}}} and urge developers to use it. In
2.7 we will switch top the new way only.
A patch with updated function and docs is attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/6938#comment:20>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list