Changeset 2957

Show
Ignore:
Timestamp:
10/20/05 16:38:07 (3 years ago)
Author:
ryan
Message:

Fix typo in blogger_editPost(). Don't invoke content_save_pre since that is done by the insert/update functions. fixes #1777

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/xmlrpc.php

    r2846 r2957  
    380380      $post_title = xmlrpc_getposttitle($content); 
    381381      $post_category = xmlrpc_getpostcategory($content); 
    382  
    383       $content = xmlrpc_removepostdata($content); 
    384       $post_content = apply_filters( 'content_save_pre', $content ); 
     382      $post_content = xmlrpc_removepostdata($content); 
    385383 
    386384      $post_date = current_time('mysql'); 
     
    411409      $user_login  = $args[2]; 
    412410      $user_pass   = $args[3]; 
    413       $new_content = $args[4]; 
     411      $content    = $args[4]; 
    414412      $publish     = $args[5]; 
    415413 
     
    432430      extract($actual_post); 
    433431 
    434       $content = $newcontent; 
    435  
    436432      $post_title = xmlrpc_getposttitle($content); 
    437433      $post_category = xmlrpc_getpostcategory($content); 
    438  
    439       $content = xmlrpc_removepostdata($content); 
    440       $post_content = apply_filters( 'content_save_pre', $content ); 
     434      $post_content = xmlrpc_removepostdata($content); 
    441435 
    442436      $postdata = compact('ID', 'post_content', 'post_title', 'post_category', 'post_status', 'post_excerpt');