[wp-trac] [WordPress Trac] #61151: Fatal error in wp_apply_custom_classname_support()
WordPress Trac
noreply at wordpress.org
Mon May 6 21:24:11 UTC 2024
#61151: Fatal error in wp_apply_custom_classname_support()
--------------------------+-----------------------------
Reporter: caercam | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6
Component: Editor | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58112" 58112]:
{{{
#!CommitTicketReference repository="" revision="58112"
Editor: Check that `attrs` is an array in
`WP_Block_Supports::apply_block_supports()`.
This prevents a fatal error in `wp_apply_custom_classname_support()`,
which expects an array data type for block attributes, and makes sure the
block editor can still load if there is a mistake in the attributes of a
block.
Follow-up to [54498].
Props caercam.
Fixes #61151.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61151#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list