Changeset 48067 for trunk/src/wp-admin/comment.php
- Timestamp:
- 06/16/2020 09:05:20 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r48052 r48067 37 37 } 38 38 39 // Prevent actions on a comment associated with a trashed post.40 39 $comment_id = absint( $_GET['c'] ); 41 40 $comment = get_comment( $comment_id ); 42 41 42 // Prevent actions on a comment associated with a trashed post. 43 43 if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) { 44 44 wp_die(
Note: See TracChangeset
for help on using the changeset viewer.