Opened 11 years ago
Closed 11 years ago
#35325 closed defect (bug) (duplicate)
Image metadata not created when IPTC keywords are non-utf8
| Reported by: | johsw | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch needs-unit-tests |
| Cc: | Focuses: |
Description
If an image contains non-utf8 IPTC-keywords attachment metadata are not created properly.
The problem is in the function wp_read_image_metadata. Keywords are added to the $meta array (line 334), but the values are not checked for utf8 as other $meta-values are (line 407).
This is causes problems, several places places like media library, when using press images from non-english speaking countries, like Denmark
Attachments (2)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The functionality is introduced in this ticket: https://core.trac.wordpress.org/ticket/33772 and committed here: https://core.trac.wordpress.org/changeset/34374