WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#12806 closed defect (bug)

twentyten_setup can't be removed in a clean manner — at Initial Version

Reported by: jorbin Owned by:
Milestone: 3.0 Priority: high
Severity: normal Version: 3.0
Component: Themes Keywords: has-patch
Focuses: Cc:

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.

Change History (1)

jorbin4 years ago

Note: See TracTickets for help on using tickets.