[wp-hackers] theme-based functions.php should override pluggable-functions.php

Aaron Brazell aaron at technosailor.com
Sat Feb 18 15:56:29 GMT 2006


On 2/18/06, Andy Skelton <skeltoac at gmail.com> wrote:
>
> On 2/18/06, Aaron Brazell <aaron at technosailor.com> wrote:
> > Don't you think?
> >
> > Ticket #2479 <http://trac.wordpress.org/ticket/2479#preview> in Trac.
>
> I don't think so. {theme}/functions.php is not a plugin. It should not
> be treated as one.
>
> There are many differences between a theme's functions file and a
> plugin. Let's keep it that way.
>
> Andy
>

I know what you're saying and I am not saying {theme}/functions.php is a
plugin.  But it is user-designated and in my opinion, if a user is given
veto power over pluggable-functions.php via a plugin, he should be given it
the other way as well.

I do agree there's differences between functions.php and plugins (for
instance the added layer of protection from activation being required) --
but then I'm talking about overriding pluggable-functions, not critical
functionality.


More information about the wp-hackers mailing list