[wp-trac] [WordPress Trac] #28727: plugin editor content empty when source contains an invalid character

WordPress Trac noreply at wordpress.org
Thu Jul 3 11:51:08 UTC 2014


#28727: plugin editor content empty when source contains an invalid character
--------------------------+------------------------------
 Reporter:  bobbingwide   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by bobbingwide):

 A simple fix to this problem is to remove the call to esc_textarea() in
 plugin-editor.php
 The invalid character then shows as U+FFFD - question mark in black
 diamond.

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


More information about the wp-trac mailing list