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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-08-18 17:21:51 +00:00
parent 4f183b4fe7
commit b4cd7ba224

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;
}