WordPress/wp-admin/includes
Peter Wilson 5cbec1348b Media: Update file size meta data when editing images.
Fixes an error in which the file size meta data retained the original upload's values follow a user editing the images in the media screen.

The original images' file sizes are now stored in the backup image data to allow for them to be restored when a user restores the original image.


Props ankit-k-gupta, antpb, audrasjb, chaion07, gauravsingh7, joedolson, oglekler, pls78, rajinsharwar, sayedulsayem, vertisoft.
Fixes #59684.

Built from https://develop.svn.wordpress.org/trunk@59202


git-svn-id: http://core.svn.wordpress.org/trunk@58597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-09 23:32:21 +00:00
..
admin-filters.php
admin.php
ajax-actions.php Bootstrap/Load: Ensure uses of set_time_limit are documented why. 2024-09-17 22:41:13 +00:00
bookmark.php
class-automatic-upgrader-skin.php
class-bulk-plugin-upgrader-skin.php
class-bulk-theme-upgrader-skin.php
class-bulk-upgrader-skin.php
class-core-upgrader.php Docs: Fix note about not using new functions in update-core.php and class-core-upgrader.php. 2024-10-05 23:25:12 +00:00
class-custom-background.php Docs: Correct the order of @since and @var annotations. 2024-09-06 14:36:19 +00:00
class-custom-image-header.php Docs: Correct the order of @since and @var annotations. 2024-09-06 14:36:19 +00:00
class-file-upload-upgrader.php
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php
class-pclzip.php
class-plugin-installer-skin.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-theme-installer-skin.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-theme-upgrader-skin.php
class-theme-upgrader.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-walker-category-checklist.php Bulk/Quick Edit: Remove duplicate HTML IDs from post list tables. 2024-08-13 23:37:16 +00:00
class-walker-nav-menu-checklist.php
class-walker-nav-menu-edit.php
class-wp-ajax-upgrader-skin.php
class-wp-application-passwords-list-table.php
class-wp-automatic-updater.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-wp-comments-list-table.php Coding Standards: Bring some consistency to setting up comment moderation links. 2024-08-12 21:28:13 +00:00
class-wp-community-events.php
class-wp-debug-data.php WP_Debug_Data: Extract wp-themes data into separate methods. 2024-10-05 19:23:15 +00:00
class-wp-filesystem-base.php
class-wp-filesystem-direct.php
class-wp-filesystem-ftpext.php
class-wp-filesystem-ftpsockets.php
class-wp-filesystem-ssh2.php
class-wp-importer.php
class-wp-internal-pointers.php
class-wp-links-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Quick/Bulk Edit: Add notice if no items selected. 2024-09-30 18:24:13 +00:00
class-wp-media-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-sites-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-themes-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-users-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-plugin-install-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-plugins-list-table.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Docs: Correct parameter reference for manage_posts_columns and related filters. 2024-09-09 14:37:17 +00:00
class-wp-privacy-data-export-requests-list-table.php
class-wp-privacy-data-removal-requests-list-table.php
class-wp-privacy-policy-content.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-privacy-requests-table.php
class-wp-screen.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
class-wp-site-health-auto-updates.php Site Health: Check if the directories are allowed when testing for a VCS checkout. 2024-08-21 22:23:16 +00:00
class-wp-site-health.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
class-wp-site-icon.php
class-wp-terms-list-table.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
class-wp-theme-install-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-themes-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-upgrader-skin.php
class-wp-upgrader-skins.php
class-wp-upgrader.php Bootstrap/Load: Ensure uses of set_time_limit are documented why. 2024-09-17 22:41:13 +00:00
class-wp-users-list-table.php
comment.php
continents-cities.php
credits.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
dashboard.php General: Expand use of wp_get_wp_version(). 2024-10-03 00:25:15 +00:00
deprecated.php
edit-tag-messages.php
export.php
file.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
image-edit.php Media: Update file size meta data when editing images. 2024-10-09 23:32:21 +00:00
image.php Media: Automatically convert HEIC images to JPEG 2024-08-05 04:13:15 +00:00
import.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
list-table.php
media.php General: Remove noopener from links opening in a new tab. 2024-09-30 05:19:16 +00:00
menu.php
meta-boxes.php I18N: Correctly output the None translatable strings. 2024-07-21 18:58:16 +00:00
misc.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php
nav-menu.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
network.php
noop.php
options.php
plugin-install.php Docs: Remove unsupported values in plugins_api() DocBlocks. 2024-08-09 00:18:16 +00:00
plugin.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
post.php Posts, Post Types: Check if the post type exists in _admin_notice_post_locked(). 2024-09-03 22:43:14 +00:00
privacy-tools.php
revision.php
schema.php Upgrade/Install: Use an empty string for the default “Post via email” password. 2024-08-23 23:17:13 +00:00
screen.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
taxonomy.php
template.php Date/Time: Use numeric input for touch_time() fields. 2024-09-29 22:49:16 +00:00
theme-install.php
theme.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
translation-install.php Docs: Various docblock improvements and corrections. 2024-09-11 12:08:19 +00:00
update-core.php Docs: Fix note about not using new functions in update-core.php and class-core-upgrader.php. 2024-10-05 23:25:12 +00:00
update.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
upgrade.php Coding Standards: Committing changes after composer format. 2024-10-04 13:19:17 +00:00
user.php
widgets.php