[wp-trac] [WordPress Trac] #48529: Add fields to WP_Block_Type
WordPress Trac
noreply at wordpress.org
Thu Nov 14 14:49:43 UTC 2019
#48529: Add fields to WP_Block_Type
--------------------------+------------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by spacedmonkey):
Replying to [comment:4 aduth]:
> There's at least one condition which tests `isset` on a property of this
class, where we're now always assigning a default. Do those need to be
updated?
>
What if someone doesn't register attributes in their plugin for their
custom block. That check might be overkill, but might stop a breakable if
someone does something silly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48529#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list