Go to file
Andrew Nacin dc0d29b59b Introduce is_main_network().
By default, a network ID of 1 is assumed to be the main network.
Otherwise, it is the first network listed in the wp_site table.

If PRIMARY_NETWORK_ID is defined, it is considered main network.

props jeremyfelt.
see #25030.


git-svn-id: https://develop.svn.wordpress.org/trunk@25147 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-28 03:34:50 +00:00
src Introduce is_main_network(). 2013-08-28 03:34:50 +00:00
tests Unit Tests: Make it more compatible with PHPUnit when installed as a Phar, or, Composer package, by removing a duplicate require (Phpunit already includes the file itself). Props scribu Fixes #25065 2013-08-28 01:43:14 +00:00
tools/i18n i18n Tools: Update the default msgid-bugs-address. see #21444. 2013-08-22 22:07:08 +00:00
.gitignore New develop.svn.wordpress.org repository based on the old core.svn repository. 2013-08-07 05:25:25 +00:00
Gruntfile.js Remove temporary svn task from Gruntfile.js. props jorbin, fixes #24981. 2013-08-07 17:34:05 +00:00
package.json New develop.svn.wordpress.org repository based on the old core.svn repository. 2013-08-07 05:25:25 +00:00