From 5d63788d9a063cd44dd286a6148d02b6bb899890 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 20 Oct 2015 05:19:25 +0000 Subject: [PATCH] XML-RPC: after [35095], change the name of the `xmlrpc_memory_limit` filter to `xmlrpc_chunk_parsing_size`. Props ankit.gade. Fixes #29957. Built from https://develop.svn.wordpress.org/trunk@35279 git-svn-id: http://core.svn.wordpress.org/trunk@35245 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-IXR.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index 9109cbd4d6..485f63eb5d 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -271,14 +271,15 @@ class IXR_Message // 256Kb, parse in chunks to avoid the RAM usage on very large messages $xmlrpc_memory_limit = 262144; + /** - * Filter the maximum memory 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 * * @param int $xmlrpc_memory_limit Default value of memory allotted. */ - $chunk_size = apply_filters( 'xmlrpc_memory_limit', $xmlrpc_memory_limit ); + $chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $xmlrpc_memory_limit ); $final = false; do { diff --git a/wp-includes/version.php b/wp-includes/version.php index 62ec2c9f78..e15f4b980d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35278'; +$wp_version = '4.4-alpha-35279'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.