mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- GDPR extension added;
- fixed some issues with dependencies pre2.0 extensions;
This commit is contained in:
@@ -225,9 +225,32 @@ if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
|
||||
function old_extensions_notice() {
|
||||
$show = false;
|
||||
|
||||
$old_extensions = array(
|
||||
'bbpress',
|
||||
'followers',
|
||||
'friends',
|
||||
'instagram',
|
||||
'mailchimp',
|
||||
'messaging',
|
||||
'mycred',
|
||||
'notices',
|
||||
'notifications',
|
||||
'online',
|
||||
'private-content',
|
||||
'profile-completeness',
|
||||
'recaptcha',
|
||||
'reviews',
|
||||
'social-activity',
|
||||
'social-login',
|
||||
'terms-conditions',
|
||||
'user-tags',
|
||||
'verified-users',
|
||||
'woocommerce',
|
||||
);
|
||||
|
||||
$slugs = array_map( function( $item ) {
|
||||
return 'um-' . $item . '/um-' . $item . '.php';
|
||||
}, array_keys( UM()->dependencies()->ext_required_version ) );
|
||||
}, $old_extensions );
|
||||
|
||||
$active_plugins = UM()->dependencies()->get_active_plugins();
|
||||
foreach ( $slugs as $slug ) {
|
||||
|
||||
Reference in New Issue
Block a user