[wp-trac] [WordPress Trac] #61675: wp-activate.php tries to set undefined property

WordPress Trac noreply at wordpress.org
Tue Oct 7 14:38:34 UTC 2025


#61675: wp-activate.php tries to set undefined property
-------------------------------+-------------------------------------------
 Reporter:  skithund           |       Owner:  spacedmonkey
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  6.9
Component:  Networks and       |     Version:
  Sites                        |
 Severity:  normal             |  Resolution:
 Keywords:  has-patch early    |     Focuses:  multisite, php-compatibility
-------------------------------+-------------------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch early commit => has-patch early


Comment:

 Replying to [comment:16 spacedmonkey]:
 > I think the patch from @skithund looks good. Marking as ready to commit.

 It appears that [https://github.com/WordPress/wordpress-develop/pull/7048
 PR 7048] would not work as expected, see comment:3:

 > While the patch proposed protects against the deprecation notice, it
 does not work with magic methods in place (which the WP_Object_Cache class
 has), so as things are, it would effectively disable the cache in most
 cases, which would break the functionality, which I don't think is your
 intention.
 >
 > Also see: https://3v4l.org/kLAYu

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


More information about the wp-trac mailing list