Version Description
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Google Authenticator – WordPress Two Factor Authentication (2FA) |
Version | 4.4.1 |
Comparing to | |
See all releases |
Code changes from version 4.4 to 4.4.1
class-miniorange-2-factor-login.php
CHANGED
@@ -117,8 +117,8 @@ class Miniorange_Mobile_Login{
|
|
117 |
}
|
118 |
|
119 |
function mo_2_factor_hide_login() {
|
120 |
-
wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=4.4', __FILE__ ) );
|
121 |
-
wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=4.4', __FILE__ ) );
|
122 |
|
123 |
wp_enqueue_style( 'hide-login' );
|
124 |
wp_enqueue_style( 'bootstrap' );
|
@@ -127,15 +127,15 @@ class Miniorange_Mobile_Login{
|
|
127 |
|
128 |
function mo_2_factor_show_login() {
|
129 |
if(get_option('mo2f_show_loginwith_phone')){
|
130 |
-
wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=4.4', __FILE__ ) );
|
131 |
}else{
|
132 |
-
wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=4.4', __FILE__ ) );
|
133 |
}
|
134 |
wp_enqueue_style( 'show-login' );
|
135 |
}
|
136 |
|
137 |
function mo_2_factor_show_login_with_password_when_phonelogin_enabled(){
|
138 |
-
wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=4.4', __FILE__ ) );
|
139 |
wp_enqueue_style( 'show-login' );
|
140 |
}
|
141 |
|
117 |
}
|
118 |
|
119 |
function mo_2_factor_hide_login() {
|
120 |
+
wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=4.4.1', __FILE__ ) );
|
121 |
+
wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=4.4.1', __FILE__ ) );
|
122 |
|
123 |
wp_enqueue_style( 'hide-login' );
|
124 |
wp_enqueue_style( 'bootstrap' );
|
127 |
|
128 |
function mo_2_factor_show_login() {
|
129 |
if(get_option('mo2f_show_loginwith_phone')){
|
130 |
+
wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=4.4.1', __FILE__ ) );
|
131 |
}else{
|
132 |
+
wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=4.4.1', __FILE__ ) );
|
133 |
}
|
134 |
wp_enqueue_style( 'show-login' );
|
135 |
}
|
136 |
|
137 |
function mo_2_factor_show_login_with_password_when_phonelogin_enabled(){
|
138 |
+
wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=4.4.1', __FILE__ ) );
|
139 |
wp_enqueue_style( 'show-login' );
|
140 |
}
|
141 |
|
class-miniorange-2-factor-user-registration.php
CHANGED
@@ -30,7 +30,7 @@ class Miniorange_User_Register{
|
|
30 |
}
|
31 |
|
32 |
function plugin_settings_style() {
|
33 |
-
wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url('includes/css/style_settings.css?version=4.4', __FILE__));
|
34 |
}
|
35 |
|
36 |
function mo_auth_success_message() {
|
30 |
}
|
31 |
|
32 |
function plugin_settings_style() {
|
33 |
+
wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__));
|
34 |
}
|
35 |
|
36 |
function mo_auth_success_message() {
|
includes/css/bootstrap.min.css
CHANGED
@@ -362,7 +362,7 @@ button.mo2f_close {
|
|
362 |
bottom: 0;
|
363 |
left: 0;
|
364 |
z-index: 100000 !important;
|
365 |
-
|
366 |
overflow: hidden !important;
|
367 |
-webkit-overflow-scrolling: touch;
|
368 |
outline: 0;
|
@@ -370,6 +370,10 @@ button.mo2f_close {
|
|
370 |
|
371 |
}
|
372 |
|
|
|
|
|
|
|
|
|
373 |
.mo2f_modal.fade .mo2f_modal-dialog {
|
374 |
-webkit-transition: -webkit-transform .3s ease-out;
|
375 |
-o-transition: -o-transform .3s ease-out;
|
362 |
bottom: 0;
|
363 |
left: 0;
|
364 |
z-index: 100000 !important;
|
365 |
+
|
366 |
overflow: hidden !important;
|
367 |
-webkit-overflow-scrolling: touch;
|
368 |
outline: 0;
|
370 |
|
371 |
}
|
372 |
|
373 |
+
.mo2f_modal_inner{
|
374 |
+
display: none;
|
375 |
+
}
|
376 |
+
|
377 |
.mo2f_modal.fade .mo2f_modal-dialog {
|
378 |
-webkit-transition: -webkit-transform .3s ease-out;
|
379 |
-o-transition: -o-transform .3s ease-out;
|
miniorange_2_factor_common_login.php
CHANGED
@@ -193,10 +193,10 @@
|
|
193 |
<?php
|
194 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
195 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
196 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
197 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
198 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
199 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
200 |
?>
|
201 |
</head>
|
202 |
<body>
|
@@ -266,10 +266,10 @@
|
|
266 |
<?php
|
267 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
268 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
269 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
270 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
271 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
272 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
273 |
?>
|
274 |
</head>
|
275 |
|
@@ -355,10 +355,10 @@
|
|
355 |
<?php
|
356 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
357 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
358 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
359 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
360 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
361 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
362 |
?>
|
363 |
</head>
|
364 |
<body>
|
@@ -541,10 +541,10 @@
|
|
541 |
<?php
|
542 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
543 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
544 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
545 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
546 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
547 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
548 |
?>
|
549 |
</head>
|
550 |
<body>
|
@@ -708,10 +708,10 @@
|
|
708 |
<?php
|
709 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
710 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
711 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
712 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
713 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
714 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
715 |
?>
|
716 |
</head>
|
717 |
<body>
|
@@ -893,10 +893,10 @@
|
|
893 |
<?php
|
894 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
895 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
896 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__) . '" />';
|
897 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__) . '" />';
|
898 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4', __FILE__) . '" />';
|
899 |
-
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4', __FILE__) . '" />';
|
900 |
?>
|
901 |
</head>
|
902 |
<body>
|
193 |
<?php
|
194 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
195 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
196 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
197 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
198 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
199 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
200 |
?>
|
201 |
</head>
|
202 |
<body>
|
266 |
<?php
|
267 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
268 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
269 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
270 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
271 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
272 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
273 |
?>
|
274 |
</head>
|
275 |
|
355 |
<?php
|
356 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
357 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
358 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
359 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
360 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
361 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
362 |
?>
|
363 |
</head>
|
364 |
<body>
|
541 |
<?php
|
542 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
543 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
544 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
545 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
546 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
547 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
548 |
?>
|
549 |
</head>
|
550 |
<body>
|
708 |
<?php
|
709 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
710 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
711 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
712 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
713 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
714 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
715 |
?>
|
716 |
</head>
|
717 |
<body>
|
893 |
<?php
|
894 |
echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
|
895 |
echo '<script src="' . plugins_url('includes/js/bootstrap.min.js', __FILE__) . '" ></script>';
|
896 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__) . '" />';
|
897 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__) . '" />';
|
898 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__) . '" />';
|
899 |
+
echo '<link rel="stylesheet" type="text/css" href="' . plugins_url('includes/css/hide-login.css?version=4.4.1', __FILE__) . '" />';
|
900 |
?>
|
901 |
</head>
|
902 |
<body>
|
miniorange_2_factor_configuration.php
CHANGED
@@ -135,7 +135,7 @@
|
|
135 |
?>
|
136 |
|
137 |
<!-- Modal -->
|
138 |
-
<div id="clefMigration" class="mo2f_modal fade" role="dialog">
|
139 |
<div class="mo2f_modal-dialog">
|
140 |
<!-- Modal content-->
|
141 |
<div class="mo2f_modal-content" style="width:660px !important;">
|
135 |
?>
|
136 |
|
137 |
<!-- Modal -->
|
138 |
+
<div id="clefMigration" class="mo2f_modal mo2f_modal_inner fade" role="dialog">
|
139 |
<div class="mo2f_modal-dialog">
|
140 |
<!-- Modal content-->
|
141 |
<div class="mo2f_modal-content" style="width:660px !important;">
|
miniorange_2_factor_settings.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: miniOrange 2 Factor Authentication
|
4 |
* Plugin URI: http://miniorange.com
|
5 |
* Description: This plugin provides various two-factor authentication methods as an additional layer of security for wordpress login. We Support Phone Call, SMS, Email Verification, QR Code, Push, Soft Token, Google Authenticator, Authy, Security Questions(KBA), Woocommerce front-end login, Shortcodes for custom login pages.
|
6 |
-
* Version: 4.4
|
7 |
* Author: miniOrange
|
8 |
* Author URI: http://miniorange.com
|
9 |
* License: GPL2
|
@@ -223,15 +223,15 @@ class Miniorange_Authentication {
|
|
223 |
}
|
224 |
|
225 |
function mo_2_factor_enable_frontend_style() {
|
226 |
-
wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url('includes/css/front_end_login.css?version=4.4', __FILE__));
|
227 |
-
wp_enqueue_style( 'bootstrap_style', plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__));
|
228 |
-
wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url('includes/css/phone.css?version=4.4', __FILE__));
|
229 |
}
|
230 |
|
231 |
function plugin_settings_style() {
|
232 |
-
wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url('includes/css/style_settings.css?version=4.4', __FILE__));
|
233 |
-
wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url('includes/css/phone.css?version=4.4', __FILE__));
|
234 |
-
wp_enqueue_style( 'bootstrap_style', plugins_url('includes/css/bootstrap.min.css?version=4.4', __FILE__));
|
235 |
}
|
236 |
|
237 |
function plugin_settings_script($mo2fa_hook_page) {
|
3 |
* Plugin Name: miniOrange 2 Factor Authentication
|
4 |
* Plugin URI: http://miniorange.com
|
5 |
* Description: This plugin provides various two-factor authentication methods as an additional layer of security for wordpress login. We Support Phone Call, SMS, Email Verification, QR Code, Push, Soft Token, Google Authenticator, Authy, Security Questions(KBA), Woocommerce front-end login, Shortcodes for custom login pages.
|
6 |
+
* Version: 4.4.1
|
7 |
* Author: miniOrange
|
8 |
* Author URI: http://miniorange.com
|
9 |
* License: GPL2
|
223 |
}
|
224 |
|
225 |
function mo_2_factor_enable_frontend_style() {
|
226 |
+
wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url('includes/css/front_end_login.css?version=4.4.1', __FILE__));
|
227 |
+
wp_enqueue_style( 'bootstrap_style', plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__));
|
228 |
+
wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url('includes/css/phone.css?version=4.4.1', __FILE__));
|
229 |
}
|
230 |
|
231 |
function plugin_settings_style() {
|
232 |
+
wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url('includes/css/style_settings.css?version=4.4.1', __FILE__));
|
233 |
+
wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url('includes/css/phone.css?version=4.4.1', __FILE__));
|
234 |
+
wp_enqueue_style( 'bootstrap_style', plugins_url('includes/css/bootstrap.min.css?version=4.4.1', __FILE__));
|
235 |
}
|
236 |
|
237 |
function plugin_settings_script($mo2fa_hook_page) {
|