Ticket #25229: wp-comment.diff
File wp-comment.diff, 721 bytes (added by , 11 years ago) |
---|
-
wp-admin/comment.php
279 279 edit_comment(); 280 280 281 281 $location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id; 282 283 /** 284 * The URI the user is redirected to after editing a comment in the admin. 285 * 286 * @since 2.1 287 * 288 * @param string $location The URI the user will be redirected to. 289 * @param int $comment_id The ID of the comment being edited. 290 */ 282 291 $location = apply_filters( 'comment_edit_redirect', $location, $comment_id ); 283 292 wp_redirect( $location ); 284 293