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
+5 -2
View File
@@ -8,7 +8,7 @@ class UM_Admin_Access {
add_action( 'load-post.php', array(&$this, 'add_metabox'), 9 );
add_action( 'load-post-new.php', array(&$this, 'add_metabox'), 9 );
}
/***
@@ -38,6 +38,9 @@ class UM_Admin_Access {
if ( strstr($post_type, 'um_') )
return true;
if ( $post_type == 'shop_order' )
return true;
if ( !class_exists('UM_bbPress_API') && in_array($post_type,array('forum','topic','reply')) )
return true;
@@ -97,7 +100,7 @@ class UM_Admin_Access {
if ( !$this->core_post_type( $post_type ) ) {
add_meta_box('um-admin-access-settings', __('Access Control'), array(&$this, 'load_metabox_form'), $post_type, 'side', 'default');
add_meta_box('um-admin-access-settings', __('Ultimate Member'), array(&$this, 'load_metabox_form'), $post_type, 'side', 'default');
}