Make WordPress Core


Ignore:
Timestamp:
02/11/2022 09:28:08 PM (3 years ago)
Author:
SergeyBiryukov
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, audrasjb.
Merges [52681] to the 5.9 branch.
Fixes #54929.

Location:
branches/5.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9

  • branches/5.9/src/wp-content/themes/twentytwentytwo/inc/patterns/general-pricing-table.php

    r52392 r52711  
    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.