[wp-trac] [WordPress Trac] #32561: Warning: fread() expects parameter 1 to be resource, boolean given in get_file_data()
WordPress Trac
noreply at wordpress.org
Fri Jun 12 02:10:21 UTC 2015
#32561: Warning: fread() expects parameter 1 to be resource, boolean given in
get_file_data()
--------------------------+------------------------------
Reporter: SpYdR | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dd32):
I'm tempted to suggest that `get_file_data()` should only ever be called
on a file that actually exists, and that the error raised here is good to
alert developers to the fact they've called it on a non-existant file
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32561#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list