[wp-trac] [WordPress Trac] #35325: Image metadata not created when IPTC keywords are non-utf8

WordPress Trac noreply at wordpress.org
Wed Jan 6 07:33:05 UTC 2016


#35325: Image metadata not created when IPTC keywords are non-utf8
--------------------------+-----------------------------
 Reporter:  johsw         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35325>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list