mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added setting 'Restricted Access Post Title' for restricted posts displayed in archive;
- fixed access class for posts visible in query but that have restriction settings (message or redirect);
This commit is contained in:
@@ -543,6 +543,7 @@ if ( ! class_exists( 'um\Config' ) ) {
|
||||
'access_exclude_uris' => array(),
|
||||
'home_page_accessible' => 1,
|
||||
'category_page_accessible' => 1,
|
||||
'restricted_access_post_title' => __( 'Restricted content', 'ultimate-member' ),
|
||||
'restricted_access_message' => '',
|
||||
'restricted_blocks' => 0,
|
||||
'enable_blocks' => 0,
|
||||
@@ -801,4 +802,4 @@ if ( ! class_exists( 'um\Config' ) ) {
|
||||
}
|
||||
//end class
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user