Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #56707, comment 6


Ignore:
Timestamp:
10/13/2022 07:05:20 AM (20 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56707, comment 6

    v1 v2  
    55Pinging @gziolo as the committer of [54155]. Greg, [https://github.com/wordpress/wordpress-develop/blob/70dedb086602287f4e0ee97fbf477adda8310963/src/wp-includes/class-wp-block-type.php#L346 this condition] results in an array `editor_script` being rejected outright.
    66
    7 Instead, if `editor_script` is an array, should we set `editor_script_handles` to the same array, and only return void for other non-strings?
     7Instead, if `editor_script` is an array, should we set `editor_script_handles` to the same array? Should this happen for all the deprecated properties, or should these just return `void`?