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

WordPress Trac noreply at wordpress.org
Thu Oct 7 15:38:16 UTC 2021


#54232: Unbreakable spaces not escaped
--------------------------+------------------------------
 Reporter:  jdy68         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by sebastienserre):

 Hello @jdy68

 I've made the following test:
 + replacing the string on line 252 ```<?php _e( "There are unsaved changes
 that will be lost. 'OK' to continue, 'Cancel' to return to the Image
 Editor." ); ?>``` with ```<?php _e( 'There are unsaved changes that will
 be lost. "OK" to continue, "Cancel" to return to the Image Editor.' );
 ?>```
 + Modifying the .po with POedit

 Unfortunately, I always see the &nbsp in the message.

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


More information about the wp-trac mailing list