WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#25058 closed enhancement (wontfix)

Gallery Settings should follow image_default_link_type

Reported by: lkraav Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Gallery Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

media.php L1906+ has default gallery link type hardcoded. This should be configurable so customers (esp. WordPress newcomers) wouldn't have to worry about it each time they create a new gallery and I wouldn't have to waste time with various magic checking and overriding it.

Planning to patch this at some point, unless I get arguments here not to do it or somebody plain beats me to it.

Change History (4)

comment:1 SergeyBiryukov8 months ago

  • Description modified (diff)

comment:2 SergeyBiryukov8 months ago

  • Version changed from 3.6 to 2.7

The code in question was introduced in [9894], so this appears to be related to the old media UI.

comment:3 follow-up: nacin8 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

The new UI appears to obey the user setting (half-meta, half-cookie). I don't think we should listen to image_default_link_type site-wide option here, which only exists for backwards compatibility and cannot be set via the UI. Suddenly obeying this for galleries could have other effects.

comment:4 in reply to: ↑ 3 lkraav8 months ago

Replying to nacin:

The new UI appears to obey the user setting (half-meta, half-cookie).

What setting are you referring to? "new UI" refers to something in trunk? I only checked 3.6 so far.

Note: See TracTickets for help on using tickets.