Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
magic_quotes_gpc and magic_quotes_runtime support removed from Txp
In line with our pre-requisite of PHP 5.5 as minimum (preferably PHP7+) in the next release of Textpattern, we have axed support for the magic_quote functions. The latest demo site build will get the changes within the next few hours.
Completely dropping it so suddenly is a brutal approach, so if anybody stumbles upon a plugin that issues a warning or error (in debugging mode) about the missing MAGIC_QUOTES_GPC
constant, please note it here. We have the option to reinstate support before the next release by adding this line to lib/constants.php
:
define('MAGIC_QUOTES_GPC', false);
Thank you.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Offline
Re: magic_quotes_gpc and magic_quotes_runtime support removed from Txp
Okay the 9700th commit :)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: magic_quotes_gpc and magic_quotes_runtime support removed from Txp
Cool! I will soon remove it from etc_query
, but this will keep older versions (and possibly some other plugins) sane.
Offline