Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4cfb079fc5
commit
c697ff4926
|
@ -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