- Timestamp:
- 10/12/2023 03:09:08 PM (3 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp-block-patterns-registry.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
- Property svn:mergeinfo changed
/trunk merged: 56833-56836,56838
- Property svn:mergeinfo changed
-
branches/5.5/src/wp-includes/class-wp-block-patterns-registry.php
r48365 r56880 123 123 } 124 124 125 public function __wakeup() { 126 if ( ! $this->registered_patterns ) { 127 return; 128 } 129 if ( ! is_array( $this->registered_patterns ) ) { 130 throw new UnexpectedValueException(); 131 } 132 foreach ( $this->registered_patterns as $value ) { 133 if ( ! is_array( $value ) ) { 134 throw new UnexpectedValueException(); 135 } 136 } 137 $this->registered_patterns_outside_init = array(); 138 } 139 125 140 /** 126 141 * Utility method to retrieve the main instance of the class.
Note: See TracChangeset
for help on using the changeset viewer.