Proper alternation of category display background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d53401fbd5
commit
ecdec8f8e3
|
@ -106,7 +106,7 @@ function dropdown_categories($default = 0) {
|
|||
|
||||
// Dandy new recursive multiple category stuff.
|
||||
function cat_rows($parent = 0, $level = 0, $categories = 0) {
|
||||
global $wpdb, $bgcolor, $user_level;
|
||||
global $wpdb, $class, $user_level;
|
||||
if (!$categories)
|
||||
$categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_name");
|
||||
|
||||
|
|
Loading…
Reference in New Issue