Make WordPress Core


Ignore:
Timestamp:
12/05/2003 09:41:27 AM (23 years ago)
Author:
saxmatt
Message:

Beta multiple category support. Major style changes. You can now add, delete, edit categories through the admin interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2template.functions.php

    r570 r572  
    12481248                echo '<ul class="post-categories">';
    12491249                foreach ($categories as $category) {
     1250                        $category->cat_name = stripslashes($category->cat_name);
    12501251                        echo "\n\t<li><a href='" . get_category_link(0, $category->category_id) . "' title='View all posts in $category->cat_name'>$category->cat_name</a></li>";
    12511252                }
    … …  
    12541255                $i = 0;
    12551256                foreach ($categories as $category) {
     1257                        $category->cat_name = stripslashes($category->cat_name);
    12561258                        if (0 < $i) echo $seperator . ' ';
    12571259                        echo "<a href='" . get_category_link(0, $category->category_id) . "' title='View all posts in $category->cat_name'>$category->cat_name</a>";
Note: See TracChangeset for help on using the changeset viewer.