From 77fb496bc65f2bbf219a7415ca9883a02ce3d1e0 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 30 Apr 2007 03:32:33 +0000 Subject: [PATCH] Don't use deprecated category API. git-svn-id: https://develop.svn.wordpress.org/trunk@5349 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 26daf372e2..08d8a65d58 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -534,7 +534,7 @@ function wp_widget_categories($args) { echo $before_widget; echo $before_title . $title . $after_title; - $cat_args = "sort_column=name&optioncount={$c}&hierarchical={$h}"; + $cat_args = "orderby=name&show_count={$c}&hierarchical={$h}"; if($d) { wp_dropdown_categories($cat_args); @@ -552,7 +552,7 @@ function wp_widget_categories($args) { } else { ?>