Make WordPress Core

Changeset 53728


Ignore:
Timestamp:
07/20/2022 01:19:51 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in block-template.php and block-template-utils.php.

See #55646.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r53727 r53728  
    488488
    489489/**
    490  * Build a unified template object based on a theme file.
     490 * Builds a unified template object based on a theme file.
    491491 *
    492492 * @since 5.9.0
     
    532532
    533533/**
    534  * Build a unified template object based a post Object.
     534 * Builds a unified template object based a post Object.
    535535 *
    536536 * @since 5.9.0
     
    861861
    862862/**
    863  * Print a template-part.
     863 * Prints a template-part.
    864864 *
    865865 * @since 5.9.0
     
    876876
    877877/**
    878  * Print the header template-part.
     878 * Prints the header template-part.
    879879 *
    880880 * @since 5.9.0
     
    885885
    886886/**
    887  * Print the footer template-part.
     887 * Prints the footer template-part.
    888888 *
    889889 * @since 5.9.0
  • trunk/src/wp-includes/block-template.php

    r53593 r53728  
    3333
    3434/**
    35  * Find a block template with equal or higher specificity than a given PHP template file.
     35 * Finds a block template with equal or higher specificity than a given PHP template file.
    3636 *
    3737 * Internally, this communicates the block content that needs to be used by the template canvas through a global variable.
     
    119119
    120120/**
    121  * Return the correct 'wp_template' to render for the request template type.
     121 * Returns the correct 'wp_template' to render for the request template type.
    122122 *
    123123 * @access private
Note: See TracChangeset for help on using the changeset viewer.