[wp-trac] [WordPress Trac] #34358: plugin_dir_url( __FILE__ ) returns plugins directory when plugin symlinked to mu-plugins

WordPress Trac noreply at wordpress.org
Sun Jan 24 06:54:39 UTC 2016


#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 scamartist26):

 <usecase

 New PLUGIN for my NETWORK... I have ten something DB's to to test locally,
 with several different plugin configurations. I need to add a new plugin
 to ALL of them, and want to do so via the `mu-plugins` folder because it
 is there for all things. None of the assets are availeble during testing.

 /use case>;

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34358#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list