Make WordPress Core


Ignore:
Timestamp:
08/31/2022 10:11:30 AM (18 months ago)
Author:
gziolo
Message:

Tests: Increase coverage for translations applied to theme.json

Ensures that translations are correctly applied to the title field in the theme.json and all style variations located in the them inside the styles folder.

Follow-up #55495, [53038].
See also #54336.

File:
1 edited

Legend:

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

    r53921 r54036  
    472472            array(
    473473                'version'  => 2,
     474                'title'    => 'Block theme variation',
    474475                'settings' => array(
    475476                    'color' => array(
     
    494495                    ),
    495496                ),
    496                 'title'    => 'variation',
    497497            ),
    498498        );
Note: See TracChangeset for help on using the changeset viewer.