Make WordPress Core

Changeset 25434


Ignore:
Timestamp:
09/14/2013 01:00:44 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Inline documentation for hooks in wp-admin/includes/comment.php.

props mordauk.
see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/comment.php

    r25433 r25434  
    9090
    9191    $comment->comment_content = format_to_edit( $comment->comment_content );
    92     $comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content);
     92    /**
     93     * Filter the comment content before editing.
     94     *
     95     * @since 2.0.0
     96     *
     97     * @param string $comment->comment_content Comment content.
     98     */
     99    $comment->comment_content = apply_filters( 'comment_edit_pre', $comment->comment_content );
    93100
    94101    $comment->comment_author = format_to_edit( $comment->comment_author );
Note: See TracChangeset for help on using the changeset viewer.