mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Consistently include an empty line between @since tag and @see, @link, or @global, per the documentation standards.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -36,10 +36,10 @@ if ( isset( $_GET['dt'] ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
|
||||
Reference in New Issue
Block a user