Update 1.3.29

This commit is contained in:
champsupertramp
2015-11-05 19:51:31 +08:00
parent 8b89da079a
commit 0634f773d5
260 changed files with 21302 additions and 5951 deletions
-12
View File
@@ -80,16 +80,4 @@
break;
}
}
/***
*** @prevent moving core posts to trash
***/
add_action('wp_trash_post','um_core_posts_delete');
function um_core_posts_delete($post_id){
global $ultimatemember;
if ( $ultimatemember->query->is_core($post_id) ) {
wp_die('This is a core functionality of Ultimate Member and cannot be deleted!');
}
}