WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/08/2011 08:59:41 PM (10 years ago)
Author:
azaozz
Message:

Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r18655 r18656  
    220220add_action( 'wp_print_footer_scripts', '_wp_footer_scripts'                 );
    221221add_action( 'init',                'check_theme_switched',            99    );
    222 add_action( 'after_theme_change',  '_wp_sidebars_changed'                   );
     222add_action( 'after_switch_theme',  '_wp_sidebars_changed'                   );
    223223
    224224if ( isset( $_GET['replytocom'] ) )
Note: See TracChangeset for help on using the changeset viewer.