Make WordPress Core


Ignore:
Timestamp:
11/12/2010 08:05:37 PM (13 years ago)
Author:
scribu
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/loop.php

    r16197 r16332  
    142142
    143143            <div class="entry-utility">
    144                 <?php if ( count( get_the_category() ) ) : ?>
     144                <?php if ( count( get_the_categories() ) ) : ?>
    145145                    <span class="cat-links">
    146146                        <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.