Show
Ignore:
Timestamp:
06/27/07 08:22:02 (1 year ago)
Author:
markjaquith
Message:

escape before extracting. Props Alexander Concha.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/xmlrpc.php

    r5099 r5768  
    432432        return new IXR_Error(401, 'Sorry, you do not have the right to edit this post.'); 
    433433 
    434       extract($actual_post); 
     434      extract($actual_post, EXTR_SKIP); 
    435435 
    436436      if ( ('publish' == $post_status) && !current_user_can('publish_posts') ) 
     
    598598 
    599599      $postdata = wp_get_single_post($post_ID, ARRAY_A); 
    600       extract($postdata); 
    601600        $this->escape($postdata); 
     601        extract($postdata, EXTR_SKIP); 
    602602 
    603603      $post_title = $content_struct['title'];