Make WordPress Core


Ignore:
Timestamp:
06/19/2015 09:41:07 PM (10 years ago)
Author:
wonderboymusic
Message:

Use <button> instead of <a> for non-link links in Quick Edit.

Props afercia.
Fixes #32213.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r32752 r32869  
    15301530    ?>
    15311531        <p class="submit inline-edit-save">
    1532             <a href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
     1532            <button type="button" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></button>
    15331533            <?php if ( ! $bulk ) {
    15341534                wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
    15351535                ?>
    1536                 <a href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>
     1536                <button type="button" class="button-primary save alignright"><?php _e( 'Update' ); ?></button>
    15371537                <span class="spinner"></span>
    15381538            <?php } else {
Note: See TracChangeset for help on using the changeset viewer.