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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘dwqa_get_latest_qanswer bug’ is closed to new replies.