Making WordPress.org


Ignore:
Timestamp:
07/13/2022 03:15:45 AM (3 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@34992591d62901638ad5adc590b03a25272c2df4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-discussion-event-short-item.php

    r11342 r11961  
    1010<li class="discussion-event">
    1111    <div>
     12        <a class="discussion-event-link" href="<?php echo esc_attr( $args['url'] ); ?>">
     13            <h3><?php echo esc_html( $args['title'] ); ?></h3>
     14        </a>
    1215        <abbr
    1316            class="discussion-event-date"
     
    1720            <?php echo esc_html( gmdate( 'l, F jS, Y', $timestamp ) ); ?>
    1821        </abbr>
    19         <a class="discussion-event-link" href="<?php echo esc_attr( $args['url'] ); ?>">
    20             <?php echo esc_html( $args['title'] ); ?>
    21         </a>
    2222    </div>
    2323    <div class="wp-block-button is-style-primary">
    2424        <a class="wp-block-button__link" href="<?php echo esc_attr( $args['url'] ); ?>" style="border-radius:5px">
    25             <?php esc_html_e( 'Join this space', 'wporg-learn' ); ?>
     25            <?php esc_html_e( 'Join this space', 'wporg-learn' ); ?><span class="screen-reader-text"><?php echo sprintf( ': %s', esc_html( $args['title'] ) ); ?></span>
    2626        </a>
    2727    </div>
Note: See TracChangeset for help on using the changeset viewer.