[wp-hackers] a plugin of a theme's own

Trevor Turk trevorturk at yahoo.com
Mon Sep 19 13:56:14 GMT 2005


After reading this:

http://boren.nu/archives/2005/08/30/commit-this/

In particular, this part: "Themes can now provide
their own plugin. If a functions.php file resides in
the active theme’s template directory, that file is
loaded after plugins are loaded. This allows themes to
provide their own custom functions and create their
own options page in the admin UI. Envelope pushing
themes such as K2 will benefit from this."

I'm wondering if any thought has been given to
potential conflicts between plugins and then plugins a
theme might provide in the optional functions.php
file. 

My thinking is that one might want to override a
function provided by a theme with a plugin, so
functions loaded via plugins should take precedence
over functions loaded via themes. 

However, I can see why one might go the other way with
it. 

Just Curious,
- Trevor


More information about the wp-hackers mailing list