Make WordPress Core

Changeset 1109


Ignore:
Timestamp:
04/20/2004 11:03:09 PM (21 years ago)
Author:
saxmatt
Message:

A few typos.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r1108 r1109  
    413413function get_catname($cat_ID) {
    414414    global $tablecategories, $cache_catnames, $wpdb;
    415     if ( !$cache_catnames) ) {
     415    if ( !$cache_catnames ) {
    416416        $results = $wpdb->get_results("SELECT * FROM $tablecategories") or die('Oops, couldn\'t query the db for categories.');
    417417        foreach ($results as $post) {
  • trunk/wp-includes/template-functions-category.php

    r1108 r1109  
    114114function get_the_category_by_ID($cat_ID) {
    115115    global $tablecategories, $cache_categories, $wpdb;
    116     if ( !$cache_categories[$cat_ID]) ) {
     116    if ( !$cache_categories[$cat_ID] ) {
    117117        $cat_name = $wpdb->get_var("SELECT cat_name FROM $tablecategories WHERE cat_ID = '$cat_ID'");
    118118        $cache_categories[$cat_ID]->cat_name = $cat_name;
     
    331331                $link .= '<a href="' . get_category_rss_link(0, $category->cat_ID, $category->category_nicename)  . '"';
    332332
    333                 if (! empty($feed)) {
     333                if ( !empty($feed) ) {
    334334                    $title =  ' title="' . stripslashes($feed) . '"';
    335335                    $alt = ' alt="' . stripslashes($feed) . '"';
Note: See TracChangeset for help on using the changeset viewer.