[wp-trac] Re: [WordPress Trac] #5372: Wrong category on post insertion

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 20 23:21:10 GMT 2007


#5372: Wrong category on post insertion
---------------------+------------------------------------------------------
 Reporter:  malaiac  |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.5      
Component:  General  |      Version:           
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by ryan):

 Current trunk adds an is_wp_error() check on $id.

 http://trac.wordpress.org/browser/trunk/wp-includes/taxonomy.php#L1141

 2.3.1 lacks this check, which could explain the bad id.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5372#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list