While doing a var_dump
on the $comment
object, I see there is a comment_karma
property. What is that?
-
2possible duplicate of What are the additional fields in wp_comments used for?– Ignat B.Commented Aug 27, 2015 at 21:25
-
Try googling it?– vancoderCommented Aug 27, 2015 at 22:13
-
googled with no success– WordPress SpeedCommented Aug 27, 2015 at 23:02
-
Googled it. Here I am now.– ArifCommented Jul 27, 2018 at 7:13
Add a comment
|
1 Answer
You get the comment_karma property because there is such a column in the comments table. It is meaningless and AFAIK was never used for anything except for maybe some random spam prevention plugin. It is there just for backward compatibility and because no one thinks that removing it will improve anything in a measurable way.
You can use that field if needed, but it is probably a better idea to use your own meta field.