[wp-trac] [WordPress Trac] #33432: PemFTP uses the ereg extension, which PHP7 removed
WordPress Trac
noreply at wordpress.org
Mon Sep 7 00:18:46 UTC 2015
#33432: PemFTP uses the ereg extension, which PHP7 removed
----------------------------+------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+------------------
Comment (by dd32):
Looks like `glob_regexp()` probably needs a `preg_quote()`, some of the
others may need it too if they've got data passed in.
As for tests, AFAIK there exist no tests for this section of code (either
by us, or others), and due to the complexity of adding them, it's not
going to be realistic to add them either.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33432#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list