Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60460


Ignore:
Timestamp:
02/07/2024 12:52:33 PM (4 months ago)
Author:
gziolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60460 – Description

    initial v1  
    33It is a hard requirement that a *.asset.php file is present to register a block in WordPress. Otherwise, it throws a Warning:
    44
    5 {{{
    6 function register_block_script_handle was called incorrectly. The asset file (/wp-content/uploads/faustwp/blocks/block-a/index.asset.php) for the "editorScript" defined in "create-block/block-a" block definition is missing. (This message was added in version 5.5.0.)
    7 }}}
     5
     6> function register_block_script_handle was called incorrectly. The asset file (/wp-content/uploads/faustwp/blocks/block-a/index.asset.php) for the "editorScript" defined in "create-block/block-a" block definition is missing. (This message was added in version 5.5.0.)
     7
    88
    99