WordPress.org

Make WordPress Core

Changeset 47793


Ignore:
Timestamp:
05/14/2020 09:20:58 AM (4 months 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.2 branch.
See #46272.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

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

    r45510 r47793  
    274274        __( 'Features' ) => array(
    275275            'accessibility-ready'   => __( 'Accessibility Ready' ),
     276            'block-styles'          => __( 'Block Editor Styles' ),
    276277            'custom-background'     => __( 'Custom Background' ),
    277278            'custom-colors'         => __( 'Custom Colors' ),
     
    296297            'left-sidebar'  => __( 'Left Sidebar' ),
    297298            'right-sidebar' => __( 'Right Sidebar' ),
     299            'wide-blocks'   => __( 'Wide Blocks' ),
    298300        ),
    299301
Note: See TracChangeset for help on using the changeset viewer.