[wp-trac] [WordPress Trac] #43638: Introducing 'sanitize_post' filter
WordPress Trac
noreply at wordpress.org
Wed Mar 27 11:51:51 UTC 2019
#43638: Introducing 'sanitize_post' filter
-------------------------------------------------+-------------------------
Reporter: enrico.sorcinelli | Owner:
| SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.3
Component: Posts, Post Types | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests reporter- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests reporter-
feedback
Comment:
Replying to [ticket:43638 enrico.sorcinelli]:
> I was trying to do a post field sanitization on new post insertions that
depended on the value of another field.
What about using the
[https://developer.wordpress.org/reference/hooks/wp_insert_post_data/
wp_insert_post_data] filter for that? Just want to make sure I understand
the use case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43638#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list