Changeset 60796 for trunk/src/wp-includes/html-api/class-wp-html-token.php
- Timestamp:
- 09/23/2025 07:26:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-token.php
r58867 r60796 117 117 118 118 /** 119 * Unserialize magic method. 120 * 121 * @since 6.9.0 122 * 123 * @param array $data Data to unserialize. 124 */ 125 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 126 throw new \LogicException( __CLASS__ . ' should never be unserialized' ); 127 } 128 129 /** 119 130 * Wakeup magic method. 120 131 * … … 122 133 */ 123 134 public function __wakeup() { 124 throw new \LogicException( __CLASS__ . ' should never be unserialized');135 $this->__unserialize( array() ); 125 136 } 126 137 }
Note: See TracChangeset
for help on using the changeset viewer.