mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 17:13:30 +01:00
wp_prepare_attachment_for_js()
, don't call file_exists()
and filesize()
to retrieve $bytes
if the data is already present in $meta
. This is how the same code in attachment_submitbox_metadata()
already works.
Props polevaultweb. Fixes #33214. git-svn-id: https://develop.svn.wordpress.org/trunk@34258 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.5%
CSS
8.9%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%