]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfourteen/inc/back-compat.php
WordPress 4.6.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyfourteen / inc / back-compat.php
index dc1ace9cc54300c464bcd35662198ab5cc7628f7..c184d912c7f21bc9fac0a400a957fa7d0f651265 100644 (file)
@@ -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'] );
@@ -43,11 +39,9 @@ function twentyfourteen_upgrade_notice() {
 }
 
 /**
- * Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6.
+ * Prevent the 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'] ) ) {