• Resolved mskinna

    (@mskinna)


    Hi,

    I get a WordPress notice when debugging is on.

    Perhaps you could update salesforce_widget_class.php to make the code compatible with 4.3?

    Change this:

    function Salesforce_WordPress_to_Lead_Widgets() {
    $widget_ops = array( ‘classname’ => ‘salesforce’, ‘description’ => __(‘Displays a WordPress-to-Lead for Salesforce Form’,’salesforce’) );
    $control_ops = array( ‘width’ => 200, ‘height’ => 250, ‘id_base’ => ‘salesforce’ );
    $this->WP_Widget( ‘salesforce’, ‘Salesforce’, $widget_ops, $control_ops );
    }

    To this:

    function __construct() {
    $widget_ops = array( ‘classname’ => ‘salesforce’, ‘description’ => __(‘Displays a WordPress-to-Lead for Salesforce Form’,’salesforce’) );
    $control_ops = array( ‘width’ => 200, ‘height’ => 250, ‘id_base’ => ‘salesforce’ );
    parent::__construct( ‘salesforce’, ‘Salesforce’, $widget_ops, $control_ops );
    }

    https://ww.wp.xz.cn/plugins/salesforce-wordpress-to-lead/

Viewing 1 replies (of 1 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    It’s already fixed in the development version (on GitHub). Will be in the next release… which should be this week.

Viewing 1 replies (of 1 total)

The topic ‘wordpress 4.3 errors / notices’ is closed to new replies.