Make WordPress Core

Changeset 13207


Ignore:
Timestamp:
02/19/2010 12:28:23 AM (15 years ago)
Author:
ryan
Message:

Fix double escaping in wp_getComments. Props josephscott. fixes #12281 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r13004 r13207  
    10761076     */
    10771077    function wp_getComments($args) {
     1078        $raw_args = $args;
    10781079        $this->escape($args);
    10791080
     
    11181119        for ( $i = 0; $i < $num_comments; $i++ ) {
    11191120            $comment = wp_xmlrpc_server::wp_getComment(array(
    1120                 $blog_id, $username, $password, $comments[$i]->comment_ID,
     1121                $raw_args[0], $raw_args[1], $raw_args[2], $comments[$i]->comment_ID,
    11211122            ));
    11221123            $comments_struct[] = $comment;
Note: See TracChangeset for help on using the changeset viewer.