WordPress.org

Make WordPress Core

Ticket #23497: compare-two.patch

File compare-two.patch, 1.1 KB (added by ethitter, 7 years ago)
  • wp-admin/revision.php

     
    108108                <div id="difftitle">{{{ data.revision_date_author }}}</div>
    109109                <div id="diffcancel"><input class="button" onClick="document.location='<?php echo get_edit_post_link( $post->ID ); ?>'" type="submit" id="cancel" value="<?php esc_attr_e( 'Cancel' )?>" /></div>
    110110                <div id="diffrestore"><input class="button button-primary" onClick="document.location='{{{ data.restoreaction }}}'" type="submit" id="restore" value="<?php esc_attr_e( 'Restore' )?>" /></div>
    111                 <div id="comparetworevisions"><input type="checkbox" id="comparetwo" value="comparetwo" {{{ data.comparetwochecked }}} name="comparetwo"/> <?php esc_attr_e( 'Compare two revisions' )?></div>
     111                <div id="comparetworevisions"><input type="checkbox" id="comparetwo" value="comparetwo" {{{ data.comparetwochecked }}} name="comparetwo"/> <label for="comparetwo"><?php esc_attr_e( 'Compare two revisions' ); ?></a></div>
    112112        </div>
    113113        <div id="removedandadded">
    114114                <div id="removed"><?php _e( 'Removed -' ); ?></div>