Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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. 🥴
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Offline