Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by

@gidgreen: I think it is necessary to add a target="_blank" to the register link when an anonymous user is posting. I mean the link that appears in the end, "To avoid this verification in future, please log in or register."

Reason: If the register link is a default link that opens in the same window and the user clicks it, his entire question text gets lost.

Changes in qa-app-format.php: line 871:

from: '^3' => empty($userlinks['register']) ? '' : '<A HREF="'.qa_html($userlinks['register']).'">',

to: '^3' => empty($userlinks['register']) ? '' : '<A target="_blank" HREF="'.qa_html($userlinks['register']).'">',

have a nice day ;o)

Q2A version: 1.5.3

Please log in or register to answer this question.