WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years 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 3 years ago.
Allow "link" attr to change by shortcode_atts_gallery filter.

Download all attachments as: .zip

Change History (7)

@iworks
3 years ago

Allow "link" attr to change by shortcode_atts_gallery filter.

#1 @iworks
3 years ago

  • Keywords has-patch added

#2 @nacin
3 years 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.

#3 @desrosj
3 years ago

Patch works great for me.

#4 @ocean90
3 years ago

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

#5 @ocean90
3 years ago

#25405 was marked as a duplicate.

#6 @ocean90
3 years 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.