WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 5 months ago

#46390 reopened defect (bug)

image_default_link_type is not seen by Gutenberg

Reported by: brianjcameron Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1
Component: Media Keywords:
Focuses: Cc:
PR Number:

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 (4)

#1 follow-up: @utsav72640
8 months 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
8 months 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
8 months 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 months ago

Note: See TracTickets for help on using tickets.