Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36635


Ignore:
Timestamp:
04/22/2016 05:08:05 PM (8 years ago)
Author:
swissspidy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36635 – Description

    initial v1  
    1 When you invoke size_format(0) function with zero value it should return '''0 B''' instead it returns '''false''' which is wrong. For example when you are looping files and some of them is zero byte file it will return false and will brake the UI if function is directly used in the view (most cases).
     1When you invoke `size_format(0)` function with zero value it should return `0 B` instead it returns `false` which is wrong. For example when you are looping files and some of them is zero byte file it will return `false` and will break the UI if function is directly used in the view (most cases).