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/functions.php

    r52335 r52392  
    4444     */
    4545    function twentytwentytwo_styles() {
     46        // Register theme stylesheet.
     47        $theme_version = wp_get_theme()->get( 'Version' );
    4648
    47         // Register theme stylesheet.
     49        $version_string = is_string( $theme_version ) ? $theme_version : false;
    4850        wp_register_style(
    4951            'twentytwentytwo-style',
    5052            get_template_directory_uri() . '/style.css',
    5153            array(),
    52             wp_get_theme()->get( 'Version' )
     54            $version_string
    5355        );
    5456
Note: See TracChangeset for help on using the changeset viewer.