- Timestamp:
- 10/12/2023 02:59:09 PM (16 months ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
- Property svn:mergeinfo changed
/trunk merged: 56833-56838
- Property svn:mergeinfo changed
-
branches/6.0/src/wp-includes/class-wp-block-patterns-registry.php
r53405 r56870 187 187 } 188 188 189 public function __wakeup() { 190 if ( ! $this->registered_patterns ) { 191 return; 192 } 193 if ( ! is_array( $this->registered_patterns ) ) { 194 throw new UnexpectedValueException(); 195 } 196 foreach ( $this->registered_patterns as $value ) { 197 if ( ! is_array( $value ) ) { 198 throw new UnexpectedValueException(); 199 } 200 } 201 $this->registered_patterns_outside_init = array(); 202 } 203 189 204 /** 190 205 * Utility method to retrieve the main instance of the class.
Note: See TracChangeset
for help on using the changeset viewer.