[wp-trac] [WordPress Trac] #13550: WP_PLUGIN_DIR doesn't detect symlinks
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 17 10:44:06 UTC 2010
#13550: WP_PLUGIN_DIR doesn't detect symlinks
---------------------------+------------------------------------------------
Reporter: acumensystems | Owner: westi
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Plugins | Version: 3.0
Severity: minor | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment(by vladimir_kolesnikov):
> this is what I added after the preg_replace() in wp-
includes/plugin.php's plugin_basename()
Maybe it's worth adding something like
{{{
return apply_filters('plugin_basename', $file);
}}}
to the end of plugin_basename() function? This will be a more general
solution than to define a constant.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13550#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list