Make WordPress Core

Changeset 36958


Ignore:
Timestamp:
03/10/2016 09:17:57 PM (6 years ago)
Author:
rachelbaker
Message:

Comments: On the Edit Comment screen do not show the permalink for unapproved comments.

Fixes #36161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r35902 r36958  
    2424<div id="post-body-content" class="edit-form-section edit-comment-section">
    2525<?php
    26 if ( $comment->comment_post_ID > 0 ):
     26if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ID > 0 ) :
    2727    $comment_link = get_comment_link( $comment );
    2828?>
Note: See TracChangeset for help on using the changeset viewer.