mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 05:33:36 +09:00
Version 1.0.25
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -820,7 +820,7 @@ class UM_Admin_Metabox {
|
||||
case '_force_good_pass':
|
||||
?>
|
||||
|
||||
<p><label for="_force_good_pass">Force strong password? <?php $this->tooltip( __('Turn on to force users to create a strong password (must include 1 number and 1 uppercase character). If turned on this option is only applied to register forms and not to login forms.','ultimatemember') ); ?></label>
|
||||
<p><label for="_force_good_pass">Force strong password? <?php $this->tooltip( __('Turn on to force users to create a strong password (A combination of one lowercase letter, one uppercase letter, and one number). If turned on this option is only applied to register forms and not to login forms.','ultimatemember') ); ?></label>
|
||||
<?php if ( isset( $this->edit_mode_value ) ) $this->ui_on_off('_force_good_pass', $this->edit_mode_value ); else $this->ui_on_off('_force_good_pass', 0 ); ?>
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user