Opened 6 months ago

Closed 6 months ago

#22627 closed defect (bug) (fixed)

Media swallows type attribute in gallery shortcodes

Reported by: ryan Owned by: ryan
Priority: normal Milestone: 3.5
Component: Gallery Version: 3.5
Severity: normal Keywords: has-patch commit dev-reviewed
Cc:

Description

If a plugin implements a "type" attribute for galleries, it doesn't work, because type is reserved for other things.

Attachments (1)

22627.diff (645 bytes) - added by koopersmith 6 months ago.

Download all attachments as: .zip

Change History (4)

  • Keywords has-patch commit added

Retain all gallery shortcode attributes that do not map to query arguments.

  • Keywords dev-reviewed added

Works.

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

In 22912:

In the gallery editor, don't stomp on custom shortcode attributes.

Props koopersmith
fixes #22627

Note: See TracTickets for help on using tickets.