Make WordPress Core


Ignore:
Timestamp:
12/09/2013 07:13:56 PM (10 years ago)
Author:
iammattthomas
Message:

Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r26247 r26834  
    556556    wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
    557557    ?>
    558     <p class="hide-if-no-js" id="add-new-comment"><a href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
     558    <p class="hide-if-no-js" id="add-new-comment"><a class="button" href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
    559559    <?php
    560560
Note: See TracChangeset for help on using the changeset viewer.