[wp-trac] [WordPress Trac] #52826: New wp_getimagesize() causing unexpected failures
WordPress Trac
noreply at wordpress.org
Thu Mar 25 00:33:08 UTC 2021
#52826: New wp_getimagesize() causing unexpected failures
-------------------------------------------------+-------------------------
Reporter: terriann | Owner: whyisjake
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.7.1
Component: Media | Version: 5.7
Severity: critical | Resolution:
Keywords: has-patch needs-refresh needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:18 peterwilsoncc]:
> if [attachment:"52826.5.diff"] is what you had in mind, it looks logical
to me.
Yes, 52826.5.diff looks good imho. As far as I see both `is_null()` and
`func_num_args()` are used elsewhere in core but the latter seems
better/more suitable in this case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52826#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list