[wp-trac] [WordPress Trac] #61406: Heading block attribute type issue

WordPress Trac noreply at wordpress.org
Fri Jun 21 20:04:10 UTC 2024


#61406: Heading block attribute type issue
--------------------------------+------------------------------
 Reporter:  metaphorcreations   |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Posts, Post Types   |     Version:  6.5.4
 Severity:  normal              |  Resolution:
 Keywords:  needs-testing-info  |     Focuses:
--------------------------------+------------------------------

Comment (by metaphorcreations):

 @mai21 I have a custom plugin that works with Gravity Forms and uses
 blocks to design email templates. This error occurs When a form is
 submitted and the blocks are rendered for the notifications. I haven't run
 into the issue when just using blocks on pages/posts, etc... So, it's
 quite a few steps to replicate.

 But, I do know that many core blocks that WordPress loads from the wp-
 includes/blocks/blocks-json.php file contain "rich-text" types, which is
 causing the issue for my plugin.

 Is there a reason why core block attributes are still using the "rich-
 text" type when it's not supported anymore?


 {{{
 The type field MUST be one of the following:

 null
 boolean
 object
 array
 string
 integer
 number (same as integer)
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61406#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list