[wp-trac] [WordPress Trac] #24761: PHP Warning: filesize(): stat failed
WordPress Trac
noreply at wordpress.org
Mon Jul 15 20:54:53 UTC 2013
#24761: PHP Warning: filesize(): stat failed
-------------------------------+------------------------------
Reporter: conner_bw | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5.2
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by markoheijnen):
I meant that you getting this errors by using WordPress functionality
instead of using something a plugin added.
check_upload_size() can check if tmp_name isn't set and ignore the rest
but if a plugin unset $file['tmp_name'] then it isn't a core issue and it
is stupid a plugin does that.
Can you explain this sentence:
$file could have {{{['error']}}}, not exist because it's too big and was
deleted, etc.
Also I don't quite understand what you mean with the last part of comment
3. The reason of that filter is to change $file and then specific the
'error' value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24761#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list