[wp-trac] Re: [WordPress Trac] #7422: pass $post_id to filters in sanitize_post_field() on post updates - same for users, etc. (was: pass $post_id to filters in sanitize_post_field() on post updates)

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 30 13:27:57 GMT 2009


#7422: pass $post_id to filters in sanitize_post_field() on post updates - same
for users, etc.
-------------------------+--------------------------------------------------
 Reporter:  whoismanu    |       Owner:  anonymous     
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:                
 Severity:  normal       |    Keywords:  needs-patch   
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  filters sanitize_post_field posting needs-patch => needs-
               patch


Comment:

 the same holds for users and other pieces of data.

 what's usually done instead is you post-process the post (on the save_post
 hook)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7422#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list