This commit is contained in:
yura_nalivaiko
2018-02-09 10:09:15 +02:00
52 changed files with 5661 additions and 6741 deletions
+19 -9
View File
@@ -20,24 +20,24 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
* @var array
*/
public $ext_required_version = array(
'bbpress' => '2.0',
'followers' => '2.0',
'friends' => '2.0',
'bbpress' => '2.0.1',
'followers' => '2.0.1',
'friends' => '2.0.1',
'groups' => '2.0',
'instagram' => '2.0',
'invitations' => '2.0',
'mailchimp' => '2.0',
'messaging' => '2.0',
'mailchimp' => '2.0.1',
'messaging' => '2.0.1',
'mycred' => '2.0',
'notices' => '2.0',
'notices' => '2.0.1',
'notifications' => '2.0',
'online' => '2.0',
'private-content' => '2.0',
'profile-completeness' => '2.0',
'profile-completeness' => '2.0.1',
'recaptcha' => '2.0',
'reviews' => '2.0',
'reviews' => '2.0.1',
'social-activity' => '2.0',
'social-login' => '2.0',
'social-login' => '2.0.1',
'terms-conditions' => '2.0',
'user-location' => '2.0',
'user-tags' => '2.0',
@@ -59,6 +59,16 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
}
/**
* @return mixed
*/
public function get_active_plugins() {
if ( ! self::$active_plugins ) self::init();
return self::$active_plugins;
}
/**
* Check if UltimateMember core plugin is active
*