Skip to:
Content

BuddyPress.org

Ticket #7649: 7649.patch

File 7649.patch, 1.1 KB (added by hnla, 7 years ago)

Remove incorrect additional closing angle bracket & quote mark on screen reader markup span element.

  • src/bp-messages/bp-messages-template.php

     
    13371337                                <p>
    13381338                                        <strong><?php echo stripslashes( wp_filter_kses( $notice->subject ) ) ?></strong><br />
    13391339                                        <?php echo stripslashes( wp_filter_kses( $notice->message) ) ?>
    1340                                         <button type="button" id="close-notice" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Dismiss this notice', 'buddypress' ) ?>"><span class="bp-screen-reader-text"><?php _e( 'Dismiss this notice', 'buddypress' ) ?>"></span> <span aria-hidden="true">&Chi;</span></button>
     1340                                        <button type="button" id="close-notice" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Dismiss this notice', 'buddypress' ) ?>"><span class="bp-screen-reader-text"><?php _e( 'Dismiss this notice', 'buddypress' ) ?></span> <span aria-hidden="true">&Chi;</span></button>
    13411341                                        <?php wp_nonce_field( 'bp_messages_close_notice', 'close-notice-nonce' ); ?>
    13421342                                </p>
    13431343                        </div>