WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 7 months ago

#24979 closed defect (bug) (fixed)

Shortcode gallery don't allow change "link" attr by shortcode_atts_gallery filter

Reported by: iworks Owned by: ocean90
Milestone: 3.7 Priority: normal
Severity: trivial Version: 2.7
Component: Gallery Keywords: has-patch
Focuses: Cc:

Description

Shortcode gallery don't allow change "link" attr by shortcode_atts_gallery filter.

Attachments (1)

link-attr-allow-shortcode_atts_gallery.diff (920 bytes) - added by iworks 8 months ago.
Allow "link" attr to change by shortcode_atts_gallery filter.

Download all attachments as: .zip

Change History (7)

iworks8 months ago

Allow "link" attr to change by shortcode_atts_gallery filter.

comment:1 iworks8 months ago

  • Keywords has-patch added

comment:2 nacin8 months ago

  • Milestone changed from Awaiting Review to 3.7
  • Version changed from 3.6 to 2.7

Interesting, it has been like this for a long while. At least 2.7.

comment:3 desrosj8 months ago

Patch works great for me.

comment:4 ocean907 months ago

  • Owner set to ocean90
  • Status changed from new to accepted

comment:5 ocean907 months ago

#25405 was marked as a duplicate.

comment:6 ocean907 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 25665:

Allow to filter the link attribute via shortcode_atts_gallery. props iworks. fixes #24979.

Note: See TracTickets for help on using tickets.