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