Add back compat to get_the_category. Props nbachiyski. fixes #4771

git-svn-id: https://develop.svn.wordpress.org/trunk@5899 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-08-18 17:21:51 +00:00
parent 635b23fc1c
commit df22fd9a58
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ function get_the_category($id = false) {
else
$categories = array();
foreach(array_keys($categories) as $key) {
_make_cat_compat($categories[$key]);
}
return $categories;
}