Make WordPress Core

Ticket #25256: twentythirteen.4.diff

File twentythirteen.4.diff, 4.4 KB (added by DrewAPicture, 12 years ago)
  • src/wp-content/themes/twentythirteen/author.php

     
    1717                <?php if ( have_posts() ) : ?>
    1818
    1919                        <?php
    20                                 /**
     20                                /*
    2121                                 * Queue the first post, that way we know what author
    2222                                 * we're dealing with (if that is the case).
    2323                                 *
     
    3232                        </header><!-- .archive-header -->
    3333
    3434                        <?php
    35                                 /**
     35                                /*
    3636                                 * Since we called the_post() above, we need to
    3737                                 * rewind the loop back to the beginning that way
    3838                                 * we can run the loop properly, in full.
  • src/wp-content/themes/twentythirteen/comments.php

     
    99 * @since Twenty Thirteen 1.0
    1010 */
    1111
    12 /**
     12/*
    1313 * If the current post is protected by a password and the visitor has not yet
    1414 * entered the password we will return early without loading the comments.
    1515 */
  • src/wp-content/themes/twentythirteen/functions.php

     
    2323 * @since Twenty Thirteen 1.0
    2424 */
    2525
    26 /**
     26/*
    2727 * Set up the content width value based on the theme's design.
    2828 *
    2929 * @see twentythirteen_content_width() for template-specific adjustments.
     
    6060 * @return void
    6161 */
    6262function twentythirteen_setup() {
    63         /**
     63        /*
    6464         * Makes Twenty Thirteen available for translation.
    6565         *
    6666         * Translations can be added to the /languages/ directory.
     
    7070         */
    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.
    7676         */
     
    7979        // Adds RSS feed links to <head> for posts and comments.
    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.
    8585         */
    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
    9191         */
     
    9696        // This theme uses wp_nav_menu() in one location.
    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.
    102102         */
     
    121121function twentythirteen_fonts_url() {
    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
    127127         * into your own language.
    128128         */
    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
    134134         * own language.
     
    162162 * @return void
    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).
    168168         */
     
    413413        $next_attachment_url = wp_get_attachment_url();
    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
    419419         * looking at the last image in a gallery), or, in a gallery of one, just the
  • src/wp-content/themes/twentythirteen/inc/custom-header.php

     
    4040
    4141        add_theme_support( 'custom-header', $args );
    4242
    43         /**
     43        /*
    4444         * Default custom headers packaged with the theme.
    4545         * %s is a placeholder for the theme template directory URI.
    4646         */