WordPress.org

Make WordPress Core

Ticket #24363: 24363.patch

File 24363.patch, 741 bytes (added by DrewAPicture, 11 months ago)
  • wp-content/themes/twentythirteen/inc/back-compat.php

     
    1717 * 
    1818 * @since Twenty Thirteen 1.0 
    1919 * 
    20  * @param string $theme_name 
    21  * @param WP_Theme $theme 
     20 * @param WP_Theme $theme The theme object. 
    2221 * @return void 
    2322 */ 
    24 function twentythirteen_switch_theme( $theme_name, $theme ) { 
     23function twentythirteen_switch_theme( $theme ) { 
    2524        if ( 'twentythirteen' != $theme->get_template() ) 
    2625                switch_theme( $theme->get_template(), $theme->get_stylesheet() ); 
    2726        elseif ( 'twentythirteen' != WP_DEFAULT_THEME )