- Timestamp:
- 06/26/2020 06:47:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r48154 r48185 683 683 * 684 684 * Allows modification of the comment right before it is inserted via wp_insert_comment(). 685 * Returning a WP_Error value from the filter will short circuit insertion and allow685 * Returning a WP_Error value from the filter will short-circuit insertion and allow 686 686 * skipping further processing. 687 687 * 688 688 * @since 4.7.0 689 * @since 4.8.0 `$prepared_comment` can now be a WP_Error to short circuit insertion.689 * @since 4.8.0 `$prepared_comment` can now be a WP_Error to short-circuit insertion. 690 690 * 691 691 * @param array|WP_Error $prepared_comment The prepared comment data for wp_insert_comment().
Note: See TracChangeset
for help on using the changeset viewer.