[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
Fri Oct 28 10:31:39 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:  Future Release
Component:  General           |     Version:  3.2.1
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 > `@deprecated in favor of size_format()`

 `@deprecated` tag usually shows the WP version which the function was
 deprecated in. For most functions in `deprecated.php`, there are two tags,
 for example:
 {{{
 @deprecated 3.3
 @deprecated Use size_format()
 }}}

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


More information about the wp-trac mailing list