diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-02-14 05:08:08 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-02-14 05:08:08 -0500 |
commit | 52b6f7c64441da3db6f9f72b05ca8e98ddb625ad (patch) | |
tree | 7095bb13a63816bf689ab04a416176ed0eda7ea1 /bootstrap | |
parent | ad7ad3ba20191c244202bb19be84956dab27b589 (diff) | |
download | edwinmattiacci.com-52b6f7c64441da3db6f9f72b05ca8e98ddb625ad.tar.gz edwinmattiacci.com-52b6f7c64441da3db6f9f72b05ca8e98ddb625ad.tar.bz2 edwinmattiacci.com-52b6f7c64441da3db6f9f72b05ca8e98ddb625ad.zip |
bootstrap/comments/backend/classes: PHP 7.4 magic quotes deprecated
bootstrap/comments/backend/classes/cookies.php
bootstrap/comments/backend/classes/setup.php
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/comments/backend/classes/cookies.php | 5 | ||||
-rw-r--r-- | bootstrap/comments/backend/classes/setup.php | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/bootstrap/comments/backend/classes/cookies.php b/bootstrap/comments/backend/classes/cookies.php index ec57d05..c18e405 100644 --- a/bootstrap/comments/backend/classes/cookies.php +++ b/bootstrap/comments/backend/classes/cookies.php @@ -81,11 +81,6 @@ class Cookies if (!empty ($_COOKIE[$name])) { $value = $_COOKIE[$name]; - // Strip escaping backslashes from cookie value - if (get_magic_quotes_gpc ()) { - $value = stripslashes ($value); - } - // Return trimmed value if told to if ($trim === true) { $value = trim ($value, " \r\n\t"); diff --git a/bootstrap/comments/backend/classes/setup.php b/bootstrap/comments/backend/classes/setup.php index c3576d4..947814b 100644 --- a/bootstrap/comments/backend/classes/setup.php +++ b/bootstrap/comments/backend/classes/setup.php @@ -178,11 +178,6 @@ class Setup extends Settings $request = $_POST[$key]; } - // Strip escape slashes from POST or GET - if (get_magic_quotes_gpc ()) { - $request = stripslashes ($request); - } - return $request; } |