Skip to content
Commit 5712fe29 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Comments: Add a `@since` note to the `wp_update_comment_data` filter about...

Comments: Add a `@since` note to the `wp_update_comment_data` filter about returning a `WP_Error` value.

Remove the ability to short-circuit comment update by returning `false` from the filter for now.

This was inconsistent with the `pre_comment_approved` filter, and should not be necessary if a more descriptive reason can be given by always using `WP_Error`.

See #39732.
Built from https://develop.svn.wordpress.org/trunk@48230


git-svn-id: https://core.svn.wordpress.org/trunk@47999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 491b841c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment