Comments: On the Edit Comment screen do not show the permalink for unapproved comments.
Fixes #36161. Built from https://develop.svn.wordpress.org/trunk@36958 git-svn-id: http://core.svn.wordpress.org/trunk@36926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
74e13b1149
commit
a6e66c0cfc
|
@ -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">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta3-36957';
|
||||
$wp_version = '4.5-beta3-36958';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue