After upgrading from wp2.1.3 to 2.2.2 the links/blogrolls didn’t show up, instead I got the following sql-error:
WordPress database error: [Unknown column ‘name’ in ‘order clause’]
SELECT * FROM wp_categories WHERE cat_ID > 0 AND link_count > 0 ORDER BY name ASC
After tracking down the problem I found the modified function call
extract($r, EXTR_SKIP); in category.php:get_categories to be the reason.
In wp 2.1.3 the EXTR_SKIP Parameter is not used.
So I’m not sure if this is really a bug or if there is another reason, why the variable $orderby already exists with a (wrong) value of ‘name’?
(I am runnung wp with PHP-4.3.2)
Somebody else has seen this?