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

WordPress Trac noreply at wordpress.org
Sat Dec 8 17:04:48 UTC 2012


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

 +1. I've always thought it silly that WordPress knows exactly where the
 file lives under its system, yet we still use `__FILE__` in plugins. I
 didn't really have a great solution, but this is probably a good use of
 global variables (if there is such a thing).

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


More information about the wp-trac mailing list