Display pending reviews for comment author

This topic contains 1 reply, has 2 voices, and was last updated by  Stiofan O’Connor 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #57686

    Y A
    Expired Member
    Post count: 156

    Hello,

    I think a recent change was made to the function geodir_reviewrating_filter_comments(); in geodir_reviewrating_functions.php:855

    $comments = get_comments( array('post_id' => $post->ID, 'status' => 'approve') );

    With this code, pending reviews are not displayed. The problem with this, is that when a user submits a review, it looks like a simple page refresh from the front-end (they do not know that their review has actually been submitted). To me, this might even be considered a bug.

    I fixed this by removing the

    , 'status' => 'approve'

    part, how could I change this so it doesn’t change with the next update?

    #57698

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket