Version Description
- Tested upto WordPress version 5.5
- Tested for compatibility with Memberpress
- Added: Compatibility for WooCoommerce
Download this release
Release Info
| Developer | wpexpertsio |
| Plugin | |
| Version | 1.8.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8 to 1.8.1
- new-user-approve.php +13 -1
- readme.txt +15 -6
new-user-approve.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
Plugin URI: http://newuserapprove.com/
|
| 6 |
Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
|
| 7 |
Author: NewUserApprove
|
| 8 |
-
Version: 1.8
|
| 9 |
Author URI: https://newuserapprove.com/
|
| 10 |
Text Domain: new-user-approve
|
| 11 |
*/
|
|
@@ -119,6 +119,8 @@ class pw_new_user_approve
|
|
| 119 |
3
|
| 120 |
);
|
| 121 |
add_filter( 'shake_error_codes', array( $this, 'failure_shake' ) );
|
|
|
|
|
|
|
| 122 |
}
|
| 123 |
|
| 124 |
public function get_plugin_url()
|
|
@@ -847,6 +849,16 @@ class pw_new_user_approve
|
|
| 847 |
}
|
| 848 |
}
|
| 849 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 850 |
}
|
| 851 |
// End Class
|
| 852 |
global $nua_fs ;
|
| 5 |
Plugin URI: http://newuserapprove.com/
|
| 6 |
Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
|
| 7 |
Author: NewUserApprove
|
| 8 |
+
Version: 1.8.1
|
| 9 |
Author URI: https://newuserapprove.com/
|
| 10 |
Text Domain: new-user-approve
|
| 11 |
*/
|
| 119 |
3
|
| 120 |
);
|
| 121 |
add_filter( 'shake_error_codes', array( $this, 'failure_shake' ) );
|
| 122 |
+
add_filter( 'woocommerce_registration_auth_new_customer', array( $this, 'disable_woo_auto_login' ) );
|
| 123 |
+
|
| 124 |
}
|
| 125 |
|
| 126 |
public function get_plugin_url()
|
| 849 |
}
|
| 850 |
}
|
| 851 |
|
| 852 |
+
/**
|
| 853 |
+
* Disable auto login for WooCommerce
|
| 854 |
+
*
|
| 855 |
+
* @return boolean
|
| 856 |
+
*/
|
| 857 |
+
public function disable_woo_auto_login( $new_customer )
|
| 858 |
+
{
|
| 859 |
+
return false;
|
| 860 |
+
}
|
| 861 |
+
|
| 862 |
}
|
| 863 |
// End Class
|
| 864 |
global $nua_fs ;
|
readme.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
=== New User Approve ===
|
| 2 |
Contributors: wpexpertsio
|
| 3 |
Donate link: https://newuserapprove.com
|
| 4 |
-
Tags: users, registration, sign up, user management, login
|
| 5 |
-
Requires at least:
|
| 6 |
-
Tested up to: 5.
|
| 7 |
-
Stable tag: 1.8
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -42,13 +42,17 @@ Each user that exists before New User Approve has been activated will be treated
|
|
| 42 |
|
| 43 |
**[Follow New User Approve on Github](https://github.com/picklewagon/new-user-approve)**
|
| 44 |
|
| 45 |
-
Further support at [newuserapprove.com](
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
**Customize**
|
| 48 |
|
| 49 |
New User Approve allows for customizations by using custom actions and filters. You can find out more about these by browsing the source code.
|
| 50 |
|
| 51 |
-
A commercial plugin that adds a config panel for customization is also available at [https://newuserapprove.com/
|
| 52 |
|
| 53 |
== Installation ==
|
| 54 |
|
|
@@ -89,6 +93,11 @@ We are aware of a few issues with multisite
|
|
| 89 |
|
| 90 |
== Changelog ==
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
= 1.8 =
|
| 93 |
* Tested with WordPress 5.4
|
| 94 |
* Code Optimization
|
| 1 |
=== New User Approve ===
|
| 2 |
Contributors: wpexpertsio
|
| 3 |
Donate link: https://newuserapprove.com
|
| 4 |
+
Tags: users, registration, sign up, user management, login, user approval
|
| 5 |
+
Requires at least: 4.0
|
| 6 |
+
Tested up to: 5.5
|
| 7 |
+
Stable tag: 1.8.1
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 42 |
|
| 43 |
**[Follow New User Approve on Github](https://github.com/picklewagon/new-user-approve)**
|
| 44 |
|
| 45 |
+
Further support at [newuserapprove.com](https://newuserapprove.com/support/).
|
| 46 |
+
|
| 47 |
+
**Compatible with**
|
| 48 |
+
✔️ [WooCommerce](https://woocommerce.com/)
|
| 49 |
+
✔️ [Memberpress](https://memberpress.com/)
|
| 50 |
|
| 51 |
**Customize**
|
| 52 |
|
| 53 |
New User Approve allows for customizations by using custom actions and filters. You can find out more about these by browsing the source code.
|
| 54 |
|
| 55 |
+
A commercial plugin that adds a config panel for customization is also available at [https://newuserapprove.com/premium/](https://newuserapprove.com/#PricePlan).
|
| 56 |
|
| 57 |
== Installation ==
|
| 58 |
|
| 93 |
|
| 94 |
== Changelog ==
|
| 95 |
|
| 96 |
+
= 1.8.1 =
|
| 97 |
+
* Tested upto WordPress version 5.5
|
| 98 |
+
* Tested for compatibility with [Memberpress](https://memberpress.com/)
|
| 99 |
+
* Added: Compatibility for [WooCoommerce](https://woocommerce.com/)
|
| 100 |
+
|
| 101 |
= 1.8 =
|
| 102 |
* Tested with WordPress 5.4
|
| 103 |
* Code Optimization
|
