[wp-trac] [WordPress Trac] #54232: Unbreakable spaces not escaped

WordPress Trac noreply at wordpress.org
Fri Oct 15 00:18:05 UTC 2021


#54232: Unbreakable spaces not escaped
-------------------------------------+-------------------------------------
 Reporter:  jdy68                    |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.9
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  javascript,
  patch commit                       |  administration
-------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51907" 51907]:
 {{{
 #!CommitTicketReference repository="" revision="51907"
 Media: Display the unsaved changes dialog in image edit form using jQuery
 `.text()` function.

 This ensures that HTML entities like non-breaking spaces are properly
 displayed instead of being encoded.

 Props jdy68, sebastienserre, audrasjb, mukesh27, SergeyBiryukov.
 Fixes #54232.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54232#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list