Update variable naming after [35279].
See #29957. Built from https://develop.svn.wordpress.org/trunk@35364 git-svn-id: http://core.svn.wordpress.org/trunk@35329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
90ff454ec2
commit
a49062c2db
|
@ -270,16 +270,16 @@ class IXR_Message
|
|||
xml_set_character_data_handler($this->_parser, 'cdata');
|
||||
|
||||
// 256Kb, parse in chunks to avoid the RAM usage on very large messages
|
||||
$xmlrpc_memory_limit = 262144;
|
||||
$chunk_size = 262144;
|
||||
|
||||
/**
|
||||
* Filter the chunk size that can be used to parse an XML-RPC reponse message.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param int $xmlrpc_memory_limit Default value of memory allotted.
|
||||
* @param int $chunk_size Chunk size to parse in bytes.
|
||||
*/
|
||||
$chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $xmlrpc_memory_limit );
|
||||
$chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $chunk_size );
|
||||
|
||||
$final = false;
|
||||
do {
|
||||
|
|
Loading…
Reference in New Issue