我已经在 ChildTheme functions.php 中复制了以下代码,但它还没有工作:
remove_action('init', 'kses_init'); remove_action('set_current_user', 'kses_init');
1 当我在 HTML MODE 中编写一些代码时,例如:
<pre> <div>why the DIV outside will disappear? </div> hello() => 'hello world'; //The '>' will disappear as well </pre>
2 但是把它改成WRITE MODE,这不是我所期望的,回到HTML MODE,它继续这样:
<div>why the DIV outside will disappear?</div> <pre>hello() => 'hello world'; //The '>' will disappear as well </pre>
3 当我预览帖子时,页面显示如下(> 变为> ;):
为什么外面的DIV会消失?
hello() => 'hello world'; //The '>' will disappear as well
现在我想知道它是否是由插件 WP Code Highlight 引起的。