Making WordPress.org

Ticket #5589: 5589.diff

File 5589.diff, 932 bytes (added by Chaton666, 4 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/archive.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-support/archive.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-support/archive.php
    index 6df0c78b7..5ef6b0e10 100644
    a b get_header(); ?> 
    2121                                the_post();
    2222                        ?>
    2323
    24                                 <a href="<?php echo esc_url( get_the_permalink() ); ?>" class="archive-block">
    25                                         <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    26                                                 <?php the_title( '<h2>', '</h2>' ); ?>
    27 
    28                                                 <?php the_excerpt(); ?>
    29                                         </article>
    30                                 </a>
     24                                <article id="post-<?php the_ID(); ?>" <?php post_class( 'archive-block' ); ?>>
     25                                        <h2><a href="<?php echo esc_url( get_the_permalink() ); ?>"><?php the_title(); ?></a></h2>
     26                                        <?php the_excerpt(); ?>
     27                                </article>
    3128
    3229
    3330                        <?php endwhile; ?>