手机
当前位置:查字典教程网 >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在postname中支持大写字母的方法

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

wordpress后台打开缓慢的解决方法(临时)

wordpress编辑器中添加链接功能自动加入nofollow的方法

WordPress上传图片自动重命名的方法

精品推荐
分类导航