Update 1.2.2

This commit is contained in:
ultimatemember
2015-04-15 16:59:27 +02:00
parent 5e281fbeaf
commit 7b9b59ea8d
32 changed files with 1375 additions and 135 deletions
+4
View File
@@ -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;
+11
View File
@@ -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
***/
+2
View File
@@ -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>
+2 -2
View File
@@ -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/',