Make WordPress Core


Ignore:
Timestamp:
05/14/2020 09:20:35 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Themes: Add "Block Editor Styles" and "Wide Blocks" to the list of WordPress theme features.

These were added to Theme Directory API in anticipation of being committed to core for WordPress 5.2+, which has not happened until now.

Follow-up to [meta8273].

Merges [47790] to the 5.3 branch.
See #46272.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-admin/includes/theme.php

    r46232 r47792  
    278278        __( 'Features' ) => array(
    279279            'accessibility-ready'   => __( 'Accessibility Ready' ),
     280            'block-styles'          => __( 'Block Editor Styles' ),
    280281            'custom-background'     => __( 'Custom Background' ),
    281282            'custom-colors'         => __( 'Custom Colors' ),
     
    300301            'left-sidebar'  => __( 'Left Sidebar' ),
    301302            'right-sidebar' => __( 'Right Sidebar' ),
     303            'wide-blocks'   => __( 'Wide Blocks' ),
    302304        ),
    303305
Note: See TracChangeset for help on using the changeset viewer.