First › Forums › Politics forum › Untrusted Data › Reply To: Untrusted Data
March 29, 2013 at 3:29 pm
#1540
Crumina team
Keymaster
There are few special template tags for common cases where safe output is needed. One such case involves outputing a post title to a title attribute using the_title_attribute() instead of the_title() to avoid a security vulnerability. Here’s an example of correct escaping for the title attribute of a post title link when using translatable text: