[wp-trac] [WordPress Trac] #16593: wp_set_object_terms not creating links when in a save_post action

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 25 19:44:49 UTC 2011


#16593: wp_set_object_terms not creating links when in a save_post action
-------------------------------+------------------------------
 Reporter:  grandslambert      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.0.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by nacin):

 save_post runs for both. You need to check the post type of the post
 passed in, and bail for revisions. The regular post runs second I think.

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


More information about the wp-trac mailing list