This avoids a fatal error on PHP 8 caused by passing a zero value to `fread()` as the `$length` argument, which must be greater than zero. Props yakimun, fierevere, jrf, DavidAnderson, SergeyBiryukov. Fixes #52018. Built from https://develop.svn.wordpress.org/trunk@50355 git-svn-id: http://core.svn.wordpress.org/trunk@49966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
192 KiB
192 KiB