Make WordPress Core


Ignore:
Timestamp:
08/05/2021 12:43:51 AM (5 years ago)
Author:
peterwilsoncc
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.
Merges [51538] to the 5.8 branch.
Fixes #53697.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-includes/theme.json

    r51445 r51547  
    22    "version": 1,
    33    "settings": {
     4        "border": {
     5            "customRadius": false
     6        },
    47        "color": {
    58            "custom": true,
     
    210213                }
    211214            ]
     215        },
     216        "blocks": {
     217            "core/button": {
     218                "border": {
     219                    "customRadius": true
     220                }
     221            }
    212222        }
    213223    }
Note: See TracChangeset for help on using the changeset viewer.