Skip to:
Content

BuddyPress.org

Ticket #8414: 8414.patch

File 8414.patch, 872 bytes (added by slaFFik, 4 years ago)
  • src/bp-core/admin/bp-core-admin-tools.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/src/bp-core/admin/bp-core-admin-tools.php b/src/bp-core/admin/bp-core-admin-tools.php
    a b  
    332332        /* translators: %s: the result of the action performed by the repair tool */
    333333        $statement = __( 'Repairing site icons/blog avatars synchronization&hellip; %s', 'buddypress' );
    334334
     335        if ( ! is_multisite() ) {
     336                return array( 0, sprintf( $statement, __( 'Failed!', 'buddypress' ) ) );
     337        }
     338
    335339        // Run function if blogs component is active.
    336340        if ( bp_is_active( 'blogs', 'site-icon' ) ) {
    337341                $blog_ids = get_sites(