What is the standard practice for when the OP edits the question to include the solution?
For example:
- error while loading libtinfo.so.5 - SOLVED
- DB:NO RESP Using inet.httpPOST on loop()
- SOLVED - Different behaviour during bootloader burning
- Arduino UNO stops working after a while - SOLVED
Ideally, the OP should have posted the solution as an answer and then marked it as the solution.
In some cases, I would like to edit the question by deleting the solution and then post the solution as an answer. The down side to this is that this answer would have no upvotes and may appear insignificant compared to other posts with upvotes. Also, the OP may no longer be active and/or doesn't mark the answer as the solution.
For some posts (especially those without an answer) the correct course of action would be to close/delete the question.