WordPress.org

Make WordPress Core

Ticket #40735: 40735-button-link.diff

File 40735-button-link.diff, 608 bytes (added by iandunn, 3 years ago)

Removes unneeded class to avoid unwanted background on click

  • src/wp-admin/includes/dashboard.php

    diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
    index 0f0058127f..7e9322e7ff 100644
    function wp_print_community_events_markup() { 
    12151215
    12161216                                <?php submit_button( __( 'Submit' ), 'secondary', 'community-events-submit', false ); ?>
    12171217
    1218                                 <button class="community-events-cancel button button-link" type="button" aria-expanded="false">
     1218                                <button class="community-events-cancel button-link" type="button" aria-expanded="false">
    12191219                                        <?php _e( 'Cancel' ); ?>
    12201220                                </button>
    12211221