Title: wordpress 4.3 errors / notices
Last modified: August 30, 2016

---

# wordpress 4.3 errors / notices

 *  Resolved [mskinna](https://wordpress.org/support/users/mskinna/)
 * (@mskinna)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-43-errors-notices/)
 * 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://wordpress.org/plugins/salesforce-wordpress-to-lead/](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-43-errors-notices/#post-6600104)
 * 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.

 * ![](https://ps.w.org/salesforce-wordpress-to-lead/assets/icon-256x256.png?rev
   =2316786)
 * [Brilliant Web-to-Lead for Salesforce](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salesforce-wordpress-to-lead/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/)
 * [Active Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/reviews/)

## Tags

 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-43-errors-notices/#post-6600104)
 * Status: resolved