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

WordPress Trac noreply at wordpress.org
Fri Sep 13 22:11:06 UTC 2024


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

Comment (by SergeyBiryukov):

 In [changeset:"59020" 59020]:
 {{{
 #!CommitTicketReference repository="" revision="59020"
 Networks and Sites: Set `WP_Network` properties via setters upon creation.

 This ensures that `WP_Network::$id` is stored internally as `int`, to
 match the documented type.

 Follow-up to [37870].

 Props ironprogrammer, scottculverhouse, spacedmonkey, SergeyBiryukov.
 See #62035.
 }}}

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


More information about the wp-trac mailing list