[wp-trac] [WordPress Trac] #12806: twentyten_setup can't be removed in a clean manner
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 2 00:42:25 UTC 2010
#12806: twentyten_setup can't be removed in a clean manner
--------------------------+-------------------------------------------------
Reporter: jorbin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Description changed by dd32:
Old description:
> Since child theme's functions.php files are loaded first, you can't use `
> remove_action( 'after_setup_theme', 'twentyten_setup' );` to remove
> twentyten_setup. The attached patch reverts the change from #13886 and
> raps twentyten_setup in a functions_exists call to make it pluggable.
New description:
Since child theme's functions.php files are loaded first, you can't use `
remove_action( 'after_setup_theme', 'twentyten_setup' );` to remove
twentyten_setup. The attached patch reverts the change from [13886] and
raps twentyten_setup in a functions_exists call to make it pluggable.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12806#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list