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/twentytwelve/functions.php

    r25521 r25746  
    2323 */
    2424
    25 /**
    26  * Set up the content width value based on the theme's design and stylesheet.
    27  */
     25// Set up the content width value based on the theme's design and stylesheet.
    2826if ( ! isset( $content_width ) )
    2927    $content_width = 625;
     
    4543 */
    4644function twentytwelve_setup() {
    47     /**
     45    /*
    4846     * Makes Twenty Twelve available for translation.
    4947     *
     
    6664    register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );
    6765
    68     /**
     66    /*
    6967     * This theme supports custom background color and image,
    7068     * and here we also set up the default background color.
     
    9896    $font_url = '';
    9997
    100     /**
     98    /*
    10199     * translators: If there are characters in your language that are not supported
    102100     * by Open Sans, translate this to 'off'. Do not translate into your own language.
     
    105103        $subsets = 'latin,latin-ext';
    106104
    107         /**
     105        /*
    108106         * translators: To add an additional Open Sans character subset specific to your language,
    109107         * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language.
     
    139137    global $wp_styles;
    140138
    141     /**
     139    /*
    142140     * Adds JavaScript to pages with the comment form to support
    143141     * sites with threaded comments (when in use).
     
    146144        wp_enqueue_script( 'comment-reply' );
    147145
    148     /**
    149      * Adds JavaScript for handling the navigation menu hide-and-show behavior.
    150      */
     146    // Adds JavaScript for handling the navigation menu hide-and-show behavior.
    151147    wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true );
    152148
     
    155151        wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null );
    156152
    157     /**
    158      * Loads our main stylesheet.
    159      */
     153    // Loads our main stylesheet.
    160154    wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
    161155
    162     /**
    163      * Loads the Internet Explorer specific stylesheet.
    164      */
     156    // Loads the Internet Explorer specific stylesheet.
    165157    wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' );
    166158    $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' );
Note: See TracChangeset for help on using the changeset viewer.