Go to file
Felix Arntz 43396e2b42 Multisite: Pass network object instead of ID to `pre_get_main_site_id`.
In the original function introduced in [41380], and subsequently [41861], only the network ID was passed to the new `pre_get_main_site_id` filter. In order to make give quick access to other network properties, it was decided to pass the whole object instead. The changeset includes an additional test.

Fixes #29684.


git-svn-id: https://develop.svn.wordpress.org/trunk@42043 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-30 19:55:09 +00:00
src Multisite: Pass network object instead of ID to `pre_get_main_site_id`. 2017-10-30 19:55:09 +00:00
tests Multisite: Pass network object instead of ID to `pre_get_main_site_id`. 2017-10-30 19:55:09 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
jsdoc.conf.json
package.json
phpunit.xml.dist
webpack.config.dev.js
webpack.config.prod.js
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php