[wp-trac] [WordPress Trac] #32335: Update convert_chars()

WordPress Trac noreply at wordpress.org
Sun Jun 21 00:22:22 UTC 2015


#32335: Update convert_chars()
------------------------------+------------------
 Reporter:  azaozz            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.3
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by azaozz):

 There is a (rare) user case that might still add the invalid entities.
 When the user types in (old) Word, saves as HTML, opens the saved file in
 a browser, goes to "View source", copies the HTML and finally pastes it in
 the Text editor and saves the post (yeah, some users do that).

 There is no good reason to have these entities in post_content, we should
 replace them on save.

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


More information about the wp-trac mailing list