[wp-trac] [WordPress Trac] #22768: EXIF/IPTC captions should populate caption/post_excerpt on upload, not description/post_content

WordPress Trac noreply at wordpress.org
Fri Feb 20 13:28:28 UTC 2015


#22768: EXIF/IPTC captions should populate caption/post_excerpt on upload, not
description/post_content
-------------------------+------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.2
Component:  Media        |     Version:  2.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:8 ericlewis]:
 > In attachment:22768.2.diff, while normalizing EXIF data, ensure that
 caption gets set. Formerly, the title would steal the caption field if the
 caption field was less than 80 chars. This logic still exists, but also
 sets the caption field.

 [attachment:22768.4.diff] does the same for the Exif branch. Note that
 it's possible to have a duplicate title and caption with the new logic.

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


More information about the wp-trac mailing list