[wp-trac] [WordPress Trac] #55376: Use wp_filesize in core
WordPress Trac
noreply at wordpress.org
Thu Jun 5 13:42:37 UTC 2025
#55376: Use wp_filesize in core
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
refresh changes-requested |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* keywords: good-first-bug has-patch => good-first-bug has-patch needs-
refresh changes-requested
Comment:
I reviewed @ankitkumarshah's PR on GitHub. To summarize here:
- The PR does not address all occurrences of `filesize()` (minus the file
system/update related ones noted by @SergeyBiryukov above).
- Changes an instance within the `class-snoopy.php` file, which has been
deprecated since WP `3.0`. There's on benefit to updating this file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55376#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list