Multisite: Use correct types in `get_sites()` during network upgrade.

`spam`, `deleted`, and `archived` query args should be integers, not strings.

Props ocean90.
See #37823.


git-svn-id: https://develop.svn.wordpress.org/trunk@38819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2016-10-19 05:10:22 +00:00
parent f04f183213
commit 79cee7a230
1 changed files with 3 additions and 3 deletions

View File

@ -53,9 +53,9 @@ switch ( $action ) {
}
$site_ids = get_sites( array(
'spam' => '0',
'deleted' => '0',
'archived' => '0',
'spam' => 0,
'deleted' => 0,
'archived' => 0,
'network_id' => get_current_network_id(),
'number' => 5,
'offset' => $n,