[wp-trac] Re: [WordPress Trac] #4702: Fatal error when making child category

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 24 18:40:28 GMT 2007

#4702: Fatal error when making child category
 Reporter:  Viper007Bond           |        Owner:  ryan
     Type:  defect                 |       Status:  new 
 Priority:  highest omg bbq        |    Milestone:  2.3 
Component:  Administration         |      Version:  2.3 
 Severity:  blocker                |   Resolution:      
 Keywords:  has-patch 2nd-opinion  |  
Comment (by ryan):

 The call to get_category in wp_insert_category take the category ID as a
 ref.  It then assigns the retrieved object to it, thus changing the id to
 an object.  That ref is pretty useless.  Let's remove it. Also,
 category_exists would be a better way to check the cat.

Ticket URL: <http://trac.wordpress.org/ticket/4702#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list