Changeset 5722

Show
Ignore:
Timestamp:
06/18/07 00:19:15 (1 year ago)
Author:
ryan
Message:

escape before extracting. Props Alexander Concha.

Files:

Legend:

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

    r5670 r5722  
    850850        return new IXR_Error(401, __('Sorry, you do not have the right to edit this post.')); 
    851851 
    852       extract($actual_post); 
     852      extract($actual_post, EXTR_SKIP); 
    853853 
    854854      if ( ('publish' == $post_status) && !current_user_can('publish_posts') ) 
     
    11281128        } 
    11291129 
    1130       extract($postdata); 
    11311130        $this->escape($postdata); 
     1131        extract($postdata, EXTR_SKIP); 
    11321132 
    11331133        // Let WordPress manage slug if none was provided.