[wp-trac] [WordPress Trac] #4532: Saving a post with attachments deletes the post's tags

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 25 08:11:04 GMT 2007


#4532: Saving a post with attachments deletes the post's tags
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:  anonymous                  
     Type:  defect          |      Status:  new                        
 Priority:  normal          |   Milestone:  2.3 (trunk)                
Component:  Administration  |     Version:                             
 Severity:  major           |    Keywords:  has-patch, attachment, tags
----------------------------+-----------------------------------------------
 Saving a post with attachments calls _fix_attachment_links, which in turn
 calls wp_update_post, which calls wp_get_single_post, which does not
 return the tags_input values, so the tags get erased.

 My patch gets the tags for wp_get_single_post, which requires an
 adjustment to the terms api that allows one to request the terms' names.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4532>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list