允许哪些字符作为短码标记, 以及我应该用什么清洁过滤器来过滤这些字符?
原文:What characters are allowed as a shortcode tag and what sanitizing filter should I used for them?
原文:What characters are allowed as a shortcode tag and what sanitizing filter should I used for them?
我在一个插件上工作, 用户可以在插件中定义短码标记。 您建议允许什么, 我的想法是只允许 ascii 字符 。 另外, 您如何清洗输入? 我在想...