[wp-trac] [WordPress Trac] #9073: wp_insert_post_data should allow to modify categories and tags too

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 19:27:51 UTC 2009


#9073: wp_insert_post_data should allow to modify categories and tags too
-------------------------------------+--------------------------------------
 Reporter:  sirzooro                 |        Owner:  anonymous
     Type:  enhancement              |       Status:  reopened 
 Priority:  normal                   |    Milestone:  2.9      
Component:  General                  |      Version:  2.7      
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by sirzooro):

  * keywords:  needs-patch => has-patch needs-testing
  * milestone:  Future Release => 2.9


Comment:

 Attached patch adds three filters to `wp_insert_post()`:
 `wp_insert_post_category`, `wp_insert_post_tags` and `wp_insert_post_tax`.
 They can be used by plugins to modify categories, tags (passed in pre-
 WP2.8 way) and taxonomies.

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


More information about the wp-trac mailing list