Changeset 48322 for trunk/src/wp-includes/IXR/class-IXR-message.php
- Timestamp:
- 07/05/2020 03:20:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/IXR/class-IXR-message.php
r45054 r48322 111 111 112 112 $final = false; 113 113 114 do { 114 115 if (strlen($this->message) <= $chunk_size) { 115 116 $final = true; 116 117 } 118 117 119 $part = substr($this->message, 0, $chunk_size); 118 120 $this->message = substr($this->message, $chunk_size); 121 119 122 if (!xml_parse($this->_parser, $part, $final)) { 123 xml_parser_free($this->_parser); 124 unset($this->_parser); 120 125 return false; 121 126 } 127 122 128 if ($final) { 123 129 break; 124 130 } 125 131 } while (true); 132 126 133 xml_parser_free($this->_parser); 134 unset($this->_parser); 127 135 128 136 // Grab the error messages, if any
Note: See TracChangeset
for help on using the changeset viewer.