[wp-trac] [WordPress Trac] #7422: pass $post_id to filters in sanitize_post_field() on post updates - same for users, etc.
WordPress Trac
noreply at wordpress.org
Sun Feb 2 07:29:12 UTC 2014
#7422: pass $post_id to filters in sanitize_post_field() on post updates - same
for users, etc.
------------------------------------------------+--------------------------
Reporter: whoismanu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Posts, Post Types | Release
Severity: normal | Version:
Keywords: has-patch needs-testing gsoc close | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Changes (by jeremyfelt):
* keywords: has-patch needs-testing gsoc => has-patch needs-testing gsoc
close
* component: Administration => Posts, Post Types
Comment:
It seems like this behavior was added with intent in [5796] via #4546,
hence the separation of context.
That said, it also seems like this could also be accomplished (as
mentioned above) on a save_post hook instead.
Suggesting wontfix
--
Ticket URL: <https://core.trac.wordpress.org/ticket/7422#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list