Changeset 46232 for trunk/src/wp-includes/comment.php
- Timestamp:
- 09/21/2019 05:40:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r46227 r46232 821 821 * allow skipping further processing. 822 822 * 823 * @param bool|string|WP_Error $approved The approval status. Accepts 1, 0, 'spam' or WP_Error.824 * @param array 823 * @param int|string|WP_Error $approved The approval status. Accepts 1, 0, 'spam' or WP_Error. 824 * @param array $commentdata Comment data. 825 825 */ 826 826 $approved = apply_filters( 'pre_comment_approved', $approved, $commentdata ); … … 2489 2489 * 2490 2490 * @param int $post_id Post ID 2491 * @return bool True on success, false on '0' $post_id or if post with IDdoes not exist.2491 * @return bool True on success, false if the post does not exist. 2492 2492 */ 2493 2493 function wp_update_comment_count_now( $post_id ) { … … 2513 2513 * @since 4.5.0 2514 2514 * 2515 * @param int $new The new comment count. Default null.2516 * @param int $old The old comment count.2517 * @param int $post_id Post ID.2515 * @param int|null $new The new comment count. Default null. 2516 * @param int $old The old comment count. 2517 * @param int $post_id Post ID. 2518 2518 */ 2519 2519 $new = apply_filters( 'pre_wp_update_comment_count_now', null, $old, $post_id );
Note: See TracChangeset
for help on using the changeset viewer.