[wp-trac] [WordPress Trac] #29957: Hardcoded value of $chunk_size variable in class-IXR.php in wp-includes

WordPress Trac noreply at wordpress.org
Wed Oct 14 05:31:40 UTC 2015


#29957: Hardcoded value of $chunk_size variable in class-IXR.php in wp-includes
--------------------------+-----------------------------
 Reporter:  ankit.gade@…  |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  XML-RPC       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+-----------------------------

Comment (by ankit.gade@…):

 Replying to [comment:10 dd32]:
 > This change feels confusing referencing memory in the way that it does,
 it's also not really a memory limit as the code now reflects.
 >
 > I'd probably suggest something odd and vague would be a better option
 here, `xmlrpc_chunk_parsing_size` or similar.


 Word ''Memory'' has been used because $chunk_size is basically used to
 deal with efficient RAM usage, but I also agree with you that it may lead
 to confusion.

 I have changed the name of filter and added revised patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29957#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list