- Timestamp:
- 09/23/2025 07:26:03 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-bindings-registry.php
r59080 r60796 258 258 259 259 /** 260 * Wakeup magic method. 261 * 262 * @since 6.5.0 263 */ 264 public function __wakeup() { 260 * Unserialize magic method. 261 * 262 * @since 6.9.0 263 * 264 * @param array $data Data to unserialize. 265 */ 266 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 265 267 if ( ! $this->sources ) { 266 268 return; … … 277 279 278 280 /** 281 * Wakeup magic method. 282 * 283 * @since 6.5.0 284 */ 285 public function __wakeup() { 286 $this->__unserialize( array() ); 287 } 288 289 /** 279 290 * Utility method to retrieve the main instance of the class. 280 291 *
Note: See TracChangeset
for help on using the changeset viewer.