Review/Rating counters

Home Forums Legacy Support Support queries Other issues Review/Rating counters

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30787
    isigma
    Spectator
    As I understand course Review/Rating counters are being updated at the moment of the next review. That works when comments on the site do not require approval. The counters naturally are not updated when "pending" comment is created. Neither they are updated when the admin approves the pending comment. E.g. in this case the counters are not updated at all... I used this code ones, it may help to hook the status (approval) change add_action('transition_comment_status', 'ttshowcase_comment_approve', 10, 3); function ttshowcase_comment_approve($new_status, $old_status, $comment) {   if($old_status != $new_status) { if($new_status == 'approve') { <span class="Apple-tab-span" style="white-space: pre;"> .</span>..... update counters } } }
    #30831
    H.K. Latiyan
    Participant
    I was able to replicate the issue on my test site. Thanx for reporting this to us and sharing the solution also. It will be fixed in the next update.  
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Review/Rating counters’ is closed to new replies.