Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter virgiliosantos

    (@virgiliosantos)

    Other problem I’ve found!

    On the template-functions.php, the $best_answer_id is sometimes being retrieved strangely (more tests needed), problably an error in the function dwqa_get_the_best_answer( $question_id ).

    At rendering time, the $best_answer_id is not tested, so that, it renders a empty best answer. I’ve solved this like:

    $best_answer = get_post( $best_answer_id );
    //if( $best_answer_id ) {
    if($best_answer != null) {
        global $post;
        //$best_answer = get_post( $best_answer_id );
    Plugin Author DesignWall

    (@designwall)

    Glad to heard that from you, Virgiliosantos.
    Please use wordpress plugin svn reposiroty at https://www.ads-software.com/plugins/dw-question-answer/developers/ to submit your code and contribute to our plugin. We appreciate it!
    About the bug of best answer voting, we will re-check to fix and release updated version.
    Thanks again Virgiliosantos.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin comment dates wrong after install plugin’ is closed to new replies.