Make WordPress Core


Ignore:
Timestamp:
08/03/2021 06:13:46 PM (3 years ago)
Author:
jorgefilipecosta
Message:

Block Editor: Add missing border setting on button block.

This commit fixes a regression on WordPress 5.8 that made the border radius setting on the buttons block disappear.

Props Mamaduka, daisyo, priethor, desrosj, mikeschroder.
Fixes #53702.

File:
1 edited

Legend:

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

    r51443 r51538  
    180180     */
    181181    const ALLOWED_SETTINGS = array(
     182        'border'     => array(
     183            'customRadius' => null,
     184        ),
    182185        'color'      => array(
    183186            'custom'         => null,
     
    212215     */
    213216    const ALLOWED_STYLES = array(
     217        'border'     => array(
     218            'radius' => null,
     219        ),
    214220        'color'      => array(
    215221            'background' => null,
Note: See TracChangeset for help on using the changeset viewer.