Make WordPress Core


Ignore:
Timestamp:
07/01/2021 09:01:17 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters.

See #53399

File:
1 edited

Legend:

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

    r51288 r51298  
    961961 * @param WP_Block_Type $block_type Block type to check for support.
    962962 * @param string        $feature    Name of the feature to check support for.
    963  * @param mixed         $default    Fallback value for feature support, defaults to false.
    964  *
    965  * @return boolean                  Whether or not the feature is supported.
     963 * @param mixed         $default    Optional. Fallback value for feature support. Default false.
     964 * @return bool Whether the feature is supported.
    966965 */
    967966function block_has_support( $block_type, $feature, $default = false ) {
Note: See TracChangeset for help on using the changeset viewer.