[wp-trac] [WordPress Trac] #19067: Duplicate functionality in core: size_format() and wp_convert_bytes_to_hr()
WordPress Trac
noreply at wordpress.org
Wed Jan 9 18:28:38 UTC 2013
#19067: Duplicate functionality in core: size_format() and wp_convert_bytes_to_hr()
----------------------------------------+-----------------------
Reporter: l3rady | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.6
Component: General | Version: 3.2.1
Severity: trivial | Resolution:
Keywords: has-patch 3.6-early commit |
----------------------------------------+-----------------------
Changes (by SergeyBiryukov):
* milestone: Future Release => 3.6
Comment:
In [22073], `wp_convert_bytes_to_hr()` was moved to `wp-
includes/media.php` along with `wp_convert_hr_to_bytes()`. Unlike the
latter, which is used in `wp_max_upload_size()`, the former is only used
in `wp_import_upload_form()`, so it can still go `wp-
admin/includes/deprecated.php` rather than `wp-includes/deprecated.php`.
Refreshed after [22073], fixed a typo in line 867 of the previous patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19067#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list