Expand on the logic previously available as part of `is_main_network()` and provide a way to obtain the ID of the main network. Most useful in multi-network configurations. Props @johnjamesjacoby for the initial patch. Fixes #30294. Built from https://develop.svn.wordpress.org/trunk@32775 git-svn-id: http://core.svn.wordpress.org/trunk@32746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
147 KiB
147 KiB