[wp-trac] [WordPress Trac] #10821: Taxonomy problem with deleting posts

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 1 07:00:05 UTC 2009


#10821: Taxonomy problem with deleting posts
--------------------------+-------------------------------------------------
 Reporter:  pavelevap     |        Owner:  filosofo
     Type:  defect (bug)  |       Status:  reopened
 Priority:  high          |    Milestone:  2.9     
Component:  Taxonomy      |      Version:  2.8     
 Severity:  major         |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 wp_delete_attachment() needs the same treatment.

 Also {{{get_object_taxonomies($post->post_type)}}} is better suited, as
 the function already handles posts/pages, and will handle custom post
 types this way.

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


More information about the wp-trac mailing list