Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35375


Ignore:
Timestamp:
07/27/2019 01:11:04 AM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35375

    • Property Component changed from General to Upgrade/Install
  • Ticket #35375 – Description

    initial v1  
    1414Since `$_SERVER['SCRIPT_FILENAME']` will resolve a symlink these 2 will be completely different and the elseif will be skipped, so `$path = $_SERVER['REQUEST_URI'];`
    1515
    16 Is this a problem? Only if you have Wordpress installed as a dependency with Composer. See https://github.com/johnpbloch/wordpress -- so maybe I shouold report the bug to his repo instead... Not sure!
     16Is this a problem? Only if you have WordPress installed as a dependency with Composer. See https://github.com/johnpbloch/wordpress -- so maybe I shouold report the bug to his repo instead... Not sure!
    1717
    1818Possible fix: I tried wrapping dirname() in readlink() but won't work when the path is not a symlink. Maybe a conditional check?