From bba0e99688f6c615e71c7bcb4e72b3b0f5f97710 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 18 Mar 2014 22:49:15 +0000 Subject: [PATCH] Twenty Twelve: remove doc block comments for `@return void`. See #27098. Built from https://develop.svn.wordpress.org/trunk@27599 git-svn-id: http://core.svn.wordpress.org/trunk@27442 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/functions.php | 11 ----------- wp-content/themes/twentytwelve/inc/custom-header.php | 2 -- 2 files changed, 13 deletions(-) diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 06470d562f..a688b5e818 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -128,8 +128,6 @@ function twentytwelve_get_font_url() { * Enqueue scripts and styles for front-end. * * @since Twenty Twelve 1.0 - * - * @return void */ function twentytwelve_scripts_styles() { global $wp_styles; @@ -303,8 +301,6 @@ if ( ! function_exists( 'twentytwelve_comment' ) ) : * Used as a callback by wp_list_comments() for displaying the comments. * * @since Twenty Twelve 1.0 - * - * @return void */ function twentytwelve_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; @@ -368,8 +364,6 @@ if ( ! function_exists( 'twentytwelve_entry_meta' ) ) : * Create your own twentytwelve_entry_meta() to override in a child theme. * * @since Twenty Twelve 1.0 - * - * @return void */ function twentytwelve_entry_meta() { // Translators: used between list items, there is a space after the comma. @@ -467,8 +461,6 @@ add_filter( 'body_class', 'twentytwelve_body_class' ); * templates, and when there are no active widgets in the sidebar. * * @since Twenty Twelve 1.0 - * - * @return void */ function twentytwelve_content_width() { if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) { @@ -486,7 +478,6 @@ add_action( 'template_redirect', 'twentytwelve_content_width' ); * @since Twenty Twelve 1.0 * * @param WP_Customize_Manager $wp_customize Customizer object. - * @return void */ function twentytwelve_customize_register( $wp_customize ) { $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; @@ -501,8 +492,6 @@ add_action( 'customize_register', 'twentytwelve_customize_register' ); * Binds JS handlers to make the Customizer preview reload changes asynchronously. * * @since Twenty Twelve 1.0 - * - * @return void */ function twentytwelve_customize_preview_js() { wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130301', true ); diff --git a/wp-content/themes/twentytwelve/inc/custom-header.php b/wp-content/themes/twentytwelve/inc/custom-header.php index 32fea17f79..1657effaf4 100644 --- a/wp-content/themes/twentytwelve/inc/custom-header.php +++ b/wp-content/themes/twentytwelve/inc/custom-header.php @@ -51,8 +51,6 @@ add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' ); * Load our special font CSS file. * * @since Twenty Twelve 1.2 - * - * @return void */ function twentytwelve_custom_header_fonts() { $font_url = twentytwelve_get_font_url();