WordPress 2.2 上の More Smilies がコメント欄の改行をレンダリングしない件
この間2.2に上げてからコメント欄がおかしいなあと思ってフォーラムを見たらコメントに関するフィルタ部分に More Smilies が変に介入しちゃったみたいです。
via
- WordPress › Support » More Smilies Plugin Modification Needed
- WordPress › Support » Line breaks not rendered in comments
- WordPress › Support » Broken Comments in WP 2.2
- #4279 (Comments no longer have automatic line breaks.) – WordPress Trac – Trac
原因
The More Smilies 2.1 plugin breaks the paragraph formatting in comments.
from WordPress › Support » More Smilies Plugin Modification Needed
応急処置?
It has to do with this code in More Smilies:
# remove filters
remove_filter('comment_text', 'convert_smilies', 20);
remove_filter('the_content', 'convert_smilies');
remove_filter('the_excerpt', 'convert_smilies');
# add filters
add_filter('comment_text', array(&$this, 'convert_smilies'));
add_filter('the_content', array(&$this, 'convert_smilies'));
add_filter('the_excerpt', array(&$this, 'convert_smilies'));Ⅰ don’t know how to fix it to shut off the comment text filter, if anyone can help that would be wonderful. Ⅰ love this plugin but it’s not being supported by the author anymore.
from WordPress › Support » Line breaks not rendered in comments




(1 votes, average: 4 out of 5)
No comments
Jump to comment form | comments rss [?] | trackback uri [?]