- Timestamp:
- 09/23/2025 07:26:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-bindings-source.php
r58972 r60796 100 100 101 101 /** 102 * Unserialize magic method. 103 * 104 * @since 6.9.0 105 * 106 * @param array $data Data to unserialize. 107 */ 108 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 109 throw new \LogicException( __CLASS__ . ' should never be unserialized' ); 110 } 111 112 /** 102 113 * Wakeup magic method. 103 114 * … … 105 116 */ 106 117 public function __wakeup() { 107 throw new \LogicException( __CLASS__ . ' should never be unserialized');118 $this->__unserialize( array() ); 108 119 } 109 120 }
Note: See TracChangeset
for help on using the changeset viewer.