Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: https://develop.svn.wordpress.org/trunk@16770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d150dcd964
commit
708aa37730
@ -216,6 +216,7 @@ class IXR_Message
|
||||
xml_set_element_handler($this->_parser, 'tag_open', 'tag_close');
|
||||
xml_set_character_data_handler($this->_parser, 'cdata');
|
||||
$chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages
|
||||
$final = false;
|
||||
do {
|
||||
if (strlen($this->message) <= $chunk_size) {
|
||||
$final = true;
|
||||
|
Loading…
Reference in New Issue
Block a user