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

WordPress Trac noreply at wordpress.org
Mon Jun 12 20:25:07 UTC 2017


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

 * status:  new => closed
 * resolution:   => invalid


Comment:

 For those of us who use the text widget wiht HTML, JS or PHP code:
 In order to copy and transfer the HTML, JS or PHP code to another widget,
 before editing, rename and replace the class php file of the widget (wp-
 includes/widgets/class-wp-widget-text.php) with the version prior to 4.8
 This works correctly

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


More information about the wp-trac mailing list