Make WordPress Core


Ignore:
Timestamp:
12/14/2021 05:09:04 PM (3 years ago)
Author:
jffng
Message:

Twenty Twenty-Two: Sync updates from GitHub for Beta 3.

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], and [52335]. The two main changes introduce global padding to site content while still allowing content to be full-width, and re-organize block patterns into Core's existing categories.

To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/da994d1fe50c016cd11ecf33da7de33f652184e4...88a8f2e3b4c6653e2deb5c29ae0b7e42b1f99433.

Props onemaggie, joen, youknowriad, scruffian, sabernhardt, kjellr.
See #54318.

File:
1 edited

Legend:

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

    r52283 r52375  
    55return array(
    66    'title'      => __( 'Small header with dark background', 'twentytwentytwo' ),
    7     'categories' => array( 'twentytwentytwo-headers' ),
     7    'categories' => array( 'header' ),
    88    'blockTypes' => array( 'core/template-part/header' ),
    99    'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"0px","right":"0px","left":"0px"},"margin":{"bottom":"8rem"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
     
    2323
    2424                    <!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none"} -->
    25                     <figure class="wp-block-image alignwide size-full"><img src="' . esc_url( get_stylesheet_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>
     25                    <figure class="wp-block-image alignwide size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>
    2626                    <!-- /wp:image --></div>
    2727                    <!-- /wp:group -->',
Note: See TracChangeset for help on using the changeset viewer.