Twenty Thirteen: remove doc block comments for `@return void`. See #27098.

Built from https://develop.svn.wordpress.org/trunk@27598


git-svn-id: http://core.svn.wordpress.org/trunk@27441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-03-18 22:48:29 +00:00
parent a3b09ba9d7
commit 4305c85fb2
3 changed files with 0 additions and 37 deletions

View File

@ -56,8 +56,6 @@ if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) )
* @uses set_post_thumbnail_size() To set a custom post thumbnail size.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_setup() {
/*
@ -156,8 +154,6 @@ function twentythirteen_fonts_url() {
* Enqueue scripts and styles for the front end.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_scripts_styles() {
/*
@ -227,8 +223,6 @@ add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 );
* Register two widget areas.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_widgets_init() {
register_sidebar( array(
@ -258,8 +252,6 @@ if ( ! function_exists( 'twentythirteen_paging_nav' ) ) :
* Display navigation to next/previous set of posts when applicable.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_paging_nav() {
global $wp_query;
@ -291,8 +283,6 @@ if ( ! function_exists( 'twentythirteen_post_nav' ) ) :
* Display navigation to next/previous post when applicable.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_post_nav() {
global $post;
@ -324,8 +314,6 @@ if ( ! function_exists( 'twentythirteen_entry_meta' ) ) :
* Create your own twentythirteen_entry_meta() to override in a child theme.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_entry_meta() {
if ( is_sticky() && is_home() && ! is_paged() )
@ -393,8 +381,6 @@ if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) :
* Print the attached image with a link to the next attached image.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_the_attached_image() {
/**
@ -504,8 +490,6 @@ add_filter( 'body_class', 'twentythirteen_body_class' );
* Adjust content_width value for video post formats and attachment templates.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_content_width() {
global $content_width;
@ -523,7 +507,6 @@ add_action( 'template_redirect', 'twentythirteen_content_width' );
* @since Twenty Thirteen 1.0
*
* @param WP_Customize_Manager $wp_customize Customizer object.
* @return void
*/
function twentythirteen_customize_register( $wp_customize ) {
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
@ -539,8 +522,6 @@ add_action( 'customize_register', 'twentythirteen_customize_register' );
* reload changes asynchronously.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_customize_preview_js() {
wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130226', true );

View File

@ -17,8 +17,6 @@
* Switches to the default theme.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_switch_theme() {
switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME );
@ -34,8 +32,6 @@ add_action( 'after_switch_theme', 'twentythirteen_switch_theme' );
* Twenty Thirteen on WordPress versions prior to 3.6.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_upgrade_notice() {
$message = sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] );
@ -46,8 +42,6 @@ function twentythirteen_upgrade_notice() {
* Prevent the Theme Customizer from being loaded on WordPress versions prior to 3.6.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_customize() {
wp_die( sprintf( __( 'Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'twentythirteen' ), $GLOBALS['wp_version'] ), '', array(
@ -60,8 +54,6 @@ add_action( 'load-customize.php', 'twentythirteen_customize' );
* Prevent the Theme Preview from being loaded on WordPress versions prior to 3.4.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_preview() {
if ( isset( $_GET['preview'] ) ) {

View File

@ -19,8 +19,6 @@
* @uses register_default_headers() to set up the bundled header images.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_custom_header_setup() {
$args = array(
@ -68,8 +66,6 @@ add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup', 11 );
* Load our special font CSS files.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_custom_header_fonts() {
// Add Source Sans Pro and Bitter fonts.
@ -86,8 +82,6 @@ add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_
* get_header_textcolor() options: Hide text (returns 'blank'), or any hex value.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_header_style() {
$header_image = get_header_image();
@ -144,8 +138,6 @@ function twentythirteen_header_style() {
* Style the header image displayed on the Appearance > Header admin panel.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_admin_header_style() {
$header_image = get_header_image();
@ -212,8 +204,6 @@ function twentythirteen_admin_header_style() {
* This callback overrides the default markup displayed there.
*
* @since Twenty Thirteen 1.0
*
* @return void
*/
function twentythirteen_admin_header_image() {
?>