diff --git a/index.php b/index.php index 6d09120..3f8aeec 100644 --- a/index.php +++ b/index.php @@ -1139,7 +1139,7 @@ public function upgrade_c($v1,$v2) $upgrader_object = $v1; $options = $v2; - if($upgrader_object->result['destination_name']!=$this->internal['id']) + if( isset($upgrader_object->result['destination_name']) AND $upgrader_object->result['destination_name']!=$this->internal['id']) { return; } diff --git a/readme.txt b/readme.txt index ad619d1..ab1d6c5 100644 --- a/readme.txt +++ b/readme.txt @@ -62,6 +62,7 @@ To be updated = 2.1.7 = * Added alt tags and aria labels for screen readers to call to action button under posts and sitebar widgets and forms for accessibility. +* Fixed a PHP warning = 2.1.6 = @@ -186,6 +187,7 @@ To be updated = 2.1.7 = * Added alt tags and aria labels for screen readers to call to action button under posts and sitebar widgets and forms for accessibility +* Fixed a PHP warning = 2.1.6 =