Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Requires the shoppingfeed plugin

## Changelog

### 1.0.5 (8-07-2025)

* fix: set visibility to public for the __wakeup() method in the ShoppingFeedCustomFields class

### 1.0.4 (28-08-2023)

* fix: missing value for select with single value
Expand Down
3 changes: 2 additions & 1 deletion src/ShoppingFeedCustomFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ private function __clone() {
/**
* Singleton instance can't be serialized.
*/
private function __wakeup() {
public function __wakeup() {
throw new \Exception( 'Cannot unserialize a singleton.' );
}
}
Loading