[wp-trac] [WordPress Trac] #54912: Image size limit is a bug not a feature
WordPress Trac
noreply at wordpress.org
Wed Jan 26 14:33:21 UTC 2022
#54912: Image size limit is a bug not a feature
-------------------------+----------------------
Reporter: jonfr2100 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 5.9
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-------------------------+----------------------
Comment (by costdev):
As I don't know the context in which your site has been created, I
provided three options for you to evaluate to suit your needs.
Modifying your theme's code would only be relevant if it was a custom
theme, or a child theme, that you developed. In that context, if that was
going to be your theme going forward and you weren't comfortable with
plugin development, then it might have fitted your needs best. However,
generally speaking, a plugin is a much safer option for this.
I added the above filter as a plugin and was able to upload a new image
without it being scaled down to 2560px. I'm not sure why your results were
different.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54912#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list