Inline documentation for hooks in wp-admin/includes/comment.php.
props mordauk. see #25229. Built from https://develop.svn.wordpress.org/trunk@25434 git-svn-id: http://core.svn.wordpress.org/trunk@25356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5df8338e0a
commit
a55d3abd5f
|
@ -89,7 +89,14 @@ function get_comment_to_edit( $id ) {
|
|||
$comment->comment_post_ID = (int) $comment->comment_post_ID;
|
||||
|
||||
$comment->comment_content = format_to_edit( $comment->comment_content );
|
||||
$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content);
|
||||
/**
|
||||
* Filter the comment content before editing.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string $comment->comment_content Comment content.
|
||||
*/
|
||||
$comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );
|
||||
|
||||
$comment->comment_author = format_to_edit( $comment->comment_author );
|
||||
$comment->comment_author_email = format_to_edit( $comment->comment_author_email );
|
||||
|
|
Loading…
Reference in New Issue