Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25170, comment 6


Ignore:
Timestamp:
09/07/2013 05:01:44 AM (11 years ago)
Author:
helen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25170, comment 6

    initial v1  
    1 I don't mind this, and it is more of an average user thing than mime-type (which we do show), but I'm not super sure we *need* it, either. What makes this the most important piece of data?
     1I don't mind this, and it is more of an average user thing than stuff like mime-type (which we do show), but I'm not super sure we *need* it, either. What makes this the most important piece of data?
    22
    33Patch-wise, since filesize() could possibly return false, I might suggest getting the file size and making sure it's something worth showing before any output.