[wp-trac] [WordPress Trac] #13550: WP_PLUGIN_DIR doesn't detect symlinks
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 18 13:31:16 UTC 2010
#13550: WP_PLUGIN_DIR doesn't detect symlinks
---------------------------+------------------------------------------------
Reporter: acumensystems | Owner: westi
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.1
Component: Plugins | Version: 3.0
Severity: minor | Resolution:
Keywords: has-patch |
---------------------------+------------------------------------------------
Comment(by willnorris):
would it not make sense to store the original passed-in value of $file and
pass that as an optional second argument to the plugin_basename filter?
Otherwise, you're only ever able to see the "mangled" version.
Admittedly, I don't have an immediate use-case in mind, but that often
seems to be best practice with filters of this type.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13550#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list