mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@38819 git-svn-id: http://core.svn.wordpress.org/trunk@38762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
432d90050b
commit
4d44eeadd6
@ -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,
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38818';
|
||||
$wp_version = '4.7-alpha-38819';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user