diff --git .travis.yml .travis.yml
index eb091e763..8bfdf4558 100644
|
|
|
matrix: |
| 68 | 68 | env: WP_VERSION=4.4 BP_TRAVISCI=travis:phpunit |
| 69 | 69 | allow_failures: |
| 70 | 70 | - php: 7.2 |
| 71 | | - php: 7.1 |
| 72 | 71 | - php: nightly |
| 73 | 72 | - env: WP_VERSION=master BP_TRAVISCI=travis:codecoverage |
| 74 | 73 | # before_install: Failures in this section will result in build status 'errored' |
diff --git src/bp-blogs/bp-blogs-functions.php src/bp-blogs/bp-blogs-functions.php
index 993167476..eb1e06b22 100644
|
|
|
function bp_blogs_record_existing_blogs( $args = array() ) { |
| 100 | 100 | |
| 101 | 101 | // Query for all sites in network. |
| 102 | 102 | $r = bp_parse_args( $args, array( |
| 103 | | 'offset' => false === bp_get_option( '_bp_record_blogs_offset' ) ? 0 : bp_get_option( '_bp_record_blogs_offset' ), |
| | 103 | 'offset' => (int) bp_get_option( '_bp_record_blogs_offset' ), |
| 104 | 104 | 'limit' => 50, |
| 105 | 105 | 'blog_ids' => array(), |
| 106 | 106 | 'site_id' => $wpdb->siteid |