- 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-patterns-registry.php
r60275 r60796 246 246 } 247 247 248 public function __wakeup() { 248 /** 249 * Unserialize magic method. 250 * 251 * @since 6.9.0 252 * 253 * @param array $data Data to unserialize. 254 */ 255 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 249 256 if ( ! $this->registered_patterns ) { 250 257 return; … … 259 266 } 260 267 $this->registered_patterns_outside_init = array(); 268 } 269 270 /** 271 * Wakeup magic method. 272 * 273 * @since 6.4.0 274 */ 275 public function __wakeup() { 276 $this->__unserialize( array() ); 261 277 } 262 278
Note: See TracChangeset
for help on using the changeset viewer.