[wp-trac] [WordPress Trac] #41540: Plugin extending rich Text widget causes fatal error
WordPress Trac
noreply at wordpress.org
Thu Aug 3 05:43:13 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:
-------------------------------+-----------------------
Comment (by hmabpera):
Thanks for the update. I do appreciate your hanging in here with this for
us.
Am I correct in thinking that this problem is limited to the admin widget
area?
I'll check back with you in the morning.
Replying to [comment:22 westonruter]:
> @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:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list