blank comment

This topic contains 4 replies, has 4 voices, and was last updated by  Paolo 9 years ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #63639

    vertexhkraymond
    Expired Member
    Post count: 16

    Hi,

    In the review/rating page, I want to allow user to rate with blank comment, I found many hours, still cannot found any code handling it, please help if know, thanks a lot!

    #63640

    Guust
    Moderator
    Post count: 29970

    I don’t think that is possible. Those reviews are using the wordpress comment system and that does not allow blank comments. I’ll get Paolo to have a look at your question too.

    #63750

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    Guust is correct, you cannot add reviews without a text content.

    Thanks

    #63858

    Kay Yeung
    Free User
    Post count: 7

    You should discard the following code:

    if ( ” == $comment_content ) {
    wp_die( __( ‘ERROR: please type a comment.’ ), 200 );
    }

    #63919

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    no it is not allowed, you have to remove core code from WordPress, which is a very bad practice.

    Next update you’ll have to do it again.

    Thanks

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount