WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46613, comment 8


Ignore:
Timestamp:
04/11/2019 08:57:22 PM (5 months ago)
Author:
desrosj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46613, comment 8

    initial v1  
    11[attachment:"46613.4.diff"] updates the version compare to not include `=`. If the version returned by `phpinfo()` is exactly the same as the required minimum version, then the update should be allowed.
    22
    3 Also, I have reversed the comparison to so that the local version is listed first in the comparison. This matches the two other `version_compare()` calls above making it a little harder to get tripped up.
     3Also, I have reversed the comparison so that the local version is listed first in the comparison. This matches the two other `version_compare()` calls above making it a little harder to get tripped up.