[wp-trac] [WordPress Trac] #48974: -1 being added to image uploads with Version 5.3.1
WordPress Trac
noreply at wordpress.org
Sat Dec 14 22:53:20 UTC 2019
#48974: -1 being added to image uploads with Version 5.3.1
-------------------------------+------------------------------
Reporter: neotrope | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.3.1
Severity: normal | Resolution: fixed
Keywords: needs-patch close | Focuses:
-------------------------------+------------------------------
Changes (by pbiron):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:9 neotrope]:
> Fantastic. Thanks so much; we have custom theme, using CMS as news
publishing platform, not blog posting; and have syndication to other
websites, don't use thumbnails, etc. --
By "(we) don't use thumbnails", do you mean have have a plugin that has
"unregistered" all sub-sizes? If not, then WP is still creating sub-size
files for the built-in defined sub-sizes, even if your theme/content
doesn't display them.
> this was huge intrusive problem for us; so hopefully an optional toggle
on images settings might be considered. I will try this solution, just
making custom plugin for it, which is easy-peezie. THANK YOU SO MUCH for
the quick fix, I"m about to go on vacation and was not prepared to have to
wrangle this issue on 20+ websites where the -1 thing is huge problem for
us. THANK YOU!!! :)
Also, just to be clear, the code sample I gave above comes with the usual
disclaimer:
{{{
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
}}}
If you use that code and it causes additional problems then neither myself
nor the WordPress project are responsible :-)
I'm going to close this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48974#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list