Make WordPress Core


Ignore:
Timestamp:
06/23/2021 07:04:51 PM (3 years ago)
Author:
desrosj
Message:

Docs: Various docblock corrections for code added in 5.8.

Props johnbillion.
See #53461.

File:
1 edited

Legend:

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

    r51168 r51221  
    9494 * @since 5.8.0
    9595 *
    96  * Accepts an optional $template_hierarchy argument as a hint.
    97  *
    9896 * @param string   $template_type      The current template type.
    99  * @param string[] $template_hierarchy (optional) The current template hierarchy, ordered by priority.
     97 * @param string[] $template_hierarchy The current template hierarchy, ordered by priority.
    10098 * @return WP_Block_Template|null template A template object, or null if none could be found.
    10199 */
     
    188186 * Renders a 'viewport' meta tag.
    189187 *
    190  * @access private
    191  * @since 5.8.0
    192  *
    193188 * This is hooked into {@see 'wp_head'} to decouple its output from the default template canvas.
     189 *
     190 * @access private
     191 * @since 5.8.0
    194192 */
    195193function _block_template_viewport_meta_tag() {
Note: See TracChangeset for help on using the changeset viewer.