View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026964||mantisbt||bugtracker||public||2020-05-17 09:53||2020-05-19 04:03|
|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)|
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|
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.|
MantisBT: master ef6160ff
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.
|mod - admin/check/check_php_inc.php||Diff File|