Make WordPress Core


Ignore:
Timestamp:
07/29/2025 12:56:16 PM (7 months ago)
Author:
SergeyBiryukov
Message:

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

Reference: PHP Documentation Standards: Documenting Tips.

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

File:
1 edited

Legend:

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

    r60159 r60521  
    33 * Twenty Fifteen 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.
     
    339339
    340340/**
    341  * Register widget area.
     341 * Registers widget area.
    342342 *
    343343 * @since Twenty Fifteen 1.0
     
    362362if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) :
    363363    /**
    364      * Register fonts for Twenty Fifteen.
     364     * Registers fonts for Twenty Fifteen.
    365365     *
    366366     * @since Twenty Fifteen 1.0
     
    418418
    419419/**
    420  * Enqueue scripts and styles.
     420 * Enqueues scripts and styles.
    421421 *
    422422 * @since Twenty Fifteen 1.0
     
    479479
    480480/**
    481  * Enqueue styles for the block-based editor.
     481 * Enqueues styles for the block-based editor.
    482482 *
    483483 * @since Twenty Fifteen 2.1
     
    494494
    495495/**
    496  * Add preconnect for Google Fonts.
     496 * Adds preconnect for Google Fonts.
    497497 *
    498498 * @since Twenty Fifteen 1.7
     
    520520
    521521/**
    522  * Add featured image as background image to post navigation elements.
     522 * Adds featured image as background image to post navigation elements.
    523523 *
    524524 * @since Twenty Fifteen 1.0
     
    562562
    563563/**
    564  * Display descriptions in main navigation.
     564 * Displays descriptions in main navigation.
    565565 *
    566566 * @since Twenty Fifteen 1.0
     
    582582
    583583/**
    584  * Add a `screen-reader-text` class to the search form's submit button.
     584 * Adds a `screen-reader-text` class to the search form's submit button.
    585585 *
    586586 * @since Twenty Fifteen 1.0
     
    658658
    659659/**
    660  * Register block patterns and pattern categories.
     660 * Registers block patterns and pattern categories.
    661661 *
    662662 * @since Twenty Fifteen 3.9
Note: See TracChangeset for help on using the changeset viewer.