Opened 6 years ago
Closed 6 years ago
#51650 closed enhancement (duplicate)
Store file size in attachment metadata
| Reported by: | spacedmonkey | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests |
| Cc: | Focuses: | performance |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #49412.