Make WordPress Core


Ignore:
Timestamp:
07/03/2005 01:03:13 AM (19 years ago)
Author:
ryan
Message:

Another attempt to fix xmlrpc category handling for ecto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/xmlrpc.php

    r2679 r2690  
    563563          $post_category[] = get_cat_ID($cat);
    564564        }
    565       } else if ( !empty($catnames) ) {
    566             $post_category = array(get_cat_ID($catnames));
    567         }
     565      }
    568566       
    569567      // We've got all the data -- post it:
     
    621619          $post_category[] = get_cat_ID($cat);
    622620        }
    623       } else if ( !empty($catnames) ) {
    624             $post_category = array(get_cat_ID($catnames));
    625         }
     621      }
    626622
    627623      $post_excerpt = $content_struct['mt_excerpt'];
Note: See TracChangeset for help on using the changeset viewer.