Make WordPress Core

Changeset 50928


Ignore:
Timestamp:
05/19/2021 01:58:52 PM (3 years ago)
Author:
gziolo
Message:

Docs: Include @since in register_block_type definition

See #53233.

File:
1 edited

Legend:

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

    r50927 r50928  
    330330 *
    331331 * @since 5.0.0
     332 * @since 5.8.0 First param accepts a path to the `block.json` file.
    332333 *
    333334 * @param string|WP_Block_Type $block_type Block type name including namespace, or alternatively
Note: See TracChangeset for help on using the changeset viewer.