[wp-trac] [WordPress Trac] #28727: plugin editor content empty when source contains an invalid character
WordPress Trac
noreply at wordpress.org
Wed Jan 6 18:46:27 UTC 2016
#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 jipmoors):
The problem lies in the implicit character coding assumption.
The `esc_textarea` assumes the supplied content has been written inside
the CMS and thus conforms to the charset selected.
A quick test with a duplicate of the function without the implicit
encoding shows the file as it is saved on disk.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28727#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list