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

WordPress Trac noreply at wordpress.org
Fri Jan 4 21:50:29 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 markjaquith):

 The fact that `__FILE__` is magic and we can't fix it, is a rather
 impressive hurdle to this proposed functionality having any practical
 effect. That is, it's not going to solve the problem MikeSchinkel is
 having because most plugins will just continue using `__FILE__` which has
 long been best practice. We have trouble getting them to stop hardcoding
 `/wp-content/plugins/my-plugin-name/` — and that has much more measurable
 negative effects.

 I'm much more interested in seeing if we can make it possible (or easier)
 for this situation to be supported without plugin authors having to change
 their code, which is what #16953 is focusing on.

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


More information about the wp-trac mailing list