[wp-trac] [WordPress Trac] #34358: plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked to mu-plugins
WordPress Trac
noreply at wordpress.org
Tue Oct 20 13:30:44 UTC 2015
#34358: plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked
to mu-plugins
-------------------------------------------------+-------------------------
Reporter: scamartist26 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Plugins | Review
Severity: normal | Version: 4.3.1
Keywords: has-patch needs-unit-tests needs- | Resolution:
refresh | Focuses:
-------------------------------------------------+-------------------------
Comment (by mattmckenny):
@jdgrimes Thanks for taking a look at this and helping me with this patch.
I'm ashamed to say it's my first time offering a patch so your guidance is
greatly appreciated.
I'm happy to clean up the patch and work on unit tests. I just wanted to
make sure the issue had some traction and that others thought this may be
useful.
We're using this as a mu-plugin so they get loaded earlier than standard
plugins and in a very specific order as listed in our mu-loader.php file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34358#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list