WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/16/2013 03:07:56 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Deprecate wp_convert_bytes_to_hr() in favor of size_format(). props F J Kaiser. fixes #19067.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r23416 r23439  
    777777function wp_import_upload_form( $action ) {
    778778    $bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() );
    779     $size = wp_convert_bytes_to_hr( $bytes );
     779    $size = size_format( $bytes );
    780780    $upload_dir = wp_upload_dir();
    781781    if ( ! empty( $upload_dir['error'] ) ) :
Note: See TracChangeset for help on using the changeset viewer.