file urls no longer work properly on 7.7 (absolute paths appended)
-
In 7.6, we had a row in the MediaFromFtpAdmin.php around line 415 it used the following:
$document_root = ABSPATH.$searchdir;
however in 7.7, this has been changed to
$document_root = realpath(ABSPATH.$searchdir);
This results in the glob in MeidaFromFtp.php line 65 to return file entries as absolute paths instead of filenames only.
While this may work for some installation instances, it broke our installation so we had to revert this line to the version in 7.6
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘file urls no longer work properly on 7.7 (absolute paths appended)’ is closed to new replies.