Changeset 1920

Show
Ignore:
Timestamp:
12/08/04 02:35:53 (4 years ago)
Author:
rboren
Message:

s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions-post.php

    r1892 r1920  
    168168    $newbies = printr($post_categories,1); 
    169169 
    170     logio("O","Old: $oldies\nNew: $newbies\n"); 
    171  
    172170    // Delete any? 
    173171    $delete_cats = array_diff($old_categories,$post_categories); 
    174172 
    175     logio("O","Delete: " . printr($delete_cats,1)); 
    176          
    177173    if ($delete_cats) { 
    178174        foreach ($delete_cats as $del) { 
     
    182178                    AND post_id = $post_ID  
    183179                "); 
    184  
    185             logio("O","deleting post/cat: $post_ID, $del"); 
    186180        } 
    187181    } 
     
    190184    $add_cats = array_diff($post_categories, $old_categories); 
    191185 
    192     logio("O","Add: " . printr($add_cats,1)); 
    193          
    194186    if ($add_cats) { 
    195187        foreach ($add_cats as $new_cat) { 
     
    197189                INSERT INTO $wpdb->post2cat (post_id, category_id)  
    198190                VALUES ($post_ID, $new_cat)"); 
    199  
    200                 logio("O","adding post/cat: $post_ID, $new_cat"); 
    201191        } 
    202192    } 
  • trunk/xmlrpc.php

    r1833 r1920  
    520520 
    521521      $catnames = $content_struct['categories']; 
    522       logio('O', 'Post cats: ' . printr($catnames,true)); 
     522      logIO('O', 'Post cats: ' . printr($catnames,true)); 
    523523      $post_category = array(); 
    524524