[wp-trac] [WordPress Trac] #62035: SITE_ID_CURRENT_SITE broken in 6.3 or later

WordPress Trac noreply at wordpress.org
Mon Sep 16 07:11:21 UTC 2024


#62035: SITE_ID_CURRENT_SITE broken in 6.3 or later
-------------------------------------------------+-------------------------
 Reporter:  scottculverhouse                     |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  Networks and Sites                   |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:  multisite
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by scottculverhouse):

 Great work guys and thanks again for the prompt response / turnaround.

 I guess this issue is how PHP is tokenising the code and doesn't process
 `$this->$key = $value` the same as `$this->id = $value` therefore not
 passing to the `__set()`.

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


More information about the wp-trac mailing list