WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/21/2020 12:12:43 PM (14 months ago)
Author:
ellatrix
Message:

Editor: update packages for Beta 3

Fixes #50712.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-blocks.php

    r48242 r48527  
    133133 */
    134134
    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' );
    139141
    140142/**
     
    314316    // field so that we're not always loading its assets.
    315317    'enableCustomFields'                   => (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ),
     318    'enableCustomLineHeight'               => $custom_line_height,
     319    'enableCustomUnits'                    => $custom_units,
    316320);
    317321
Note: See TracChangeset for help on using the changeset viewer.