手机
当前位置:查字典教程网 >CMS教程 >WordPress >禁止wordpress自动将半角转换为全角 禁止全角和半角的转换
禁止wordpress自动将半角转换为全角 禁止全角和半角的转换
摘要:找到wp-includes/formatting.php文件中//Thisisnotatag,noristhetexturizationdi...

找到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);

【禁止wordpress自动将半角转换为全角 禁止全角和半角的转换】相关文章:

改进WordPress主题加载速度的技巧

Wordpress自定义函数控制文章标题长度

Wordpress 解决注册登录死循环问题

wordpress调用当前分类下子分类的方法

wordpress固定链接翻译插件 自动将标题翻译成英文

wordpress去掉自带的logo或者左侧栏的菜单方法

wordpress主题评论中添加回复的方法

Wordpress如何切换和管理网站外观

WordPress获取文章内容摘要的方法

wordpress get_posts函数的使用方法 禁止输出指定类别的文章

精品推荐
分类导航