Make WordPress Core

Ticket #53806: 53806.docs.diff

File 53806.docs.diff, 827 bytes (added by costdev, 5 years ago)

Alternative: Modify the DocBlock

  • src/wp-includes/blocks.php

    diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php
    index 72330aa578..97c292d875 100644
    a b function get_block_metadata_i18n_schema() {  
    213213 *
    214214 * @param string $file_or_folder Path to the JSON file with metadata definition for
    215215 *                               the block or path to the folder where the `block.json` file is located.
     216 *                               If providing the path to a JSON file, the filename must end with `block.json`.
    216217 * @param array  $args           Optional. Array of block type arguments. Accepts any public property
    217218 *                               of `WP_Block_Type`. See WP_Block_Type::__construct() for information
    218219 *                               on accepted arguments. Default empty array.