View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026964 | mantisbt | bugtracker | public | 2020-05-17 09:53 | 2021-03-07 18:29 |
Reporter | lega4 | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Target Version | 2.25.0 | Fixed in Version | 2.25.0 | ||
Summary | 0026964: Admin check always has "WARN" for magic_quotes checks (PHP 7.4) | ||||
Description | Seems like magic quotes check are always raising a warning no matter what. magic_quotes_gpc php.ini directive is disabled WARN I've tried to add explicit settings to my php.ini, but it doesn't change anything, also as per https://stackoverflow.com/a/18683025/1657819, magic quotes are permanently disabled since PHP 5.4. Suggestion => remove magic quotes checks completely as they're not relevant in 2020 any more | ||||
Steps To Reproduce |
| ||||
Additional Information | Doesn't seem to be reproducible with PHP 7.2, at least I have another environment and don't see it there... Might be some other issue, no idea :( | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
MantisBT: master ef6160ff 2020-05-18 12:33 Committer: dregad Details Diff |
Remove get_magic_quotes_* checks Our minimum supported PHP version is 5.5.0. Starting from PHP 5.4.0, get_magic_quotes_runtime and get_magic_quotes_gpc always return FALSE, as the magic quotes feature was removed from PHP. So the check is no longer needed. Starting from 7.4.0 the functions have been deprecated. Fixes 0026964 |
Affected Issues 0026964 |
|
mod - admin/check/check_php_inc.php | Diff File |