Make WordPress Core

Changeset 60527


Ignore:
Timestamp:
07/31/2025 08:46:03 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Twenty Sixteen: Use third-person singular verbs for function descriptions.

Reference: PHP Documentation Standards: Documenting Tips.

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

Location:
trunk/src/wp-content/themes/twentysixteen
Files:
4 edited

Legend:

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

    r60455 r60527  
    33 * Twenty Sixteen functions and definitions
    44 *
    5  * Set up the theme and provides some helper functions, which are used in the
     5 * Sets up the theme and provides some helper functions, which are used in the
    66 * theme as custom template tags. Others are attached to action and filter
    77 * hooks in WordPress to change core functionality.
     
    252252
    253253/**
    254  * Add preconnect for Google Fonts.
     254 * Adds preconnect for Google Fonts.
    255255 *
    256256 * @since Twenty Sixteen 1.6
     
    321321if ( ! function_exists( 'twentysixteen_fonts_url' ) ) :
    322322    /**
    323      * Register fonts for Twenty Sixteen.
     323     * Registers fonts for Twenty Sixteen.
    324324     *
    325325     * Create your own twentysixteen_fonts_url() function to override in a child theme.
     
    447447
    448448/**
    449  * Enqueue styles for the block-based editor.
     449 * Enqueues styles for the block-based editor.
    450450 *
    451451 * @since Twenty Sixteen 1.6
     
    531531
    532532/**
    533  * Register block patterns and pattern categories.
     533 * Registers block patterns and pattern categories.
    534534 *
    535535 * @since Twenty Sixteen 3.4
     
    547547
    548548/**
    549  * Add custom image sizes attribute to enhance responsive image functionality
     549 * Adds custom image sizes attribute to enhance responsive image functionality
    550550 * for content images
    551551 *
     
    581581
    582582/**
    583  * Add custom image sizes attribute to enhance responsive image functionality
     583 * Adds custom image sizes attribute to enhance responsive image functionality
    584584 * for post thumbnails
    585585 *
  • trunk/src/wp-content/themes/twentysixteen/inc/back-compat.php

    r51155 r60527  
    1313
    1414/**
    15  * Prevent switching to Twenty Sixteen on old versions of WordPress.
     15 * Prevents switching to Twenty Sixteen on old versions of WordPress.
    1616 *
    1717 * Switches to the default theme.
  • trunk/src/wp-content/themes/twentysixteen/inc/customizer.php

    r59832 r60527  
    249249
    250250/**
    251  * Render the site title for the selective refresh partial.
     251 * Renders the site title for the selective refresh partial.
    252252 *
    253253 * @since Twenty Sixteen 1.2
     
    262262
    263263/**
    264  * Render the site tagline for the selective refresh partial.
     264 * Renders the site tagline for the selective refresh partial.
    265265 *
    266266 * @since Twenty Sixteen 1.2
  • trunk/src/wp-content/themes/twentysixteen/inc/template-tags.php

    r58771 r60527  
    278278if ( ! function_exists( 'wp_body_open' ) ) :
    279279    /**
    280      * Fire the wp_body_open action.
     280     * Fires the wp_body_open action.
    281281     *
    282282     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
Note: See TracChangeset for help on using the changeset viewer.