Making WordPress.org

Ticket #4115: 4115.diff

File 4115.diff, 1.5 KB (added by dufresnesteven, 5 years ago)

Updates heading hierarchy on /plugins.

  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php
    index 8890e9a88..afefabf18 100644
    $sections = array( 
    1818);
    1919
    2020$widget_args = array(
    21         'before_title' => '<h3 class="widget-title">',
    22         'after_title'  => '</h3>',
     21        'before_title' => '<h2 class="widget-title">',
     22        'after_title'  => '</h2>',
    2323);
    2424
    2525get_header();
  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php
    index 48a75d4b3..e46fc7551 100644
    $tested_up_to = (string) get_post_meta( $post->ID, 'tested', true ); 
    2323                </a>
    2424        </div><div class="entry">
    2525                <header class="entry-header">
    26                         <?php the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
     26                        <?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
    2727                </header><!-- .entry-header -->
    2828
    2929                <?php echo wp_kses_post( Template::get_star_rating() ); ?>