Bug #13531

Remove calls to deprecated PHP function get_magic_quotes_gpc()

Added by Steve Breker about 1 month ago.

Status:NewStart date:06/18/2021
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:-
Target version:Release 2.7.0
Google Code Legacy ID: Tested version:2.7
Sponsored:No Requires documentation:

Description

The PHP function get_magic_quotes_gpc() is deprecated in PHP 7.4 and will be removed in PHP 8.0.

https://www.php.net/manual/en/function.get-magic-quotes-gpc.php

It is currently being referenced in our vendor/symfony folder which will require code changes.

It is also being referenced in the HTML Purifier code. Changes have been made in the current version of HTML Purifier to remove this function so upgrading HTML Purifier would eliminate the issue. HTML Purifier can now be installed with Composer so it would be good to remove it from AtoM's vendor directory.

Also available in: Atom PDF