Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-08-15 10:28:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

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

#2 2019-09-11 12:44:25

etc
Developer
Registered: 2010-11-11
Posts: 3,357
Website

Re: magic_quotes_gpc and magic_quotes_runtime support removed from Txp

Bloke wrote #319069:

We have the option to reinstate support before the next release by adding this line to lib/constants.php:

define('MAGIC_QUOTES_GPC', false);

+1, etc_query is using it :-)

Offline

#3 2019-09-11 14:10:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,787
Website

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

#4 2019-09-11 16:01:07

etc
Developer
Registered: 2010-11-11
Posts: 3,357
Website

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

Board footer

Powered by FluxBB