[wp-trac] [WordPress Trac] #22295: wp_convert_bytes_to_hr : annoying notice if 0 bytes and deprecated or not ?

WordPress Trac noreply at wordpress.org
Sat Oct 27 11:33:03 UTC 2012


#22295: wp_convert_bytes_to_hr : annoying notice if 0 bytes and deprecated or not ?
--------------------------+------------------------------
 Reporter:  michelwppi    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close


Comment:

 > wp_convert_bytes_to_hr will be soon deprecated. Is it possible to do
 that and replace this function by size_format() in wp_import_upload_form()

 The patch on #19067 does exactly that. Suggest closing as a duplicate of
 that ticket, unless we also want to fix the notice in
 `wp_convert_bytes_to_hr()`.

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


More information about the wp-trac mailing list