- fixed WP Capabilities for Gravity Forms plugin;

- fixed ability to view other users profiles;
This commit is contained in:
nikitozzzzzzz
2018-08-05 14:30:17 +03:00
parent 39291042b3
commit 16356d59a4
3 changed files with 38 additions and 11 deletions
+13
View File
@@ -280,6 +280,7 @@ if ( ! class_exists( 'UM' ) ) {
// include UM classes
$this->includes();
$this->plugins_loaded();
// include hook files
add_action( 'plugins_loaded', array( &$this, 'init' ), 0 );
@@ -300,6 +301,18 @@ if ( ! class_exists( 'UM' ) ) {
}
public function plugins_loaded() {
//gravity forms
if ( ! function_exists('members_get_capabilities' ) ) {
function members_get_capabilities() {
}
}
}
function old_update_patch() {
global $um_woocommerce, $um_bbpress, $um_followers, $um_friends, $um_mailchimp, $um_messaging, $um_mycred, $um_notices, $um_notifications, $um_online, $um_private_content, $um_profile_completeness, $um_recaptcha, $um_reviews, $um_activity, $um_social_login, $um_user_tags, $um_verified;