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

WordPress Trac noreply at wordpress.org
Fri Nov 22 02:33:21 UTC 2013


#26100: Escape HTML in theme author name to allow for ampersands
--------------------------+---------------------
 Reporter:  morganestes   |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.8
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by dd32):

 * owner:   => dd32
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26316"]:
 {{{
 #!CommitTicketReference repository="" revision="26316"
 Themes: Move the escaping of content from JS back to PHP. This allows us
 to take advantage of the display() WP_Theme method to translate the text
 properly, and to strip out any HTML tags we don't wish to display. Fixes
 #26100. See #25948
 }}}

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


More information about the wp-trac mailing list