We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a722a commit e2dde55Copy full SHA for e2dde55
src/Modules/Licenser.php
@@ -667,6 +667,12 @@ private function get_version_data() {
667
if ( isset( $update_data->slug ) ) {
668
$update_data->slug = $this->product->get_slug();
669
}
670
+ if ( isset( $update_data->icons ) ) {
671
+ $update_data->icons = (array) $update_data->icons;
672
+ }
673
+ if ( isset( $update_data->banners ) ) {
674
+ $update_data->banners = (array) $update_data->banners;
675
676
return $update_data;
677
678
@@ -696,7 +702,6 @@ public function pre_set_site_transient_update_plugins_filter( $_transient_data )
696
702
$_transient_data->response[ $this->product->get_slug() . '/' . $this->product->get_file() ] = $api_response;
697
703
698
704
699
-
700
705
return $_transient_data;
701
706
707
0 commit comments