I'm trying to apply the syntax highlighting of the WP-Syntax plugin into post comments. The ch开发者_如何学Goangelog of the plugin suggests that this has already been done. Has anyone does this before?
If they've not implemented this, how can I do it? Which parts of the code should I read?
Editing the plugin solved the problem. The plugin uses the comment_text filter by default (one "before" and one "after"). Change it to the get_comment_text filter worked!
精彩评论