Make WordPress Core

Ticket #25256: twentythirteen.3.diff

File twentythirteen.3.diff, 5.7 KB (added by ericlewis, 12 years ago)
  • src/wp-content/themes/twentythirteen/author.php

     
    1717                <?php if ( have_posts() ) : ?>
    1818
    1919                        <?php
    20                                 /**
    21                                  * Queue the first post, that way we know what author
     20                                /* Queue the first post, that way we know what author
    2221                                 * we're dealing with (if that is the case).
    2322                                 *
    2423                                 * We reset this later so we can run the loop
     
    3231                        </header><!-- .archive-header -->
    3332
    3433                        <?php
    35                                 /**
    36                                  * Since we called the_post() above, we need to
     34                                /* Since we called the_post() above, we need to
    3735                                 * rewind the loop back to the beginning that way
    3836                                 * we can run the loop properly, in full.
    3937                                 */
  • src/wp-content/themes/twentythirteen/comments.php

     
    99 * @since Twenty Thirteen 1.0
    1010 */
    1111
    12 /**
    13  * If the current post is protected by a password and the visitor has not yet
     12/* If the current post is protected by a password and the visitor has not yet
    1413 * entered the password we will return early without loading the comments.
    1514 */
    1615if ( post_password_required() )
  • src/wp-content/themes/twentythirteen/functions.php

     
    2323 * @since Twenty Thirteen 1.0
    2424 */
    2525
    26 /**
    27  * Set up the content width value based on the theme's design.
     26/* Set up the content width value based on the theme's design.
    2827 *
    2928 * @see twentythirteen_content_width() for template-specific adjustments.
    3029 */
     
    6059 * @return void
    6160 */
    6261function twentythirteen_setup() {
    63         /**
    64          * Makes Twenty Thirteen available for translation.
     62        /* Makes Twenty Thirteen available for translation.
    6563         *
    6664         * Translations can be added to the /languages/ directory.
    6765         * If you're building a theme based on Twenty Thirteen, use a find and
     
    7068         */
    7169        load_theme_textdomain( 'twentythirteen', get_template_directory() . '/languages' );
    7270
    73         /**
    74          * This theme styles the visual editor to resemble the theme style,
     71        /* This theme styles the visual editor to resemble the theme style,
    7572         * specifically font, colors, icons, and column width.
    7673         */
    7774        add_editor_style( array( 'css/editor-style.css', 'fonts/genericons.css', twentythirteen_fonts_url() ) );
     
    7976        // Adds RSS feed links to <head> for posts and comments.
    8077        add_theme_support( 'automatic-feed-links' );
    8178
    82         /**
    83          * Switches default core markup for search form, comment form,
     79        /* Switches default core markup for search form, comment form,
    8480         * and comments to output valid HTML5.
    8581         */
    8682        add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );
    8783
    88         /**
    89          * This theme supports all available post formats by default.
     84        /* This theme supports all available post formats by default.
    9085         * See http://codex.wordpress.org/Post_Formats
    9186         */
    9287        add_theme_support( 'post-formats', array(
     
    9691        // This theme uses wp_nav_menu() in one location.
    9792        register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
    9893
    99         /**
    100          * This theme uses a custom image size for featured images, displayed on
     94        /* This theme uses a custom image size for featured images, displayed on
    10195         * "standard" posts and pages.
    10296         */
    10397        add_theme_support( 'post-thumbnails' );
     
    121115function twentythirteen_fonts_url() {
    122116        $fonts_url = '';
    123117
    124         /**
    125          * Translators: If there are characters in your language that are not
     118        /* Translators: If there are characters in your language that are not
    126119         * supported by Source Sans Pro, translate this to 'off'. Do not translate
    127120         * into your own language.
    128121         */
    129122        $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' );
    130123
    131         /**
    132          * Translators: If there are characters in your language that are not
     124        /* Translators: If there are characters in your language that are not
    133125         * supported by Bitter, translate this to 'off'. Do not translate into your
    134126         * own language.
    135127         */
     
    162154 * @return void
    163155 */
    164156function twentythirteen_scripts_styles() {
    165         /**
    166          * Adds JavaScript to pages with the comment form to support
     157        /* Adds JavaScript to pages with the comment form to support
    167158         * sites with threaded comments (when in use).
    168159         */
    169160        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
     
    413404        $next_attachment_url = wp_get_attachment_url();
    414405        $post                = get_post();
    415406
    416         /**
    417          * Grab the IDs of all the image attachments in a gallery so we can get the URL
     407        /* Grab the IDs of all the image attachments in a gallery so we can get the URL
    418408         * of the next adjacent image in a gallery, or the first image (if we're
    419409         * looking at the last image in a gallery), or, in a gallery of one, just the
    420410         * link to that image file.
  • src/wp-content/themes/twentythirteen/inc/custom-header.php

     
    4040
    4141        add_theme_support( 'custom-header', $args );
    4242
    43         /**
    44          * Default custom headers packaged with the theme.
     43        /* Default custom headers packaged with the theme.
    4544         * %s is a placeholder for the theme template directory URI.
    4645         */
    4746        register_default_headers( array(