Make WordPress Core

Opened 5 years ago

Last modified 5 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)

@jorbin5 years ago

comment:1 @sivel5 years ago

  • Cc matt@… added

comment:2 @dd325 years ago

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