Make WordPress Core


Ignore:
Timestamp:
07/13/2021 04:39:05 PM (3 years ago)
Author:
youknowriad
Message:

Block Editor: Include the fixes targetted for WordPress 5.8 RC3.

This includes the following fixes:

  • Safari: see if compositing layer size is more reasonable when position fixed divs are not inserted into content.
  • Site Logo Block: update Site Logo block UI and option syncing.
  • Fix moving inner blocks in the Widgets Customizer.
  • Allow themes to provide empty values for color.duotone and spacing.units
  • Update getTermsInfo() to workaround parsing issue for translatable strings.
  • Specify what settings can be part of settings.layout.
  • Update conditions to hide duotone panel.
  • Prevent entering invalid values in the Query Loop block config.
  • Prevent color panel from showing as empty.
  • Avoid calling gutenberg_ functions within code shipped through WordPress Core.

Props desrosj.
See #53397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r51383 r51421  
    182182        'color'      => array(
    183183            'custom'         => null,
     184            'customDuotone'  => null,
    184185            'customGradient' => null,
    185186            'duotone'        => null,
     
    189190        ),
    190191        'custom'     => null,
    191         'layout'     => null,
     192        'layout'     => array(
     193            'contentSize' => null,
     194            'wideSize'    => null,
     195        ),
    192196        'spacing'    => array(
    193197            'customMargin'  => null,
Note: See TracChangeset for help on using the changeset viewer.