[wp-hackers] Auto Update Plugins

Peter Westwood peter.westwood at ftwr.co.uk
Tue Feb 17 23:27:59 GMT 2009


On 17 Feb 2009, at 23:15, Otto wrote:

> On Tue, Feb 17, 2009 at 5:02 PM, Stephen Rider
> <wp-hackers at striderweb.com> wrote:
>> Spam Karma -- would store Spam Karma plugins/modules -- PHP files  
>> used
>> internally by Spam Karma.  NOT world-readable.
>> http://code.google.com/p/spam-karma/
>
> Yeah, this has always bugged me. A plugin should not really attempt to
> do plugins of its own. This is duplication of work and frankly
> bug-prone, at best.
>
> Instead, those sub-plugins (as it were) should be fully fledged
> WordPress plugins that utilize actions/filters in the main plugin. A
> plugin can easily create its own actions (merely by doing
> do_action('plugin-action-name'); ), so it should do so and then let
> other WP plugins fill in the bits that way.
>
> Then even these sub-plugins get the full benefits of being... well...
> plugins. Automatic update checking, etc.
>

+100

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list