Make WordPress Core


Ignore:
Timestamp:
01/17/2022 04:01:00 PM (3 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-logo-navigation-social-black-background.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":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"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":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"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:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-logo {"width":64} /-->
     
    2221                    <!-- /wp:navigation --></div>
    2322                    <!-- /wp:group --></div>
    24                     <!-- /wp:group --></div>
    2523                    <!-- /wp:group -->',
    2624);
Note: See TracChangeset for help on using the changeset viewer.