[wp-trac] [WordPress Trac] #22802: Empower Plugin Developers to make Symlink Compatible Plugins

WordPress Trac noreply at wordpress.org
Fri Jan 4 21:57:56 UTC 2013


#22802: Empower Plugin Developers to make Symlink Compatible Plugins
------------------------------------------------+--------------------------
 Reporter:  MikeSchinkel                        |       Owner:
     Type:  enhancement                         |      Status:  reopened
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Plugins                             |  Review
 Severity:  normal                              |     Version:  3.4.2
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
------------------------------------------------+--------------------------

Comment (by kchrist):

 It's the same problem, really; in the Capistrano case the symlink is a
 couple levels above the plugins directory but the effect is the same.

 As in the other use cases described, avoiding use of `__FILE__` will fix
 the issue with Capistrano deployments. I'm currently filtering
 `plugins_url` and that does the trick, but it took a while to come up with
 that solution and it still feels like a bit of a kludge.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22802#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list