#26100 closed defect (bug) (fixed)
Escape HTML in theme author name to allow for ampersands
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Customize | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
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. #24775 references a similar issue.
Changing from {{ data.author }}
to {{{ data.author }}}
fixes the issue when displaying the theme details overlay.
Attachments (6)
Change History (10)
#2
@
11 years ago
Two new diffs added since data.author
is actually located in two places.
26100.diff
is the fix just for this ticket.
26100.1.diff
is the fix if #26098 is already applied, since it has some overlap that causes changes that affect where this code is.
Note: See
TracTickets for help on using
tickets.
If #26098 is applied, this is the combined patch.