[wp-trac] [WordPress Trac] #58082: Import metadata description from Darktable into media caption in WordPress

WordPress Trac noreply at wordpress.org
Wed Jan 10 21:58:06 UTC 2024


#58082: Import metadata description from Darktable into media caption in WordPress
------------------------------+------------------------
 Reporter:  fotodrachen       |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.5
Component:  Media             |     Version:  6.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57267" 57267]:
 {{{
 #!CommitTicketReference repository="" revision="57267"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58082#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list