Version 1.0.25

This commit is contained in:
ultimatemember
2015-01-26 16:58:31 +02:00
parent 33617b72c5
commit adebeee3d5
16 changed files with 561 additions and 333 deletions
+6 -1
View File
@@ -34,8 +34,13 @@ class UM_Admin_Access {
*** @Checks core post type
***/
function core_post_type( $post_type ){
if ( strstr($post_type, 'um_'))
if ( strstr($post_type, 'um_') )
return true;
if ( !class_exists('UM_bbPress_API') && in_array($post_type,array('forum','topic','reply')) )
return true;
return false;
}