[wp-trac] [WordPress Trac] #22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)

WordPress Trac noreply at wordpress.org
Tue Oct 30 18:39:10 UTC 2012


#22316: Plugin Dependencies (Yet Another Plugin Dependencies Ticket)
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by griffinjt):

 Replying to [comment:22 scribu]:
 > Header comments are preffered because they can be parsed without
 activating the plugin first.
 >
 > On the issue of forcing activation, when you specify a dependency, you
 say "I _need_ this to be active".
 >
 > If you don't need it to be active, it's not a dependency; it's a nice-
 to-have, which should be specified using a separate header or some other
 method.


 You are correct, and I see the benefit of header comments now.


 > The issue is: is it safe for plugin X be auto installed and activated?
 For example, you wouldn't want BuddyPress to be auto-installed and
 activated, since it changes your site in a 100 ways.
 >
 > But, I think this should be specified by the library, with a header like
 "Provides: metabox". Besides providing a stable name for the library, it
 could also signal that it's safe to auto-activate.

 +1 to this

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


More information about the wp-trac mailing list