[wp-hackers] pluggable.php and 'plugins_loaded' hook.

Tom Barrett tcbarrett at gmail.com
Thu Aug 25 17:32:36 UTC 2011


Is there a reason their need can't be removed by good use of hooks and
filters?

On 25 August 2011 16:43, Ozh <ozh at ozh.org> wrote:

> Isn't it somewhere on the roadmap to completely get rid of pluggable funcs
> as they are implemented now?
> I'm not sure I've ever found them actually worth the hassle they can
> otherwise induce...
>
> Ozh
>
> --
> http://ozh.org/ - @ozh on Twitter
> WordPress plugins? I wrote a book! http://amzn.to/plugindevbook
>
> > Cleanest solution would be to use an mu-plugin, as they load before all
> > normal plugins. You could make your whole plugin an mu-plugin or have a
> > special one that just handles this particular task ahead of time.
> Obviously
> > it won't solve the problem if *another* mu plugin already defined the
> > function, but that seems a lot less likely than a regular plugin.
> >
> > This is probably not a good solution for a publicly released plugins as
> it
> > involves hand-uploading files but for a custom installation an mu-plugin
> > isn't a huge burden (and for custom scenarios they have many uses once
> you
> > learn how to exploit their power).
> >
> > http://codex.wordpress.org/Must_Use_Plugins
> >
> > --
> > Jeremy Clarke • jeremyclarke.org
> > Code and Design • globalvoicesonline.org
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
http://gplus.to/tcbarrett


More information about the wp-hackers mailing list