Changeset 60796 for trunk/src/wp-includes/class-wp-block-type-registry.php
- Timestamp:
- 09/23/2025 07:26:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type-registry.php
r56835 r60796 169 169 } 170 170 171 public function __wakeup() { 171 /** 172 * Unserialize magic method. 173 * 174 * @since 6.9.0 175 * 176 * @param array $data Data to unserialize. 177 */ 178 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 172 179 if ( ! $this->registered_block_types ) { 173 180 return; … … 184 191 185 192 /** 193 * Wakeup magic method. 194 * 195 * @since 6.4.0 196 */ 197 public function __wakeup() { 198 $this->__unserialize( array() ); 199 } 200 201 /** 186 202 * Utility method to retrieve the main instance of the class. 187 203 *
Note: See TracChangeset
for help on using the changeset viewer.