Notifications
Clear all
Topic starter
18/05/2021 7:30 am
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()
18/05/2021 4:31 pm
Hi vofok56817,
We'll take this into consideration for future versions.