[wp-trac] [WordPress Trac] #63962: PHP 8.5: Fix deprecation notices for __sleep and __wakeup magic methods

WordPress Trac noreply at wordpress.org
Fri Sep 12 14:36:40 UTC 2025


#63962: PHP 8.5: Fix deprecation notices for __sleep and __wakeup magic methods
-------------------------------+--------------------------------
 Reporter:  TobiasBg           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.9
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch php85  |     Focuses:  php-compatibility
-------------------------------+--------------------------------

Comment (by TobiasBg):

 It looks like all/most of these `__wakeup` calls were added via [56835],
 including those in the Requests library (despite it being an external
 library).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63962#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list