Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2016 07:22:54 PM (10 years ago)
Author:
imath
Message:

Make sure the Sign-ups Administration page is available when BuddyPress is "multiblog" activated.

On multisite configs, when the constant BP_ENABLE_MULTIBLOG is set to true, Sign-ups can be managed from the Users administration of the network.

Props r-a-y, sbrajesh

Fixes #6371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/admin/bp-members-admin-classes.php

    r10422 r10456  
    483483        // Remove the 'current' class from the 'All' link.
    484484        $views['all']        = str_replace( 'class="current"', '', $views['all'] );
    485         $views['registered'] = sprintf( '<a href="%1$s" class="current">%2$s</a>', esc_url( add_query_arg( 'page', 'bp-signups', bp_get_admin_url( 'users.php' ) ) ), sprintf( _x( 'Pending %s', 'signup users', 'buddypress' ), '<span class="count">(' . number_format_i18n( $this->signup_counts ) . ')</span>' ) );
     485        $views['registered'] = sprintf( '<a href="%1$s" class="current">%2$s</a>', esc_url( add_query_arg( 'page', 'bp-signups', network_admin_url( 'users.php' ) ) ), sprintf( _x( 'Pending %s', 'signup users', 'buddypress' ), '<span class="count">(' . number_format_i18n( $this->signup_counts ) . ')</span>' ) );
    486486
    487487        return $views;
     
    647647                'action'    => 'resend',
    648648            ),
    649             bp_get_admin_url( 'users.php' )
     649            network_admin_url( 'users.php' )
    650650        );
    651651
     
    657657                'action'    => 'activate',
    658658            ),
    659             bp_get_admin_url( 'users.php' )
     659            network_admin_url( 'users.php' )
    660660        );
    661661
     
    667667                'action'    => 'delete',
    668668            ),
    669             bp_get_admin_url( 'users.php' )
     669            network_admin_url( 'users.php' )
    670670        );
    671671
Note: See TracChangeset for help on using the changeset viewer.