[wp-trac] [WordPress Trac] #26100: Escape HTML in theme author name to allow for ampersands

WordPress Trac noreply at wordpress.org
Mon Nov 18 17:38:09 UTC 2013


#26100: Escape HTML in theme author name to allow for ampersands
--------------------------+-----------------------------
 Reporter:  morganestes   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 In `wp-admin/themes.php`, the template prints `&` to the screen if
 there's an ampersand in the author name (multiple theme authors using "&"
 instead of "and".

 Tested in trunk after THX38, not sure if it was in there before.
 [http://core.trac.wordpress.org/ticket/24775] references a similar issue.

 Changing from `{{ data.author }}` to `{{{ data.author }}}` fixes the issue
 when displaying the theme details overlay.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26100>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list