Bug Reports
3
Posts
2
Users
0
Reactions
746
Views
May 16, 2021 12:19 pm
Hi,
Why you use LIKE in get_comment_count()??
You should use "WHERE c.`comment_type` == 'woodiscuz'"
insted of:
"WHERE c.`comment_type` LIKE 'woodiscuz'"
LIKE is very slow comparison.
If you say, "oh its for backward compatibility". But you already update all of that comment_type in update_comments_types_2_2_0()
2 Replies
May 17, 2021 12:28 pm
You're asking your question in a wrong forum. This is wpDiscuz plugin support forum.
May 18, 2021 3:12 am
Im realy sorry I dont know woodiscuz and wpdiscuz is from different company. Can you point me where to post this?