PluginProbe
Two Factor Authentication / 1.12.2
Two Factor Authentication v1.12.2
1.12.2 1.13.0 1.14.10 1.14.11 1.14.14 1.14.15 1.14.16 1.14.17 1.14.23 1.14.24 1.14.26 1.14.27 1.14.3 1.14.4 1.14.5 1.14.7 1.14.8 1.15.5 1.16.0 1.2.10 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 All 98 releases
two-factor-authentication / templates / settings-intro-notices.php

settings-intro-notices.php in Two Factor Authentication 1.12.2, at templates/settings-intro-notices.php

29 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <p class="simba_tfa_personal_settings_notice simba_tfa_intro_notice">
2 <?php
3
4 echo __('These are your personal settings.', 'two-factor-authentication').' '.__('Nothing you change here will have any effect on other users.', 'two-factor-authentication');
5
6 if (is_multisite()) {
7 if (is_super_admin()) {
8 // Since WP 4.9
9 $main_site_id = function_exists('get_main_site_id') ? get_main_site_id() : 1;
10 $switched = switch_to_blog($main_site_id);
11 echo ' <a href="'.admin_url('options-general.php?page=two-factor-auth').'">'.__('The site-wide administration options are here.', 'two-factor-authentication').'</a>';
12 if ($switched) restore_current_blog();
13 }
14 } elseif (current_user_can($simba_tfa->get_management_capability())) {
15 echo ' <a href="'.admin_url('options-general.php?page=two-factor-auth').'">'.__('The site-wide administration options are here.', 'two-factor-authentication').'</a>';
16 }
17
18 ?>
19 </p>
20
21 <p class="simba_tfa_verify_tfa_notice simba_tfa_intro_notice"><strong>
22
23 <?php echo apply_filters('simbatfa_message_you_should_verify', __('If you activate two-factor authentication, then verify that your two-factor application and this page show the same One-Time Password (within a minute of each other) before you log out.', 'two-factor-authentication')); ?></strong>
24
25 <?php if (current_user_can($simba_tfa->get_management_capability())) { ?>
26 <a href="https://wordpress.org/plugins/two-factor-authentication/faq/"><?php _e('You should also bookmark the FAQs, which explain how to de-activate the plugin even if you cannot log in.', 'two-factor-authentication');?></a>
27 <?php } ?>
28 </p>
29