wordpress-develop/tests/phpunit/tests/image
Joe Dolson 94b70f1ae0 Media: Fix handling of multibyte exif description metadata.
The exif standards expect the UserComment field to be used as a substitute for ImageDescription if multibyte characters are needed. WordPress media only mapped the ImageDescription field and did not correctly handle descriptions with multibyte characters.

Fix metadata saving to better handle media with multibyte characters in metadata and update unit tests.

Props fotodrachen, antpb, joedolson, mikinc860, azaozz, nicolefurlan.
Fixes #58082.

git-svn-id: https://develop.svn.wordpress.org/trunk@57267 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-10 21:57:50 +00:00
..
base.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
dimensions.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
editor.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
editorGd.php Tests: Bring some consistency to WP_Image_Editor_GD and WP_Image_Editor_Imagick tests. 2022-10-07 00:40:07 +00:00
editorImagick.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
functions.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
header.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:01:14 +00:00
intermediateSize.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
meta.php Media: Fix handling of multibyte exif description metadata. 2024-01-10 21:57:50 +00:00
resize.php Media: Revert WebP generation. 2022-09-19 22:51:53 +00:00
resizeGd.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00
resizeImagick.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
siteIcon.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
size.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:30:38 +00:00