~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/class-IXR.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
    {
169
169
        $expected = 0;
170
170
        foreach ($array as $key => $value) {
171
 
            if ((string)$key != (string)$expected) {
 
171
            if ((string)$key !== (string)$expected) {
172
172
                return true;
173
173
            }
174
174
            $expected++;
249
249
        $element_limit = 30000;
250
250
        if ( function_exists( 'apply_filters' ) ) {
251
251
            /**
252
 
             * Filter the number of elements to parse in an XML-RPC response.
 
252
             * Filters the number of elements to parse in an XML-RPC response.
253
253
             *
254
254
             * @since 4.0.0
255
255
             *
273
273
        $chunk_size = 262144;
274
274
 
275
275
        /**
276
 
         * Filter the chunk size that can be used to parse an XML-RPC reponse message.
 
276
         * Filters the chunk size that can be used to parse an XML-RPC reponse message.
277
277
         *
278
278
         * @since 4.4.0
279
279
         *