Changeset 25282
- Timestamp:
- 09/06/2013 05:00:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r19856 r25282 280 280 281 281 $location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id; 282 283 /** 284 * Filter the URI the user is redirected to after editing a comment in the admin. 285 * 286 * @since 2.1.0 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 );
Note: See TracChangeset
for help on using the changeset viewer.