Make WordPress Core


Ignore:
Timestamp:
08/10/2004 05:35:59 AM (22 years ago)
Author:
rboren
Message:

Static pages. Take 1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-category.php

    r1486 r1527  
    6565function the_category($seperator = '', $parents='') {
    6666    $categories = get_the_category();
     67    if (empty($categories)) {
     68        _e('Uncategorized');
     69        return;
     70    }
     71
    6772    $thelist = '';
    6873    if ('' == $seperator) {
Note: See TracChangeset for help on using the changeset viewer.