Changeset 48322
- Timestamp:
- 07/05/2020 03:20:16 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link-parse-opml.php
r47785 r48322 95 95 // Free up memory used by the XML parser. 96 96 xml_parser_free( $xml_parser ); 97 unset( $xml_parser ); -
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 -
trunk/src/wp-includes/atomlib.php
r45932 r48322 183 183 184 184 xml_parser_free($parser); 185 unset($parser); 185 186 186 187 restore_error_handler(); -
trunk/src/wp-includes/feed.php
r48200 r48322 565 565 $code = xml_get_error_code( $parser ); 566 566 xml_parser_free( $parser ); 567 unset( $parser ); 567 568 568 569 if ( ! $code ) { -
trunk/src/wp-includes/rss.php
r47902 r48322 95 95 96 96 xml_parser_free( $this->parser ); 97 unset( $this->parser ); 97 98 98 99 $this->normalize();
Note: See TracChangeset
for help on using the changeset viewer.