鉴于SyntaxHighlighter非常方便,所以我们有必要在编辑界面中添加一个SyntaxHighlighter按钮。 修改/wp-includes/js/quicktags.js文件: [code lang="php"]edButtons[edButtons.length]=new edButton("ed_code","code","