mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 07:04:06 +09:00
Unnecessary code removed
This commit is contained in:
@@ -41,14 +41,6 @@ class UM_Admin_Notices {
|
||||
global $ultimatemember;
|
||||
$hide_register_notice = get_option('um_can_register_notice');
|
||||
|
||||
if ( !get_option('um_passwords_secured') ) {
|
||||
echo '<div class="updated error"><p>';
|
||||
|
||||
echo sprintf(__( 'Secure your database by removing hardcoded user passwords now. Click <a href="%s">here</a> to secure your database.', 'ultimatemember' ), add_query_arg('um_adm_action', 'um_passwords_secured') );
|
||||
|
||||
echo '</p></div>';
|
||||
}
|
||||
|
||||
if ( !get_option('users_can_register') && !$hide_register_notice ) {
|
||||
|
||||
echo '<div class="updated" style="border-color: #3ba1da;"><p>';
|
||||
|
||||
Reference in New Issue
Block a user