Changeset 5768

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/wp-includes/version.php

    r5738 r5768  
    33// This just holds the version number, in a separate file so we can bump it without cluttering the SVN 
    44 
    5 $wp_version = '2.0.11-RC4'; 
     5$wp_version = '2.0.11-RC5'; 
    66$wp_db_version = 3441; 
    77 
  • 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'];