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:
Dion Hulse 2015-10-23 02:01:25 +00:00
parent 90ff454ec2
commit a49062c2db
1 changed files with 3 additions and 3 deletions

View File

@ -270,16 +270,16 @@ class IXR_Message
xml_set_character_data_handler($this->_parser, 'cdata'); xml_set_character_data_handler($this->_parser, 'cdata');
// 256Kb, parse in chunks to avoid the RAM usage on very large messages // 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. * Filter the chunk size that can be used to parse an XML-RPC reponse message.
* *
* @since 4.4.0 * @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; $final = false;
do { do {