Title: dwqa_get_latest_qanswer bug
Last modified: August 31, 2016

---

# dwqa_get_latest_qanswer bug

 *  [Cory Hughart](https://wordpress.org/support/users/cr0ybot/)
 * (@cr0ybot)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/dwqa_get_latest_qanswer-bug/)
 * There is a bug in Status.php in the function dwqa_get_latest_answer().
 * I noticed that I could not get the “_answered_ # days ago” message to appear 
   with questions, even if they had been answered; they only show “_asked_ # days
   ago”. Checking the plugin code, I noticed that the dwqa_get_latest_answer() function
   is using a query that looks for a post status of **‘public,private’**, when it
   should be **‘publish,private’**.
 * Making this change instantly enabled the “answered …” text.
 * [https://wordpress.org/plugins/dw-question-answer/](https://wordpress.org/plugins/dw-question-answer/)

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

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/dwqa_get_latest_qanswer-bug/#post-7194024)
 * Thank you for posting this fix!
 * It is a pity that the devs still have not incorporated it.
 *  Plugin Author [DesignWall](https://wordpress.org/support/users/designwall/)
 * (@designwall)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/dwqa_get_latest_qanswer-bug/#post-7194025)
 * Hi,
    Thank you for interesting in our product and your feedback. We appreciate
   it. We are checking and fixing this issue in the next version. Any your suggestion
   will make our product become better and better. We will check and update this
   issue in the next version. Regards,

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

The topic ‘dwqa_get_latest_qanswer bug’ 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
 * 3 participants
 * Last reply from: [DesignWall](https://wordpress.org/support/users/designwall/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/dwqa_get_latest_qanswer-bug/#post-7194025)
 * Status: not resolved