Commit b4cd7ba2 authored by ryan's avatar ryan

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
parent 4f183b4f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment