We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 版本:7.4.11 Kratos 版本:3.2.8 WordPress 版本:5.7 User Agent 信息:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
主题设置 - 收录配置 - 统计代码
在这里面写入的<script src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script> 能否自行增加 async 等异步参数 效果如 <script async src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script> 所示
<script src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script>
目前填入配置后,点击保存,再刷新,发现被清除掉 async 参数,无法写入。
The text was updated successfully, but these errors were encountered:
feat: add the allowed script attribute (#363)
b0e30b6
这个参数默认被过滤了,我在新版本中加上了,等下个版本推送即可,参考 wp_kses
Sorry, something went wrong.
No branches or pull requests
PHP 版本:7.4.11
Kratos 版本:3.2.8
WordPress 版本:5.7
User Agent 信息:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
主题设置 - 收录配置 - 统计代码
在这里面写入的
<script src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script>
能否自行增加 async 等异步参数效果如
<script async src="https://www.googletagmanager.com/gtag/js?id=G-**********" ><script>
所示目前填入配置后,点击保存,再刷新,发现被清除掉 async 参数,无法写入。
The text was updated successfully, but these errors were encountered: