New esc_xml() function in WordPress 5.5

As part of the development for the new XML Sitemaps feature in WordPress 5.5, a new esc_xml() function has been added to core that filters a string cleaned and escaped for output in XML. This joins the existing set of functions like esc_html() and esc_js(). While all contents in XML sitemaps are already escaped using … Continue reading New esc_xml() function in WordPress 5.5