Opened 4 years ago
Closed 4 years ago
#51650 closed enhancement (duplicate)
Store file size in attachment metadata
Reported by: | spacedmonkey | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | needs-patch needs-unit-tests |
Focuses: | performance | Cc: |
Description
Many popular plugins like Yoast, ACF and Jetpack, use the function filesize
to get the file size of a attachment. This call can be expensive. WordPress should store this file size in post meta where plugins and WordPress core can easily receive this information.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #49412.