[wp-trac] Re: [WordPress Trac] #4048: some hooks for the plugin management system

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 19 19:29:29 GMT 2007

#4048: some hooks for the plugin management system
 Reporter:  m0n5t3r                               |        Owner:  westi   
     Type:  enhancement                           |       Status:  assigned
 Priority:  normal                                |    Milestone:  2.4     
Component:  Administration                        |      Version:          
 Severity:  normal                                |   Resolution:          
 Keywords:  has-patch new-hook plugin-management  |  
Comment (by santosj):

 As for the plugin data info. I have no idea what it would be used for,
 other than some malicious purpose. It is part of the ticket, so I don't
 know. It might be useful, in the event a plugin wanted to do something
 with the urls to check to see if there was an update available based on
 the author's web site. However, it might just be better to make it an
 action in that case.

 I'm not sure how I feel about allowing a plugin to overwrite the
 information in the plugin. It isn't like the plugin itself can change
 that, because it can't, until it is enabled and ran. However, that sort of
 defeats the purpose. Why would a plugin want to do that? They can just
 change the info in the file.

 For the second, I had a really good reason to need this. I could check
 whether dependencies have been enabled and if not then I return false and
 fail the activation.

 In the current situation, I would have to wait until the plugin is already
 activated and the test that information and then deactivate the plugin
 manually. A painful hack and I would rather keep that logic separate and
 in a location create purposefully for that situation.

Ticket URL: <http://trac.wordpress.org/ticket/4048#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list