Changeset 48527 for trunk/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 07/21/2020 12:12:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r48242 r48527 133 133 */ 134 134 135 $align_wide = get_theme_support( 'align-wide' ); 136 $color_palette = current( (array) get_theme_support( 'editor-color-palette' ) ); 137 $font_sizes = current( (array) get_theme_support( 'editor-font-sizes' ) ); 138 $gradient_presets = current( (array) get_theme_support( 'editor-gradient-presets' ) ); 135 $align_wide = get_theme_support( 'align-wide' ); 136 $color_palette = current( (array) get_theme_support( 'editor-color-palette' ) ); 137 $font_sizes = current( (array) get_theme_support( 'editor-font-sizes' ) ); 138 $gradient_presets = current( (array) get_theme_support( 'editor-gradient-presets' ) ); 139 $custom_line_height = get_theme_support( 'custom-line-height' ); 140 $custom_units = get_theme_support( 'custom-units' ); 139 141 140 142 /** … … 314 316 // field so that we're not always loading its assets. 315 317 'enableCustomFields' => (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ), 318 'enableCustomLineHeight' => $custom_line_height, 319 'enableCustomUnits' => $custom_units, 316 320 ); 317 321
Note: See TracChangeset
for help on using the changeset viewer.