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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user