Make WordPress Core


Ignore:
Timestamp:
02/05/2022 07:58:25 AM (2 years ago)
Author:
audrasjb
Message:

Twenty Twenty-Two: Fix headings consistency in Pricing table pattern.

This change fixes a consistency issue where "Pigeon" was a h3, while "Sparrow" and "Falcon" were h2. Let's treat these birds equally 🐦

Props kjellr, jffng.
Fixes #54929.

File:
1 edited

Legend:

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

    r52392 r52681  
    4444                    <!-- /wp:heading -->
    4545
    46                     <!-- wp:heading {"fontSize":"x-large"} -->
    47                     <h2 class="has-x-large-font-size" id="sparrow"><meta charset="utf-8"><em>' . esc_html__( 'Sparrow', 'twentytwentytwo' ) . '</em></h2>
     46                    <!-- wp:heading {"level":3,"fontSize":"x-large"} -->
     47                    <h3 class="has-x-large-font-size" id="sparrow"><meta charset="utf-8"><em>' . esc_html__( 'Sparrow', 'twentytwentytwo' ) . '</em></h3>
    4848                    <!-- /wp:heading -->
    4949
     
    7272                    <!-- /wp:heading -->
    7373
    74                     <!-- wp:heading {"fontSize":"x-large"} -->
    75                     <h2 class="has-x-large-font-size" id="falcon"><meta charset="utf-8"><em>' . esc_html__( 'Falcon', 'twentytwentytwo' ) . '</em></h2>
     74                    <!-- wp:heading {"level":3,"fontSize":"x-large"} -->
     75                    <h3 class="has-x-large-font-size" id="falcon"><meta charset="utf-8"><em>' . esc_html__( 'Falcon', 'twentytwentytwo' ) . '</em></h3>
    7676                    <!-- /wp:heading -->
    7777
Note: See TracChangeset for help on using the changeset viewer.