[wp-trac] [WordPress Trac] #27942: Site Title not escaped when using HTML entities

WordPress Trac noreply at wordpress.org
Sun Apr 20 21:57:10 UTC 2014


#27942: Site Title not escaped when using HTML entities
--------------------------------+-----------------------------
 Reporter:  BandonRandon        |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 Today I tried to set my site title to <Brooke><Codes> and learned that the
 site title field escapes the < character. This is fine I thought, I'll use
 HTML entities. While this worked at first this also failed in the end. Is
 there a way to use the same escaping used on posts titles on site titles?

 Here are a few screenshots to show the problem:

 '''Title using HTML entities:'''
 [[Image(https://i.cloudup.com/ct_yH6t2er-3000x3000.png,100%)]]

 '''After saving the above:'''
 [[Image(https://i.cloudup.com/k2-OCiyDA7-3000x3000.png,100%)]]

 '''After saving the above:'''
 [[Image(https://i.cloudup.com/ImnHqRiPJJ-3000x3000.png,100%)]]

 To me the real issue is that it fails silently. I know enough to know why
 it fails but to many of our users they may have a WTF reaction.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27942>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list