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

    r25522 r25746  
    2424 */
    2525
    26 /**
     26/*
    2727 * Set up the content width value based on the theme's design.
    2828 *
     
    6161 */
    6262function twentythirteen_setup() {
    63     /**
     63    /*
    6464     * Makes Twenty Thirteen available for translation.
    6565     *
     
    7171    load_theme_textdomain( 'twentythirteen', get_template_directory() . '/languages' );
    7272
    73     /**
     73    /*
    7474     * This theme styles the visual editor to resemble the theme style,
    7575     * specifically font, colors, icons, and column width.
     
    8080    add_theme_support( 'automatic-feed-links' );
    8181
    82     /**
     82    /*
    8383     * Switches default core markup for search form, comment form,
    8484     * and comments to output valid HTML5.
     
    8686    add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );
    8787
    88     /**
     88    /*
    8989     * This theme supports all available post formats by default.
    9090     * See http://codex.wordpress.org/Post_Formats
     
    9797    register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
    9898
    99     /**
     99    /*
    100100     * This theme uses a custom image size for featured images, displayed on
    101101     * "standard" posts and pages.
     
    122122    $fonts_url = '';
    123123
    124     /**
     124    /*
    125125     * Translators: If there are characters in your language that are not
    126126     * supported by Source Sans Pro, translate this to 'off'. Do not translate
     
    129129    $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' );
    130130
    131     /**
     131    /*
    132132     * Translators: If there are characters in your language that are not
    133133     * supported by Bitter, translate this to 'off'. Do not translate into your
     
    163163 */
    164164function twentythirteen_scripts_styles() {
    165     /**
     165    /*
    166166     * Adds JavaScript to pages with the comment form to support
    167167     * sites with threaded comments (when in use).
     
    414414    $post                = get_post();
    415415
    416     /**
     416    /*
    417417     * Grab the IDs of all the image attachments in a gallery so we can get the URL
    418418     * of the next adjacent image in a gallery, or the first image (if we're
Note: See TracChangeset for help on using the changeset viewer.