[wp-trac] [WordPress Trac] #37608: Undefined index: extension in class-wp-image-editor.php
WordPress Trac
noreply at wordpress.org
Thu Aug 11 11:32:21 UTC 2016
#37608: Undefined index: extension in class-wp-image-editor.php
----------------------------------------+------------------------------
Reporter: JaworskiMatt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 2.5
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by JaworskiMatt):
I have added a .patch file containing a proposed solution
From what I can see in ''class-wp-image-editor.php'' there is at least one
case of ''pathinfo()'' usage, but in that other case the index
''extension'' is being checked with ''isset()''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37608#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list