[wp-trac] [WordPress Trac] #27229: Display image file size in media uploader when uploaded
WordPress Trac
noreply at wordpress.org
Wed Apr 2 04:49:54 UTC 2014
#27229: Display image file size in media uploader when uploaded
----------------------------------------+---------------------------------
Reporter: noumaan | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: ui, administration
----------------------------------------+---------------------------------
Comment (by Tmeister):
Hi guys,
Well this is my first intent to contribution to the core and this ticket
is great to start on.
I've added some lines ( [https://github.com/Tmeister/wordpress-
dev/commit/e066b003ec57778432ab3bd6d9f9923afbf3d3e4 here is the temporal
commit] ) to add this featured according to the last screenshot but i have
one question before to upload the patch.
[https://github.com/Tmeister/wordpress-
dev/blob/e066b003ec57778432ab3bd6d9f9923afbf3d3e4/src/wp-
includes/media.php#L2290 In this line], the function
`wp_prepare_attachment_for_js` use the filter `image_downsize`, should i
consider this to add the filesize too? i think i should.
What do you think?
Thanks!!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27229#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list