Make WordPress Core


Ignore:
Timestamp:
09/20/2023 01:24:32 AM (22 months ago)
Author:
isabel_brison
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/themeDir.php

    r56621 r56629  
    186186            'Block Theme [1.0.0] in subdirectory',
    187187            'Block Theme Deprecated Path',
     188            'Block Theme Post Content Default',
    188189            'Block Theme with defined Typography Fonts',
    189190            'Empty `fontFace` in theme.json - no webfonts defined',
Note: See TracChangeset for help on using the changeset viewer.