Changes between Initial Version and Version 1 of Ticket #29684, comment 31
- Timestamp:
- 08/31/2017 08:44:38 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29684, comment 31
initial v1 4 4 Ah right, I missed this. Let's add these two tests back in, and in `get_main_site_id()` call `get_network( get_site()->network_id )`. A bit strange, but that should make it work. 5 5 6 @spacedmonkey 7 6 8 > Because there is a magic getting in WP_Network, calling site_id will call `get_main_site_id`. The reason you want to make sure the magic getter run, is that it only runs once. This stops the logic running multiple times. 7 9