Title: Admin comment dates wrong after install plugin
Last modified: August 21, 2016

---

# Admin comment dates wrong after install plugin

 *  Resolved [virgiliosantos](https://wordpress.org/support/users/virgiliosantos/)
 * (@virgiliosantos)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/admin-comment-dates-wrong-after-install-plugin/)
 * Hi there,
 * I’m having this issue: When the plugin is activated, all comment dates appear
   as Unix epoch on the admin comments section.
 * I wish to contribute to plugin development, there is any guidelines?
 * Thanks
 * [http://wordpress.org/plugins/dw-question-answer/](http://wordpress.org/plugins/dw-question-answer/)

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

 *  Thread Starter [virgiliosantos](https://wordpress.org/support/users/virgiliosantos/)
 * (@virgiliosantos)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/admin-comment-dates-wrong-after-install-plugin/#post-4332274)
 * 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](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/admin-comment-dates-wrong-after-install-plugin/#post-4332367)
 * Glad to heard that from you, Virgiliosantos.
    Please use wordpress plugin svn
   reposiroty at [http://wordpress.org/plugins/dw-question-answer/developers/](http://wordpress.org/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.

 * ![](https://s.w.org/plugins/geopattern-icon/dw-question-answer_fefdf9.svg)
 * [DW Question & Answer](https://wordpress.org/plugins/dw-question-answer/)
 * [Support Threads](https://wordpress.org/support/plugin/dw-question-answer/)
 * [Active Topics](https://wordpress.org/support/plugin/dw-question-answer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dw-question-answer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dw-question-answer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [DesignWall](https://wordpress.org/support/users/designwall/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/admin-comment-dates-wrong-after-install-plugin/#post-4332367)
 * Status: resolved