Make WordPress Core


Ignore:
Timestamp:
06/14/2024 09:03:40 AM (18 months ago)
Author:
oandregal
Message:

Section styles: add slug to override non-kebab-cased variations.

Props aaronrobertshaw, oandregal.
Fixes #61440.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php

    r58264 r58413  
    11611161                        ),
    11621162                    ),
     1163                    // @ticket 61440
     1164                    array(
     1165                        'blockTypes' => array( 'core/group', 'core/columns' ),
     1166                        'version'    => 3,
     1167                        'slug'       => 'WithSlug',
     1168                        'title'      => 'With Slug',
     1169                        'styles'     => array(
     1170                            'color' => array(
     1171                                'background' => 'aliceblue',
     1172                                'text'       => 'midnightblue',
     1173                            ),
     1174                        ),
     1175                    ),
    11631176                ),
    11641177            ),
Note: See TracChangeset for help on using the changeset viewer.