Support » Plugin: SB Child List » Clean up deprecated constructor

  • I’m trying to get my error/warning logs as clean as possible, and you can help!

    The constructor used in the plugin (v4.4) is deprecated. I’ve replaced it with the following in my local copy but, since I also compare my local plugins to the repository (WordFence), it would be great if you could make the corresponding change around line 890 (replacing the old constructor):

    function __construct()
            $widget_ops = array( 'classname' => 'bootstrapwidgetmenu', 'description' => __('A custom menu widget that uses the wp_bootstrap_navwalker', 'devdmbootstrap3'));
            $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'bootstrap-widget-menu');
                    false, // Base ID
                    'SB Child List Widget' // Name

    Thanks for your help in keeping things clean!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clean up deprecated constructor’ is closed to new replies.