Fix typo in upgrade_100(). props tivnet, bpetty. fixes #24020.

git-svn-id: https://develop.svn.wordpress.org/trunk@23949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-04-10 16:04:36 +00:00
parent 6b040372c1
commit 021c744c82

View File

@ -433,7 +433,7 @@ function upgrade_100() {
foreach ($categories as $category) {
if ('' == $category->category_nicename) {
$newtitle = sanitize_title($category->cat_name);
$wpdb>update( $wpdb->categories, array('category_nicename' => $newtitle), array('cat_ID' => $category->cat_ID) );
$wpdb->update( $wpdb->categories, array('category_nicename' => $newtitle), array('cat_ID' => $category->cat_ID) );
}
}