Changeset 60804 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 09/28/2025 09:54:21 PM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-theme.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r60796 r60804 784 784 * 785 785 * Prevents a callback from being injected during unserialization of an object. 786 * 787 * @since 6.9.0 788 * 789 * @param array $data Data to unserialize. 790 */ 791 public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound 786 */ 787 public function __wakeup() { 792 788 if ( $this->parent && ! $this->parent instanceof self ) { 793 789 throw new UnexpectedValueException(); … … 802 798 } 803 799 $this->headers_sanitized = array(); 804 }805 806 /**807 * Wakeup magic method.808 *809 * @since 6.4.0810 */811 public function __wakeup() {812 $this->__unserialize( array() );813 800 } 814 801
Note: See TracChangeset
for help on using the changeset viewer.