Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 12 days ago

#62532 closed defect (bug) (duplicate)

WordPress 6.7.1 Auto-sizes Reducing Image Sizes

Reported by: gyurmey's profile gyurmey Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.7.1
Component: Media Keywords:
Focuses: Cc:

Description

This is a follow-up to #62413.

After updating to 6.7.1, I still have problems with the sizes="auto" attribute in Chrome. I want to solve this problem by using add_filter('wp_img_tag_add_auto_sizes', '__return_false'). It works (removes auto), but only while I'm logged in.

Change History (5)

#1 @gyurmey
2 weeks ago

  • Version set to 6.7.1

This ticket was mentioned in Slack in #core by poena. View the logs.


2 weeks ago

#3 @poena
2 weeks ago

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

Duplicate of #62515.

Hi @gyurmey I believe this is a duplicate of https://core.trac.wordpress.org/ticket/62515 which was reported just before your ticket. I will close this ticket, to keep the discussions and testing in one place.

#4 follow-up: @joemcgill
13 days ago

@gyurmey just to add to this ticket, if you are not seeing the filter applied when logged out only, is it possible that you have some page caching in place that would not have cleared after you added the filter?

#5 in reply to: ↑ 4 @gyurmey
12 days ago

@joemcgill I did not have any caching enabled, and I tested without plugins and on the default TT5 theme.

Note: See TracTickets for help on using tickets.