Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#12806 closed defect (bug)

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

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

Description (last modified by dd32)

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 (3)

8 years ago

#1 @sivel
8 years ago

  • Cc matt@… added

#2 @dd32
8 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.