mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Update 1.2.2
This commit is contained in:
@@ -107,6 +107,10 @@ body.um-admin-modal-open {
|
||||
- Form Inputs
|
||||
*/
|
||||
|
||||
.um-admin-metabox h3 {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.um-admin-metabox h4 {
|
||||
font-size: 14px;
|
||||
background: #f5f5f5;
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
<?php
|
||||
|
||||
/***
|
||||
*** @when role is saved
|
||||
***/
|
||||
function um_admin_delete_role_cache($post_id, $post){
|
||||
if(get_post_type( $post_id ) == 'um_role'){
|
||||
$slug = $post->post_name;
|
||||
delete_option("um_cached_role_{$slug}");
|
||||
}
|
||||
}
|
||||
add_action('save_post', 'um_admin_delete_role_cache', 1111, 2);
|
||||
|
||||
/***
|
||||
*** @delete users need confirmation
|
||||
***/
|
||||
|
||||
@@ -73,6 +73,8 @@
|
||||
</span>
|
||||
</p><div class="um-admin-clear"></div>
|
||||
|
||||
<?php do_action('um_admin_extend_directory_options_general', $this); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="um-admin-clear"></div>
|
||||
|
||||
@@ -49,12 +49,12 @@
|
||||
'desc' => 'Alert users to important information or let them know about promotions or new features using conditional notices.',
|
||||
);
|
||||
|
||||
/*$free['online-users'] = array(
|
||||
$free['online-users'] = array(
|
||||
'url' => 'https://ultimatemember.com/extensions/online-users/',
|
||||
'image' => 'https://ultimatemember.com/wp-content/uploads/2015/04/onlineuser1-01-copy.png',
|
||||
'name' => 'Online Users',
|
||||
'desc' => 'Adds online users widget to your site and allow you to show the online users anywhere with a simple shortcode, and also see user online status.'
|
||||
);*/
|
||||
);
|
||||
|
||||
$free['google-recaptcha'] = array(
|
||||
'url' => 'https://ultimatemember.com/extensions/google-recaptcha/',
|
||||
|
||||
Reference in New Issue
Block a user