- fixed email notifications integration;

- fixed small notices;
This commit is contained in:
nikitozzzzzzz
2017-11-12 15:55:43 +02:00
parent 5c8b9b10f5
commit cfbdb688fe
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -296,12 +296,12 @@ if ( ! class_exists( 'UM' ) ) {
$this->register();
$this->user_posts();
$this->access();
$this->mail();
$this->members();
$this->logout();
}
//common includes
$this->mail();
$this->rest_api();
$this->shortcodes();
$this->roles();
+1 -1
View File
@@ -148,7 +148,7 @@ if ( ! class_exists( 'Access' ) ) {
$restricted_posts = um_get_option( 'restricted_access_post_metabox' );
if ( ! empty( $restricted_posts[ $post->post_type ] ) ) {
if ( ! empty( $post->post_type ) && ! empty( $restricted_posts[ $post->post_type ] ) ) {
$restriction = get_post_meta( $post->ID, 'um_content_restriction', true );
if ( ! empty( $restriction['_um_custom_access_settings'] ) ) {
+1 -1
View File
@@ -14,7 +14,7 @@ if ( ! class_exists( 'Mail' ) ) {
//mandrill compatibility
add_filter( 'mandrill_nl2br', array( &$this, 'mandrill_nl2br' ) );
add_action( 'plugins_loaded', array( &$this, 'init_paths' ) );
add_action( 'plugins_loaded', array( &$this, 'init_paths' ), 99 );
}