Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#22640 closed defect (bug) (fixed)

alt changes not preserved when inserting an image into post from Add Media

Reported by: ryan Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: major Version: 3.5
Component: Media Keywords: has-patch commit
Focuses: Cc:

Description (last modified by ryan)

To reproduce:

  • Add Media
  • Media Library
  • Select an image
  • Change Alt Text
  • Insert into Post
  • Switch editor to Text
  • Note that alt is empty. alt=""

Attachments (1)

22640.diff (561 bytes) - added by nacin 9 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ryan
9 years ago

  • Description modified (diff)

#2 @ryan
9 years ago

  • Description modified (diff)

#3 @ryan
9 years ago

If you visit the media modal again and select the image the altered alt text is preserved, so this might strictly be an insertion error.

9 years ago

#4 @nacin
9 years ago

  • Keywords has-patch commit added


#5 @koopersmith
9 years ago

Patch works beautifully.

#6 @nacin
9 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 22927:

Send the alt attribute when sending attachments to the editor. fixes #22640.

Note: See TracTickets for help on using tickets.