Make WordPress Core


Ignore:
Timestamp:
06/04/2024 11:53:37 AM (3 months ago)
Author:
ellatrix
Message:

Editor: Add theme.json v3 migrations.

See https://github.com/WordPress/wordpress-develop/pull/6616.
See also the original Gutenberg PRs:

Fixes #61282.

Props ajlende, talldanwp, ramonopoly, ellatrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-global-styles-controller.php

    r58262 r58328  
    151151        $expected = array(
    152152            array(
    153                 'version'  => 2,
     153                'version'  => WP_Theme_JSON::LATEST_SCHEMA,
    154154                'settings' => array(
    155155                    'blocks' => array(
     
    172172            ),
    173173            array(
    174                 'version'  => 2,
     174                'version'  => WP_Theme_JSON::LATEST_SCHEMA,
    175175                'settings' => array(
    176176                    'blocks' => array(
     
    217217            ),
    218218            array(
    219                 'version'  => 2,
     219                'version'  => WP_Theme_JSON::LATEST_SCHEMA,
    220220                'title'    => 'Block theme variation',
    221221                'settings' => array(
Note: See TracChangeset for help on using the changeset viewer.