Skip to:
Content

BuddyPress.org

Ticket #5551: 5551.patch

File 5551.patch, 390 bytes (added by imath, 6 years ago)
  • bp-members/bp-members-admin.php

    diff --git bp-members/bp-members-admin.php bp-members/bp-members-admin.php
    index e03c1a1..c1626bb 100644
    class BP_Members_Admin { 
    822822                        return;
    823823                }
    824824
     825                if ( ! function_exists( 'get_current_screen' ) ) {
     826                        return;
     827                }
     828
    825829                if ( $this->users_page != get_current_screen()->id ) {
    826830                        return;
    827831                }