[wp-trac] [WordPress Trac] #41540: Plugin extending rich Text widget causes fatal error (was: WordPress 4.8.1 caused Widgets to disappear)

WordPress Trac noreply at wordpress.org
Thu Aug 3 04:54:35 UTC 2017


#41540: Plugin extending rich Text widget causes fatal error
-------------------------------+-----------------------
 Reporter:  hmabpera           |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  4.8.2
Component:  Widgets            |     Version:  4.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-----------------------
Changes (by westonruter):

 * milestone:  Awaiting Review => 4.8.2


Comment:

 @hmabpera you don't need to supply info from the PHP error log now. I was
 able to reproduce the problem and it is in the Simple Access Control
 plugin. It is not properly extending the Text widget and this is the
 reason for the error. I'm working on a workaround plugin to make the
 plugin do the right thing.

 I also discovered that the JS for the rich Text widget is not accounting
 for widgets that extend `WP_Widget_Text`, so even if the Simple Access
 Control extended the Text widget properly, there would still be an issue.
 This may be what is reported in #41536 as well.

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


More information about the wp-trac mailing list