Make WordPress Core


Ignore:
Timestamp:
12/20/2021 04:48:54 PM (3 years ago)
Author:
jffng
Message:

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

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

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], and [52375]. It updates the theme's font size presets and fixes an issue with query padding.

To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/623a4d798227a5eb948d0286d3fa779383997649...d6cb56cce4d4789965d05327ec54e48a1be4a171.

Props schlessera, williampatton, hellofromtonya, kjellr.
See #54318.

File:
1 edited

Legend:

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

    r52375 r52392  
    1010 *
    1111 * @since Twenty Twenty-Two 1.0
     12 *
     13 * @return void
    1214 */
    1315function twentytwentytwo_register_block_patterns() {
    1416    $block_pattern_categories = array(
    1517        'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ),
    16         'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),
    17         'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),
    18         'query'   => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),
    19         'pages'   => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),
     18        'footer'   => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),
     19        'header'   => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),
     20        'query'    => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),
     21        'pages'    => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),
    2022    );
    2123
     
    118120     * @since Twenty Twenty-Two 1.0
    119121     *
    120      * @param $block_patterns array List of block patterns by name.
     122     * @param array $block_patterns List of block patterns by name.
    121123     */
    122124    $block_patterns = apply_filters( 'twentytwentytwo_block_patterns', $block_patterns );
Note: See TracChangeset for help on using the changeset viewer.