Changeset 60804 for trunk/src/wp-includes/class-wp-block-type-registry.php
- Timestamp:
- 09/28/2025 09:54:21 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type-registry.php
r60796 r60804 169 169 } 170 170 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 171 public function __wakeup() { 179 172 if ( ! $this->registered_block_types ) { 180 173 return; … … 191 184 192 185 /** 193 * Wakeup magic method.194 *195 * @since 6.4.0196 */197 public function __wakeup() {198 $this->__unserialize( array() );199 }200 201 /**202 186 * Utility method to retrieve the main instance of the class. 203 187 *
Note: See TracChangeset
for help on using the changeset viewer.