[wp-trac] [WordPress Trac] #17725: wp_convert_hr_to_bytes() fails on large numeric values

WordPress Trac noreply at wordpress.org
Sun Dec 28 11:20:17 UTC 2014


#17725: wp_convert_hr_to_bytes() fails on large numeric values
---------------------------+------------------------------
 Reporter:  hakre          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Formatting     |     Version:  2.3
 Severity:  trivial        |  Resolution:
 Keywords:  needs-refresh  |     Focuses:
---------------------------+------------------------------

Comment (by miqrogroove):

 http://php.net/manual/en/ini.core.php

 This even specifies a signed integer limit on post_max_size >
 upload_max_filesize, both of which are directly referenced in
 wp_max_upload_size().

 The description, "It shows that the last byte is missing," is invalid
 considering PHP will limit the post payload to 2GB - 1 in that situation.

 I vote wontfix.  However, it might be helpful to update the docs to
 indicate this function is specifically tied to the INI syntax and
 corresponding limitations.

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


More information about the wp-trac mailing list