[wp-trac] [WordPress Trac] #19067: Duplicate functionality in core: size_format() and wp_convert_bytes_to_hr()

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 27 14:46:51 UTC 2011


#19067: Duplicate functionality in core: size_format() and wp_convert_bytes_to_hr()
-------------------------+------------------------------
 Reporter:  l3rady       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by F J Kaiser):

 Replying to [comment:4 l3rady]:
 > possibility that we can add a third argument to `size_format()` and
 adjust function to be able to do the job of `wp_convert_hr_to_bytes()`?
 That way we can depreciate both `wp_convert_bytes_to_hr()` and
 `wp_convert_hr_to_bytes()`

 Should be task of another ticket. If you create one, please link over
 here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19067#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list