Make WordPress Core


Ignore:
Timestamp:
10/09/2013 08:38:26 PM (11 years ago)
Author:
nacin
Message:

Default themes: Don't use / docblocks for simple multiline comments.

props DrewAPicture, ericlewis.
fixes #25256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyeleven/functions.php

    r25625 r25746  
    3939 */
    4040
    41 /**
    42  * Set the content width based on the theme's design and stylesheet.
    43  */
     41// Set the content width based on the theme's design and stylesheet.
    4442if ( ! isset( $content_width ) )
    4543    $content_width = 584;
    4644
    47 /**
     45/*
    4846 * Tell WordPress to run twentyeleven_setup() when the 'after_setup_theme' hook is run.
    4947 */
     
    7371function twentyeleven_setup() {
    7472
    75     /**
     73    /*
    7674     * Make Twenty Eleven available for translation.
    7775     * Translations can be added to the /languages/ directory.
     
    108106    // Add support for custom backgrounds.
    109107    add_theme_support( 'custom-background', array(
    110         /**
     108        /*
    111109         * Let WordPress know what our default background color is.
    112110         * This is dependent on our current color scheme.
     
    163161    }
    164162
    165     /**
     163    /*
    166164     * We'll be using post thumbnails for custom header images on posts and pages.
    167165     * We want them to be the size of the header image that we just defined.
     
    170168    set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true );
    171169
    172     /**
     170    /*
    173171     * Add Twenty Eleven's custom image sizes.
    174172     * Used for large feature (header) images.
Note: See TracChangeset for help on using the changeset viewer.