折腾了两年的Wordpress,不准备再折腾了,把我所收集和使用的Wordpress代码做个总结吧!
Wordpress移除自动修正大小写函数
Function代码
//移除 WordPress 自动修正 WordPress 大小写函数,by www.yuweiji.com
remove_filter( 'the_content', 'capital_P_dangit', 11 );
remove_filter( 'the_title', 'capital_P_dangit', 11 );
remove_filter( 'wp_title', 'capital_P_dangit', 11 );
remove_filter( 'comment_text', 'capital_P_dangit', 31 );
文章评论