[wp-trac] [WordPress Trac] #35870: image_default_link_type does not work for galleries

WordPress Trac noreply at wordpress.org
Fri Feb 19 10:25:35 UTC 2016


#35870: image_default_link_type does not work for galleries
----------------------------+-----------------------------
 Reporter:  jayse83         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:  4.4.2
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 After some updated I've noticed all galleries started to point the URL to
 attachment post instead of image. After some digging it seems that
 attachment post will appear if no settings were found in the code. I've
 tried to override this without any luck

 I found this and it describes the problem:
 https://core.trac.wordpress.org/ticket/35101

 Now I find out that this fix does not work for galleries. Even if I have
 image_default_link_type i the data table the attachment appears as
 default. And the front generates galleries with attachment post url when
 the setting is missing in the gallery code from content.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35870>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list