[wp-trac] [WordPress Trac] #41540: The rich Text widget cannot be extended

WordPress Trac noreply at wordpress.org
Thu Aug 3 14:18:32 UTC 2017


#41540: The rich Text widget cannot be extended
-------------------------------------------------+-------------------------
 Reporter:  hmabpera                             |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  accepted
Component:  Widgets                              |   Milestone:  4.8.2
 Severity:  normal                               |     Version:  4.8.1
 Keywords:  reporter-feedback has-patch needs-   |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by westonruter):

 By the way, I did a search across all themes and plugins that extend
 `WP_Widget_Text` and there are 8 plugins and 2 themes that do so:

 {{{
 WordPress-Plugin-Directory-Slurper/plugins/admium/class-admium-
 widgets.php:16: extends WP_Widget_Text
 WordPress-Plugin-Directory-Slurper/plugins/admium/class-admium-
 widgets.php:32: extends WP_Widget_Text
 WordPress-Plugin-Directory-Slurper/plugins/better-text-widget/better-text-
 widget.php:13: extends WP_Widget_Text
 WordPress-Plugin-Directory-Slurper/plugins/content-sidebars/content-
 sidebars.php:1569: extends WP_Widget_Text
 WordPress-Plugin-Directory-Slurper/plugins/hackadelic-discreet-text-widget
 /hackadelic-discreet-text-widget.php:15: extends WP_Widget_Text
 WordPress-Plugin-Directory-Slurper/plugins/simple-access-control/simple-
 access-control.php:432:WP_Widget_Text::
 WordPress-Plugin-Directory-Slurper/plugins/simple-access-control/simple-
 access-control.php:436:WP_Widget_Text::
 WordPress-Plugin-Directory-Slurper/plugins/simple-access-control/simple-
 access-control.php:440:WP_Widget_Text::
 WordPress-Plugin-Directory-Slurper/plugins/tm-woocommerce-
 package/includes/widgets/class-tm-about-store-widget.php:14: extends
 WP_Widget_Text
 WordPress-Theme-Directory-Slurper/themes/annotum-
 base/functions/widgets.php:12: extends WP_Widget_Text
 WordPress-Theme-Directory-Slurper/themes/shprink-
 one/functions/Widget/Text.php:3: extends WP_Widget_Text
 }}}

 The `simple-access-control` plugin is the one we're looking at here. I'll
 check the others later. They may not need workarounds.

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


More information about the wp-trac mailing list