[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code

WordPress Trac noreply at wordpress.org
Tue Jun 13 07:03:23 UTC 2017


#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+-----------------------
 Reporter:  dwrippe       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.8.1
Component:  Widgets       |     Version:  4.8
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by icodina):

 @FolioVision, @synavista, I used text-widget to include JS, jQuery and PHP
 scripts and when editing with version 4.8 some parts of the code are lost.
 Replacing wp-class-widget-text.php with the previous version before
 editing is not the solution, but allows us to retrieve our code.

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


More information about the wp-trac mailing list