WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (21 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46117 r47122  
    121121    // This theme uses a custom image size for featured images, displayed on "standard" posts.
    122122    add_theme_support( 'post-thumbnails' );
    123     set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop
     123    set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft crop.
    124124
    125125    // Indicate widget sidebars can use selective refresh in the Customizer.
     
    483483                <?php
    484484                break;
    485         endswitch; // end comment_type check
     485        endswitch; // End comment_type check.
    486486    }
    487487endif;
     
    707707     * Fire the wp_body_open action.
    708708     *
    709      * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
     709     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
    710710     *
    711711     * @since Twenty Twelve 3.0
Note: See TracChangeset for help on using the changeset viewer.