Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

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

    r29137 r29206  
    425425
    426426        if ( $user_can ) {
    427             // preorder it: Approve | Reply | Quick Edit | Edit | Spam | Trash
     427            // Preorder it: Approve | Reply | Quick Edit | Edit | Spam | Trash.
    428428            $actions = array(
    429429                'approve' => '', 'unapprove' => '',
     
    435435            );
    436436
    437             if ( $comment_status && 'all' != $comment_status ) { // not looking at all comments
     437            // Not looking at all comments.
     438            if ( $comment_status && 'all' != $comment_status ) {
    438439                if ( 'approved' == $the_comment_status )
    439440                    $actions['unapprove'] = "<a href='$unapprove_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=unapproved' class='vim-u vim-destructive' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
Note: See TracChangeset for help on using the changeset viewer.