Make WordPress Core

Changeset 52590


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.

Location:
branches/5.9/src/wp-content/themes/twentytwentytwo
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php

    r52557 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    9     'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"6rem"}}},"backgroundColor":"secondary","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"6rem"}}},"backgroundColor":"secondary","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:6rem"><!-- wp:columns {"align":"wide"} -->
    1211                    <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33%"} -->
     
    3029                    <!-- /wp:column --></div>
    3130                    <!-- /wp:columns --></div>
    32                     <!-- /wp:group --></div>
    3331                    <!-- /wp:group -->',
    3432);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php

    r52557 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    9     'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:columns {"align":"wide"} -->
    1211                    <div class="wp-block-columns alignwide"><!-- wp:column -->
     
    5352                    <!-- /wp:paragraph --></div>
    5453                    <!-- /wp:group --></div>
    55                     <!-- /wp:group --></div>
    5654                    <!-- /wp:group -->',
    5755);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php

    r52557 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    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","layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide"><!-- wp:site-title {"level":0} /-->
     
    2120                    <!-- /wp:paragraph --></div>
    2221                    <!-- /wp:group --></div>
    23                     <!-- /wp:group --></div>
    2422                    <!-- /wp:group -->',
    2523);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php

    r52430 r52590  
    88    'blockTypes' => array( 'core/template-part/footer' ),
    99    'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-logo {"width":60} /-->
     
    2120                    <!-- /wp:paragraph --></div>
    2221                    <!-- /wp:group --></div>
    23                     <!-- /wp:group --></div>
    2422                    <!-- /wp:group -->',
    2523);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php

    r52430 r52590  
    88    'blockTypes' => array( 'core/template-part/footer' ),
    99    'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:navigation -->
     
    2322                    <!-- /wp:paragraph --></div>
    2423                    <!-- /wp:group --></div>
    25                     <!-- /wp:group --></div>
    2624                    <!-- /wp:group -->',
    2725);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php

    r52430 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    9     'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"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:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
    1211                    <div class="wp-block-query alignwide"><!-- wp:post-template -->
     
    3938                    <!-- /wp:group --></div>
    4039                    <!-- /wp:group --></div>
    41                     <!-- /wp:group --></div>
    4240                    <!-- /wp:group -->',
    4341);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php

    r52430 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    9     'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
    10                     <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
    1211                    <div class="wp-block-query alignwide"><!-- wp:post-template -->
     
    3736                    <!-- /wp:group --></div>
    3837                    <!-- /wp:group --></div>
    39                     <!-- /wp:group --></div>
    4038                    <!-- /wp:group -->',
    4139);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php

    r52430 r52590  
    77    'categories' => array( 'footer' ),
    88    'blockTypes' => array( 'core/template-part/footer' ),
    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"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"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"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:group -->
     
    2423                    <!-- /wp:social-links --></div>
    2524                    <!-- /wp:group --></div>
    26                     <!-- /wp:group --></div>
    2725                    <!-- /wp:group -->',
    2826);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-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":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--small, 1.25rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--small, 1.25rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} -->
    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:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
    1211                    <!-- wp:navigation-link {"isTopLevelLink":true} /-->
     
    2019                    <!-- wp:navigation-link {"isTopLevelLink":true} /-->
    2120                    <!-- /wp:navigation --></div>
    22                     <!-- /wp:group --></div>
    2321                    <!-- /wp:group -->',
    2422);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.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":"primary","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":"primary","textColor":"background","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-background-color has-primary-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:columns {"verticalAlignment":"center","align":"wide"} -->
    1211                    <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
     
    2423                    <!-- /wp:column --></div>
    2524                    <!-- /wp:columns --></div>
    26                     <!-- /wp:group --></div>
    2725                    <!-- /wp:group -->',
    2826);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.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|primary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"primary","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"primary","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-primary-color has-secondary-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:columns {"verticalAlignment":"center","align":"wide"} -->
    1211                    <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
     
    2827                    <!-- /wp:column --></div>
    2928                    <!-- /wp:columns --></div>
    30                     <!-- /wp:group --></div>
    3129                    <!-- /wp:group -->',
    3230);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-large-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":"var(--wp--custom--spacing--large, 8rem)"}}},"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":"var(--wp--custom--spacing--large, 8rem)"}}},"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:var(--wp--custom--spacing--large, 8rem);"><!-- 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"}} -->
     
    3231                    <!-- /wp:group --><!-- wp:spacer {"height":66} -->
    3332                    <div style="height:66px" aria-hidden="true" class="wp-block-spacer"></div>
    34                     <!-- /wp:spacer --></div>
    35                     <!-- /wp:group -->',
     33                    <!-- /wp:spacer -->',
    3634);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-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|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"tertiary","textColor":"foreground","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"tertiary","textColor":"foreground","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-foreground-color has-tertiary-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} /-->
     
    1615                    <!-- /wp:navigation --></div>
    1716                    <!-- /wp:group --></div>
    18                     <!-- /wp:group --></div>
    1917                    <!-- /wp:group -->',
    2018);
  • 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);
  • 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);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-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":"primary","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":"primary","textColor":"background","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-background-color has-primary-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","layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide"><!-- wp:group -->
     
    2019                    <!-- /wp:navigation --></div>
    2120                    <!-- /wp:group --></div>
    22                     <!-- /wp:group --></div>
    2321                    <!-- /wp:group -->',
    2422);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-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|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-foreground-color has-secondary-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","layout":{"type":"flex","justifyContent":"space-between"}} -->
    1211                    <div class="wp-block-group alignwide"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /-->
     
    1615                    <!-- /wp:navigation --></div>
    1716                    <!-- /wp:group --></div>
    18                     <!-- /wp:group --></div>
    1917                    <!-- /wp:group -->',
    2018);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-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|secondary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"foreground","textColor":"secondary","layout":{"inherit":true}} -->
     9    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"foreground","textColor":"secondary","layout":{"inherit":true}} -->
    1110                    <div class="wp-block-group alignfull has-secondary-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:group {"layout":{"type":"flex","justifyContent":"left"}} -->
     
    2019                    <!-- /wp:navigation --></div>
    2120                    <!-- /wp:group --></div>
    22                     <!-- /wp:group --></div>
    2321                    <!-- /wp:group -->',
    2422);
  • branches/5.9/src/wp-content/themes/twentytwentytwo/parts/header-large-dark.html

    r52557 r52590  
    1 <!-- wp:group {"layout":{"inherit":true}} -->
    2 <div class="wp-block-group"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
     1<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
    32<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:var(--wp--custom--spacing--large, 8rem)"><!-- wp:template-part {"slug":"header","tagName":"header","align":"wide"} /-->
    43
     
    65<!-- /wp:group --><!-- wp:spacer {"height":66} -->
    76<div style="height:66px" aria-hidden="true" class="wp-block-spacer"></div>
    8 <!-- /wp:spacer --></div>
    9 <!-- /wp:group -->
     7<!-- /wp:spacer -->
  • branches/5.9/src/wp-content/themes/twentytwentytwo/parts/header-small-dark.html

    r52557 r52590  
    1 <!-- wp:group {"layout":{"inherit":true}} -->
    2 <div class="wp-block-group"><!-- 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}} -->
     1<!-- 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}} -->
    32<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:template-part {"slug":"header","tagName":"header","align":"wide"} /-->
    43
     
    65<!-- /wp:group --><!-- wp:spacer {"height":66} -->
    76<div style="height:66px" aria-hidden="true" class="wp-block-spacer"></div>
    8 <!-- /wp:spacer --></div>
    9 <!-- /wp:group -->
     7<!-- /wp:spacer -->
  • branches/5.9/src/wp-content/themes/twentytwentytwo/style.css

    r52430 r52590  
    100100.edit-post-visual-editor__post-title-wrapper,
    101101.wp-block-group.alignfull,
     102.wp-block-group.has-background,
    102103.wp-block-cover.alignfull,
    103104.is-root-container .wp-block[data-align="full"] > .wp-block-group,
     
    108109
    109110.wp-site-blocks .alignfull,
     111.wp-site-blocks > .wp-block-group.has-background,
     112.wp-site-blocks > .wp-block-cover,
     113.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
     114.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
     115body > .is-root-container > .wp-block-group.has-background,
     116body > .is-root-container > .wp-block-cover,
     117body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
     118body > .is-root-container > .wp-block-template-part > .wp-block-cover,
    110119.is-root-container .wp-block[data-align="full"] {
    111120    margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
Note: See TracChangeset for help on using the changeset viewer.