[wp-trac] [WordPress Trac] #37050: Make the `WP_Network` `id` property an int

WordPress Trac noreply at wordpress.org
Sun Jun 26 13:21:16 UTC 2016


#37050: Make the `WP_Network` `id` property an int
--------------------------------------+------------------------
 Reporter:  jeremyfelt                |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.6
Component:  Networks and Sites        |     Version:  4.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------

Comment (by jeremyfelt):

 Looks good, @flixos90. I adjusted the test name so that it's a bit more
 explicit - `test_wp_network_object_id_property_is_int()`.

 I'm going to handle the `$blog_id` adjustment in a second commit attached
 to #36717 so that this ID change is more clear.

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


More information about the wp-trac mailing list