Make WordPress Core

Changeset 35279


Ignore:
Timestamp:
10/20/2015 05:18:15 AM (9 years ago)
Author:
wonderboymusic
Message:

XML-RPC: after [35095], change the name of the xmlrpc_memory_limit filter to xmlrpc_chunk_parsing_size.

Props ankit.gade.
Fixes #29957.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-IXR.php

    r35095 r35279  
    272272        // 256Kb, parse in chunks to avoid the RAM usage on very large messages
    273273        $xmlrpc_memory_limit = 262144;
     274
    274275        /**
    275          * Filter the maximum memory that can be used to parse an XML-RPC reponse message.
     276         * Filter the chunk size that can be used to parse an XML-RPC reponse message.
    276277         *
    277278         * @since 4.4.0
     
    279280         * @param int $xmlrpc_memory_limit Default value of memory allotted.
    280281         */
    281         $chunk_size = apply_filters( 'xmlrpc_memory_limit', $xmlrpc_memory_limit );
     282        $chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $xmlrpc_memory_limit );
    282283
    283284        $final = false;
Note: See TracChangeset for help on using the changeset viewer.