[wp-trac] [WordPress Trac] #12748: Rethink some of the pluggable architecture of twentyten functions.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 30 00:11:16 UTC 2010
#12748: Rethink some of the pluggable architecture of twentyten functions.php
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Themes | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by nacin):
I just realized of course, that with the child theme being included first,
then calling remote_action or remove_filter in the body of the child's
functions.php would do nothing, as the actions would not be added yet.
So we should instruct them to remove them on the after_setup_theme hook,
which would work as long as it is priority <= 10. I feel that is still
better practice (and easier, I think) than telling them that the functions
are pluggable.
Thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12748#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list