[wp-trac] [WordPress Trac] #59358: Fix post editor layout when Post Content block attributes are empty

WordPress Trac noreply at wordpress.org
Wed Sep 20 01:24:49 UTC 2023


#59358: Fix post editor layout when Post Content block attributes are empty
-------------------------------------------------+-------------------------
 Reporter:  isabel_brison                        |       Owner:
                                                 |  isabel_brison
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by isabel_brison):

 * owner:  (none) => isabel_brison
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56629" 56629]:
 {{{
 #!CommitTicketReference repository="" revision="56629"
 Editor: Fix post editor layout when Post Content has no attributes.

 Changes output of `wp_get_post_content_block_attributes` to return null if
 Post Content block doesn’t exist or empty array if it has no attributes.

 Props flixos90, mukesh27.
 Fixes #59358.
 }}}

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


More information about the wp-trac mailing list