WordPress.org

Make WordPress Core

Changeset 24380


Ignore:
Timestamp:
05/28/2013 04:53:46 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Remove unnecessary esc_attr() call and redundant title attributes. props zeo. fixes #24437.

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

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

    r24123 r24380  
    10471047    ?>
    10481048        <p class="submit inline-edit-save">
    1049             <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
     1049            <a accesskey="c" href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
    10501050            <?php if ( ! $bulk ) {
    10511051                wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
    1052                 $update_text = __( 'Update' );
    10531052                ?>
    1054                 <a accesskey="s" href="#inline-edit" title="<?php esc_attr_e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a>
     1053                <a accesskey="s" href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>
    10551054                <span class="spinner"></span>
    10561055            <?php } else {
  • trunk/wp-admin/includes/class-wp-terms-list-table.php

    r24127 r24380  
    362362
    363363        <p class="inline-edit-save submit">
    364             <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a>
    365             <?php $update_text = $tax->labels->update_item; ?>
    366             <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a>
     364            <a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a>
     365            <a accesskey="s" href="#inline-edit" class="save button-primary alignright"><?php echo $tax->labels->update_item; ?></a>
    367366            <span class="spinner"></span>
    368367            <span class="error" style="display:none;"></span>
Note: See TracChangeset for help on using the changeset viewer.