=== Multibyte CAPTCHA login and Mail only register === Contributors: Katsushi Kawamori Donate link: https://shop.riverforest-wp.info/donate/ Tags: captcha, email, login, register, users Requires at least: 4.7 Requires PHP: 8.0 Tested up to: 7.0 Stable tag: 4.03 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Multibyte CAPTCHA login form and register users with mail only. == Description == = Login form with Multibyte CAPTCHA = * Anti-Bot measures with original CAPTCHA. * WordPress : `wp-login.php` * WordPress : `wp-login.php?action=register` * WordPress : `wp-login.php?action=lostpassword` = Register = * Register only email address. * Can check the terms of use agreement for user register. * Anti-Bot measures with original CAPTCHA. * WordPress : `wp-login.php?action=register` * shortcode : `[umorregister]` = Filter for shortcode form = ~~~ /** ================================================== * Filter for message. * */ add_filter( 'umor_register_success_msg', function(){ return 'Message for register success.'; }, 10, 1 ); add_filter( 'umor_login_success_login_msg', function(){ return 'Message for login success.'; }, 10, 1 ); add_filter( 'umor_register_error', function(){ return 'Message for register error.'; }, 10, 1 ); add_filter( 'umor_register_nomail', function(){ return 'Message for unentered mail.'; }, 10, 1 ); add_filter( 'umor_register_noterm', function(){ return 'Message for unentered term of use.'; }, 10, 1 ); add_filter( 'umor_register_form_label', function(){ return 'Message for form label.'; }, 10, 1 ); add_filter( 'umor_register_term_of_use', function(){ return 'Message for term of use.'; }, 10, 1 ); add_filter( 'umor_not_register_message', function(){ return 'Message for not register.'; }, 10, 1 ); ~~~ ~~~ /** ================================================== * Filter for login form message. * */ add_filter( 'umor_login_message', function( $message, $text ) { $message = '
'; $message .= $text; $message .= '
'; return $message; }, 10, 2 ); ~~~ ~~~ /** ================================================== * Filter for Term of use URL. * */ add_filter( 'umor_register_term_of_use_url', function( $term_of_use_url ) { if ( 'ja' === get_locale() ) { $term_of_use_url = 'https://test.com/ja/'; } return $term_of_use_url; }, 10, 1 ); ~~~ ~~~ /** ================================================== * Filter for input text size. * */ add_filter( 'umor_register_input_size', function(){ return 17; }, 10, 1 ); ~~~ ~~~ /** ================================================== * Filter for class name. * */ add_filter( 'umor_register_notice_class_name', function(){ return 'mynotice'; }, 10, 1 ); add_filter( 'umor_register_form_class_name', function(){ return 'myform'; }, 10, 1 ); add_filter( 'umor_register_label_class_name', function(){ return 'mylabel'; }, 10, 1 ); add_filter( 'umor_register_input_class_name', function(){ return 'myinput'; }, 10, 1 ); add_filter( 'umor_register_check_form_class_name', function(){ return 'mycheckform'; }, 10, 1 ); add_filter( 'umor_register_check_class_name', function(){ return 'mycheck'; }, 10, 1 ); add_filter( 'umor_register_captcha_input_class_name', function(){ return 'mycaptcha_input'; }, 10, 1 ); add_filter( 'umor_register_submit_class_name', function(){ return 'mysubmit'; }, 10, 1 ); ~~~ == Installation == 1. Upload `user-mail-only-register` directory to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Frequently Asked Questions == none == Screenshots == 1. Register form by WordPress 2. Register form by shortcode 3. CAPTCHA Settings 4. Other Settings == Changelog == = [4.03] 2025/12/03 = * Fix - Hide password reset link. = [4.02] 2025/12/02 = * Added - The use of CAPTCHA login can be selected. = [4.01] 2025/05/06 = * Fix - Translation. = [4.00] 2025/05/06 = * Change - Plugin name. * Added - Multibyte CAPTCHA now supports the standard WordPress login form. = [3.05] 2025/04/26 = * Fix - CSS. = [3.04] 2025/04/26 = * Fix - CSS. = [3.03] 2025/04/25 = * Added - CAPTCHA now supports the standard WordPress registration form. * Added - Add own CSS for shortcode output. = [3.02] 2025/04/24 = * Added - Add numbers and katakana to the CAPTCHA string. = [3.01] 2025/04/22 = * Fix - Error message display. = [3.00] 2025/04/22 = * Added - [Really Simple CAPTCHA](https://wordpress.org/plugins/really-simple-captcha/) was scrapped and our own CAPTCHA was added. = [2.14] 2025/04/21 = * Added - Supported [Really Simple CAPTCHA](https://wordpress.org/plugins/really-simple-captcha/). = [2.13] 2025/04/14 = * Fix - Loading the management screen. = [2.12] 2024/03/04 = * Fix - Elimination of short code attribute values. = 2.11 = Changed parse_url to wp_parse_url. = 2.10 = Supported WordPress 6.4. PHP 8.0 is now required. = 2.09 = Added escaping process. = 2.08 = Added escaping process. = 2.07 = Added url filter('umor_register_term_of_use_url') for term of use. = 2.06 = Added "aria-label" attributes to the checkbox form. = 2.05 = Added class name filter('umor_register_form_class_name') for register form. Added class name filter('umor_register_check_form_class_name') for register form. Added "placeholder" and "required" attributes to the email input form. Added "required" attributes to the checkbox input form. = 2.04 = Changed input size. = 2.03 = Fixed escape for form. = 2.02 = Added validation to the email address input field of the shortcode form. = 2.01 = Added some filters. Change readme.txt. = 2.00 = Added a original login form with shortcode. The block has been removed. = 1.12 = Fixed a problem with the password reset link. = 1.11 = Fixed a problem with the password reset link. = 1.10 = Supported WordPress 5.6. = 1.09 = Added function by hide the link to "Log in" and "Lost your password". Changed management screen. = 1.08 = Fixed shortcode. = 1.07 = Fixed sample code. = 1.06 = The block now supports ESNext. = 1.05 = Conformed to the WordPress coding standard. = 1.04 = Add WordPress user settings. = 1.03 = Described the hook description on the management screen. = 1.02 = Fixed error on activation. Added a filter "umor_not_register_message" for messages when user registration is not allowed. = 1.01 = Can add text at email notification. Can stop mail notification of this plugin. = 1.00 = Initial release. == Upgrade Notice == = 2.00 = Added a original login form with shortcode. The block has been removed. = 1.00 = Initial release.