[wpmu-trac] [WordPress MU Trac] #503: Old Code with the old
Database Layout in wpmu-functions.php
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Nov 20 17:14:36 GMT 2007
#503: Old Code with the old Database Layout in wpmu-functions.php
------------------------+---------------------------------------------------
Reporter: GIGALinux | Owner: donncha
Type: defect | Status: new
Priority: high | Milestone: WPMU 1.0
Component: component1 | Version: 1.0
Severity: critical | Keywords:
------------------------+---------------------------------------------------
In line 1826 at wpmu-functions.php is old code / code using the old
database layout with wp_x_categories.
{{{
$wpdb->query( "UPDATE $wpdb->categories SET cat_ID = '$global_id' WHERE
cat_ID = '$term_id'" );
$wpdb->query( "UPDATE $wpdb->categories SET category_parent =
'$global_id' WHERE category_parent = '$term_id'" );
}}}
It makes lot of mysql errors.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/503>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list