Make WordPress Core

Opened 6 years ago

Last modified 2 years ago

#46390 reopened defect (bug)

image_default_link_type is not seen by Gutenberg

Reported by: brianjcameron's profile brianjcameron Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1.1
Component: Media Keywords: needs-patch
Focuses: Cc:

Description

I have in option.php the image_default_link_type set to file so that by default the "link to " for all media files is by default set to media.

Since upgrading to Gutenberg 5.1, this feature appears to be deactive.

Change History (7)

#1 follow-up: @utsav72640
6 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Again i have tested above issue in Latest version 5.1 and can't replicated same issue so i think it was resolved in latest version so i am going to close this ticket.

#2 in reply to: ↑ 1 @brianjcameron
6 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Replying to utsav72640:

Again i have tested above issue in Latest version 5.1 and can't replicated same issue so i think it was resolved in latest version so i am going to close this ticket.

The problem still exists in 5.1, as detailed in the original post.

#3 @brianjcameron
6 years ago

Wordpress seems to set the media settings such as "link to" to the last used settings used by the user. Not the default settings at options.php as set by the site admin.

So when a a user adds a new media image, it inherits the settings used on the last media image he inserted. If does not roll back to the default settings as set by the admin.

A new media insert should automatically start at the system default settings as defined by the website admin, and have to be manually over-ridden by the user on each execution. Not be permanently changed by the users prior execution.

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


5 years ago

#5 @SergeyBiryukov
4 years ago

#50872 was marked as a duplicate.

#6 @vigilant_spb
4 years ago

hello! any news about this?
5.4.2 still no way to set this default link?(

can't find any working solution

#7 @ddegner
2 years ago

  • Keywords needs-patch added
  • Version changed from 5.1 to 5.1.1

Bump, I would love to see this working again. It would save me so many clicks.

Note: See TracTickets for help on using tickets.