X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..4713a14935b83517997f3c88f808eb41da55033d:/wp-content/themes/twentyfourteen/inc/back-compat.php diff --git a/wp-content/themes/twentyfourteen/inc/back-compat.php b/wp-content/themes/twentyfourteen/inc/back-compat.php index dc1ace9c..ac06b944 100644 --- a/wp-content/themes/twentyfourteen/inc/back-compat.php +++ b/wp-content/themes/twentyfourteen/inc/back-compat.php @@ -17,8 +17,6 @@ * Switches to the default theme. * * @since Twenty Fourteen 1.0 - * - * @return void */ function twentyfourteen_switch_theme() { switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME ); @@ -34,8 +32,6 @@ add_action( 'after_switch_theme', 'twentyfourteen_switch_theme' ); * Twenty Fourteen on WordPress versions prior to 3.6. * * @since Twenty Fourteen 1.0 - * - * @return void */ function twentyfourteen_upgrade_notice() { $message = sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ); @@ -46,8 +42,6 @@ function twentyfourteen_upgrade_notice() { * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6. * * @since Twenty Fourteen 1.0 - * - * @return void */ function twentyfourteen_customize() { wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentyfourteen' ), $GLOBALS['wp_version'] ), '', array( @@ -60,8 +54,6 @@ add_action( 'load-customize.php', 'twentyfourteen_customize' ); * Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4. * * @since Twenty Fourteen 1.0 - * - * @return void */ function twentyfourteen_preview() { if ( isset( $_GET['preview'] ) ) {