- 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-open-elements.php
r59391 r60796 843 843 844 844 /** 845 * Unserialize magic method. 846 * 847 * @since 6.9.0 848 * 849 * @param array $data Data to unserialize. 850 */ 851 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 852 throw new \LogicException( __CLASS__ . ' should never be unserialized' ); 853 } 854 855 /** 845 856 * Wakeup magic method. 846 857 * … … 848 859 */ 849 860 public function __wakeup() { 850 throw new \LogicException( __CLASS__ . ' should never be unserialized');861 $this->__unserialize( array() ); 851 862 } 852 863 }
Note: See TracChangeset
for help on using the changeset viewer.