Make WordPress Core

Changeset 2693 for trunk/xmlrpc.php


Ignore:
Timestamp:
07/03/2005 06:33:03 PM (21 years ago)
Author:
ryan
Message:

XMLRPC category fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r2680 r2693  
    149149        function blogger_getUsersBlogs($args) {
    150150
     151          logIO('O', " User login :  {$args[1]}");
     152          logIO('O', " User pass :  {$args[2]}");
     153
    151154                $this->escape($args);
    152155
    153156          $user_login = $args[1];
    154157          $user_pass  = $args[2];
     158
     159          logIO('O', " User login :  $user_login");
     160          logIO('O', " User pass :  $user_pass");
    155161
    156162          if (!$this->login_pass_ok($user_login, $user_pass)) {
     
    563569              $post_category[] = get_cat_ID($cat);
    564570            }
    565           } else if ( !empty($catnames) ) {
    566                         $post_category = array(get_cat_ID($catnames));
    567                 }
     571          }
    568572               
    569573          // We've got all the data -- post it:
     
    618622              $post_category[] = get_cat_ID($cat);
    619623            }
    620           } else if ( !empty($catnames) ) {
    621                         $post_category = array(get_cat_ID($catnames));
    622                 }
     624          }
    623625
    624626          $post_excerpt = $content_struct['mt_excerpt'];
Note: See TracChangeset for help on using the changeset viewer.