Make WordPress Core


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

Twenty Twenty-Two: Sync updates from GitHub.

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], and [52283]. It reduces the size of a video asset, renames the templates and template parts directories, and adds CSS for button hover states. To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/1a121e0224c75ffa1c34fff4860386e9cdb9e3bd...da994d1fe50c016cd11ecf33da7de33f652184e4.

Props kjellr, mburridge, sabernhardt, hellofromtonya, scruffian.
See #54318.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentytwo/functions.php

    r52222 r52335  
    127127     * Preloads the main web font to improve performance.
    128128     *
    129      * Only the main web font (font-style: normal) is preloaded here since that font is always relevant (e.g. it used
    130      * on every heading). The other font is only needed if there is any applicable content in italic style, and
    131      * therefore preloading it would in most cases regress performance when that font would otherwise not be loaded at
    132      * all.
     129     * Only the main web font (font-style: normal) is preloaded here since that font is always relevant (it is used
     130     * on every heading, for example). The other font is only needed if there is any applicable content in italic style,
     131     * and therefore preloading it would in most cases regress performance when that font would otherwise not be loaded
     132     * at all.
    133133     *
    134134     * @since Twenty Twenty-Two 1.0
Note: See TracChangeset for help on using the changeset viewer.