WordPress.org

Make WordPress Core

Ticket #15703: 15703.diff

File 15703.diff, 741 bytes (added by kapeels, 3 years ago)
  • class-IXR.php

    # Following Index: paths are relative to: /var/www/html/wordpress-trunk/trunk/wp-includes
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    217217        xml_set_character_data_handler($this->_parser, 'cdata'); 
    218218        $chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages 
    219219        do { 
     220            $final  =   false; 
    220221            if (strlen($this->message) <= $chunk_size) { 
    221222                $final = true; 
    222223            }