Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407

git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu
2010-11-12 20:05:37 +00:00
parent 18116f12c6
commit 98cda5bd65
7 changed files with 31 additions and 31 deletions

View File

@@ -596,7 +596,7 @@ class WP_Posts_List_Table extends WP_List_Table {
case 'categories':
?>
<td <?php echo $attributes ?>><?php
$categories = get_the_category();
$categories = get_the_categories();
if ( !empty( $categories ) ) {
$out = array();
foreach ( $categories as $c ) {