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