Comments: On the Edit Comment screen do not show the permalink for unapproved comments.
Fixes #36161. git-svn-id: https://develop.svn.wordpress.org/trunk@36958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4b898888a6
commit
55cda28b18
@ -23,7 +23,7 @@ if ( !defined('ABSPATH') )
|
||||
<div id="post-body" class="metabox-holder columns-2">
|
||||
<div id="post-body-content" class="edit-form-section edit-comment-section">
|
||||
<?php
|
||||
if ( $comment->comment_post_ID > 0 ):
|
||||
if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ID > 0 ) :
|
||||
$comment_link = get_comment_link( $comment );
|
||||
?>
|
||||
<div class="inside">
|
||||
|
Loading…
Reference in New Issue
Block a user