Make WordPress Core


Ignore:
Timestamp:
08/28/2008 10:09:56 PM (18 years ago)
Author:
azaozz
Message:

Hide the Reply button if no js and fix some HTML validation problems. Props nbachiyski, see #7435

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r8764 r8765  
    10351035
    10361036        if ( 'spam' != $the_comment_status )
    1037             $actions['reply'] = ' | <a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',this);return false;" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>';
     1037            $actions['reply'] = '<span class="hide-if-no-js"> | <a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',this);return false;" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a></span>';
    10381038
    10391039        $actions = apply_filters( 'comment_row_actions', $actions, $comment );
Note: See TracChangeset for help on using the changeset viewer.