WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/22/2020 10:24:42 AM (18 months ago)
Author:
gziolo
Message:

Blocks: Add context fields to WP_Block_Type

New block context related fields were added as part of https://github.com/WordPress/gutenberg/pull/22686. This changest backports them to WP_Block_Type class.

Props aduth, spacedmonkey, mcsf, epiqueras.
Fixes #47656.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesPost.php

    r47876 r48117  
    845845                'icon'        => 'text',
    846846                'keywords'    => array(),
    847                 'supports'    => array(),
     847                'usesContext' => array(),
    848848                'styles'      => array(),
    849849            ),
Note: See TracChangeset for help on using the changeset viewer.