WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#35870 new defect (bug)

image_default_link_type does not work for galleries

Reported by: jayse83 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Media Keywords:
Focuses: administration Cc:
PR Number:

Description

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.

Change History (2)

This ticket was mentioned in Slack in #core-editor by iseulde. View the logs.


3 years ago

#2 @iseulde
3 years ago

  • Component changed from Editor to Media
Note: See TracTickets for help on using tickets.