Changeset 37512
- Timestamp:
- 05/22/2016 06:40:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r37487 r37512 52 52 53 53 /** 54 * Filter the maximum number of links allowed in a comment.54 * Filters the maximum number of links allowed in a comment. 55 55 * 56 56 * @since 3.0.0 … … 271 271 272 272 /** 273 * Filter the default comment status for the given post type.273 * Filters the default comment status for the given post type. 274 274 * 275 275 * @since 4.3.0 … … 505 505 506 506 /** 507 * Filter the lifetime of the comment cookie in seconds.507 * Filters the lifetime of the comment cookie in seconds. 508 508 * 509 509 * @since 2.8.0 … … 529 529 if ( isset( $_COOKIE['comment_author_' . COOKIEHASH] ) ) { 530 530 /** 531 * Filter the comment author's name cookie before it is set.531 * Filters the comment author's name cookie before it is set. 532 532 * 533 533 * When this filter hook is evaluated in wp_filter_comment(), … … 546 546 if ( isset( $_COOKIE['comment_author_email_' . COOKIEHASH] ) ) { 547 547 /** 548 * Filter the comment author's email cookie before it is set.548 * Filters the comment author's email cookie before it is set. 549 549 * 550 550 * When this filter hook is evaluated in wp_filter_comment(), … … 563 563 if ( isset( $_COOKIE['comment_author_url_' . COOKIEHASH] ) ) { 564 564 /** 565 * Filter the comment author's URL cookie before it is set.565 * Filters the comment author's URL cookie before it is set. 566 566 * 567 567 * When this filter hook is evaluated in wp_filter_comment(), … … 697 697 698 698 /** 699 * Filter a comment's approval status before it is set.699 * Filters a comment's approval status before it is set. 700 700 * 701 701 * @since 2.1.0 … … 749 749 $time_newcomment = mysql2date('U', $date, false); 750 750 /** 751 * Filter the comment flood status.751 * Filters the comment flood status. 752 752 * 753 753 * @since 2.1.0 … … 1102 1102 1103 1103 /** 1104 * Filter the comments count for a given post.1104 * Filters the comments count for a given post. 1105 1105 * 1106 1106 * @since 2.7.0 … … 1509 1509 1510 1510 /** 1511 * Filter the current commenter's name, email, and URL.1511 * Filters the current commenter's name, email, and URL. 1512 1512 * 1513 1513 * @since 3.1.0 … … 1630 1630 if ( isset( $commentdata['user_ID'] ) ) { 1631 1631 /** 1632 * Filter the comment author's user id before it is set.1632 * Filters the comment author's user id before it is set. 1633 1633 * 1634 1634 * The first time this filter is evaluated, 'user_ID' is checked … … 1646 1646 1647 1647 /** 1648 * Filter the comment author's browser user agent before it is set.1648 * Filters the comment author's browser user agent before it is set. 1649 1649 * 1650 1650 * @since 1.5.0 … … 1656 1656 $commentdata['comment_author'] = apply_filters( 'pre_comment_author_name', $commentdata['comment_author'] ); 1657 1657 /** 1658 * Filter the comment content before it is set.1658 * Filters the comment content before it is set. 1659 1659 * 1660 1660 * @since 1.5.0 … … 1664 1664 $commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] ); 1665 1665 /** 1666 * Filter the comment author's IP before it is set.1666 * Filters the comment author's IP before it is set. 1667 1667 * 1668 1668 * @since 1.5.0 … … 1746 1746 1747 1747 /** 1748 * Filter a comment's data before it is sanitized and inserted into the database.1748 * Filters a comment's data before it is sanitized and inserted into the database. 1749 1749 * 1750 1750 * @since 1.5.0 … … 1863 1863 1864 1864 /** 1865 * Filter whether to send the post author new comment notification emails,1865 * Filters whether to send the post author new comment notification emails, 1866 1866 * overriding the site setting. 1867 1867 * … … 1999 1999 2000 2000 /** 2001 * Filter the comment content before it is updated in the database.2001 * Filters the comment content before it is updated in the database. 2002 2002 * 2003 2003 * @since 1.5.0 … … 2422 2422 $client->timeout = 3; 2423 2423 /** 2424 * Filter the user agent sent when pinging-back a URL.2424 * Filters the user agent sent when pinging-back a URL. 2425 2425 * 2426 2426 * @since 2.9.0 … … 2652 2652 2653 2653 /** 2654 * Filter the list of post types to automatically close comments for.2654 * Filters the list of post types to automatically close comments for. 2655 2655 * 2656 2656 * @since 3.2.0
Note: See TracChangeset
for help on using the changeset viewer.