[wp-trac] [WordPress Trac] #48278: image is automatically resized even if it is not set
WordPress Trac
noreply at wordpress.org
Fri Oct 11 07:16:50 UTC 2019
#48278: image is automatically resized even if it is not set
--------------------------+------------------------------
Reporter: gevv | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.2.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by sumitsingh):
Hi Gevv,
I think created an issue with some plugin.
So please add below function in your active theme.
{{{
function remove_image_sizes( $sizes, $metadata ) {
return [];
}
add_filter( 'intermediate_image_sizes_advanced', 'remove_image_sizes',
100, 2 );
}}}
Please let us know if this helps.
Have a good day in the meantime.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48278#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list