[wp-trac] [WordPress Trac] #4048: some hooks for the plugin
management system
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 30 11:08:17 GMT 2007
#4048: some hooks for the plugin management system
----------------------------+-----------------------------------------------
Reporter: m0n5t3r | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.3
Component: Administration | Version:
Severity: normal | Keywords: has-patch, 2nd-opinion
----------------------------+-----------------------------------------------
failed to get any feedback on this from wp-hackers, posting anyway:
* filter {{{get_plugin_data}}}: allows plugging functions that handle
additional plugin metadata
* action {{{before_activate_$plugin}}}: allows the plugin to do some
stuff before being activated, and refuse activation if it doesn't like
something
2nd opinion needed on the first point: perhaps a more efficient/extensible
rewrite of get_plugin_data would also be appropriate (preg_match is not
really needed, neither is reading beyond the end of the first comment
block; see, some people have a nasty habit: they put everything about
their plugin in one huge file)
--
Ticket URL: <http://trac.wordpress.org/ticket/4048>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list