Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2021-01-01 16:28:04
PHP Disabled into articles and shortcodes
After a long time to investigate, I found out that “Allow PHP into articles” preference sets to ☑
No disabled our custom shortcodes (based on some PHP code inside).
Isn’t that a little strict?
Shortcodes are created by advanced users (supposed to know what they do) and on the other side, setting the above parameter allow writers to inject PHP in articles… Cruel dilemma. 🥴
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
#2 2021-01-01 16:54:44
Re: PHP Disabled into articles and shortcodes
Bonne année and welcome to think tank.