Issue #2756241 by Chandan Chaudhary, rajeshwari10: Removed deprecated usage of SafeMarkup::checkPlain from the codebase