[wp-trac] [WordPress Trac] #35390: Responsive image size issue when `large` is used to display thumbnail
WordPress Trac
noreply at wordpress.org
Tue Jan 12 17:05:02 UTC 2016
#35390: Responsive image size issue when `large` is used to display thumbnail
------------------------------------------+------------------------
Reporter: rabmalin | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------
Changes (by joemcgill):
* keywords: => needs-patch needs-unit-tests
* status: reviewing => accepted
* component: Post Thumbnails => Media
* milestone: Awaiting Review => 4.5
Comment:
@rabmalin I am able to reproduce the issue as you describe. I would not
expect `$content_width` to affect the size of `the_post_thumbnail( 'large'
)` when generated on the front end, so I would consider this to be a bug.
From what I can tell, `image_constrain_size_for_editor()` has not
respected the context for 'large' image sizes for at least 8 years, so I'm
not sure what back-compatibility issues might exist, but it's worth giving
this a look for 4.5.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35390#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list