找到wp-includes/fORMatting.PHP文件中复制代码代码如下:// This is not a tag, nor is the texturization disabled static strings
找到wp-includes/fORMatting.PHP文件中
复制代码代码如下:
// This is not a tag, nor is the texturization disabled static strings
$curl = str_replace($static_characters, $static_replacements, $curl);
//regular expressions
$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
将两行替换函数代码加上注释,在前面加上 //:
复制代码代码如下:
// This is not a tag, nor is the texturization disabled static strings
// $curl = str_replace($static_characters, $static_replacements, $curl);
// regular expressions
// $curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
--结束END--
本文标题: 禁止wordpress自动将半角转换为全角 禁止全角和半角的转换
本文链接: https://www.lsjlt.com/news/32180.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-02-29
2024-02-29
2024-02-27
2023-10-27
2023-10-26
2023-10-25
2023-10-21
2023-10-21
2023-10-18
2023-10-12
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0