I was recently working on a piece of code that will: If I was commenting like admin, all was good – the comment with image was getting published. But if instead I was commenting using that user role, unfortunately all the HTML got stripped. After some debugging inside WordPress, I found the culprit, which, by […]