[wp-trac] [WordPress Trac] #35517: Work around PHP7 php-ssh2 breakage
WordPress Trac
noreply at wordpress.org
Sat Jan 23 04:43:44 UTC 2016
#35517: Work around PHP7 php-ssh2 breakage
----------------------------+------------------------------
Reporter: dougal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+------------------------------
Comment (by dd32):
> Do we have any numbers on how many servers have allow_url_fopen turned
off?
WordPress.org doesn't collect stats on information such as that, and we
could switch most of the class to using the `ssh2_sftp_*` class of
functions instead (which wouldn't be restricted by `allow_url_fopen`)
however I'm not sure the intersection between the two is enough to warrant
switching.
I will say, eliminating the usage of stream wrappers in preference for the
functions seems like a better reason for change than working around the
PHP7 breakage.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35517#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list