Make WordPress Core


Ignore:
Timestamp:
01/17/2022 04:01:00 PM (2 years ago)
Author:
audrasjb
Message:

Twenty Twenty-Two: Sync updates from GitHub from RC3.

This commit syncs minor changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], [52430], and [52555]. It includes fixes to the group, cover, and template part block padding and removes unnecessary group block wrappers from many patterns.

To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/69d5c512c614bb282d4e4641c19754da2cadb406...91f8748566b8d2d0f7ba5f7552affc0178b9f85b.

Props kjellr, richtabor, audrasjb, jffng.
Merges [52589] to the 5.9 branch.
Fixes #54318.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php

    r52557 r52590  
    77    'categories' => array( 'header' ),
    88    'blockTypes' => array( 'core/template-part/header' ),
    9     'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:0px;padding-bottom:0px;"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->
    1211                    <div class="wp-block-group alignfull" style="padding-top:0px;padding-bottom:0px;"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
     
    2928                    <!-- wp:spacer {"height":66} -->
    3029                    <div style="height:66px" aria-hidden="true" class="wp-block-spacer"></div>
    31                     <!-- /wp:spacer --></div>
    32                     <!-- /wp:group -->',
     30                    <!-- /wp:spacer -->',
    3331);
Note: See TracChangeset for help on using the changeset viewer.