Skip to:
Content

BuddyPress.org

Ticket #7579: 7579.01.diff

File 7579.01.diff, 1014 bytes (added by thebrandonallen, 7 years ago)
  • .travis.yml

    diff --git .travis.yml .travis.yml
    index eb091e763..8bfdf4558 100644
    matrix: 
    6868      env: WP_VERSION=4.4 BP_TRAVISCI=travis:phpunit
    6969  allow_failures:
    7070    - php: 7.2
    71     - php: 7.1
    7271    - php: nightly
    7372    - env: WP_VERSION=master BP_TRAVISCI=travis:codecoverage
    7473# before_install: Failures in this section will result in build status 'errored'
  • src/bp-blogs/bp-blogs-functions.php

    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() ) { 
    100100
    101101        // Query for all sites in network.
    102102        $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' ),
    104104                'limit'    => 50,
    105105                'blog_ids' => array(),
    106106                'site_id'  => $wpdb->siteid