[wp-trac] [WordPress Trac] #39550: Some Non-image files fail to upload after 4.7.1
WordPress Trac
noreply at wordpress.org
Fri Jan 20 18:34:24 UTC 2017
#39550: Some Non-image files fail to upload after 4.7.1
------------------------------------+------------------------
Reporter: greatislander | Owner: joemcgill
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.2
Component: Upload | Version: 4.7.1
Severity: critical | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------
Comment (by karolis92):
Replying to [comment:48 karolis92]:
> Hello,
> I'm also having problems after 4.7.1 update with uploading non image
files.
> It seems to break at the part where validation tries to get
{{{$real_mime}}} using {{{finfo_file}}}
>
> As i see {{{$real_mime}}} is undefined when it's compared to {{{$type}}}
>
> Googled that {{{finfo_file}}} is only on PHP >= 5.3.0, and I'm running
on 5.2.17.
> Maybe that's the peroblem? I think that {{{function_exists( 'finfo_file'
)}}} should then return {{{false}}}, but it returns {{{true}}}. But I'm
not a PHP developer so thats not the staff I really understand.
Seems to work after I asked to move my website to newer server (5.4)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39550#comment:73>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list