Bug Fix for Unescaped Title Attributes in Admin UI
-
My client has entered HTML tags in the title field of their WordPress pages. Some may frown upon this, but WordPress allows it.
This results some errors in in the CPTR admin interface. Specifically speaking, the
title
attribute gets all wonky when these posts have unescaped HTML in their titles.Here is a quick fix using the
esc_attr()
function, provided as a diff:https://gist.github.com/pwenzel/deecd99ad1c485b33ec6
Everything else about this plugin has worked great, thanks!
https://www.ads-software.com/plugins/custom-post-types-relationships-cptr/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug Fix for Unescaped Title Attributes in Admin UI’ is closed to new replies.