=== EasyWP OneStep Register ===
Contributors: life8882
Author URI: https://life8882.com
Plugin URI: https://life8882.com/plugins/easywp-onestep-register/
Tags: user registration, one step register, auto login, password setup, wordpress register, user auth
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Optimize WordPress user registration process—one-step registration with direct password setup, no email verification, auto-login, and homepage redirect.

== Description ==
EasyWP OneStep Register is a WordPress plugin that simplifies the native registration flow. It eliminates the tedious process of waiting for password emails, allowing users to set passwords directly during registration. After successful registration, users are automatically logged in and redirected to the homepage, improving registration experience and conversion rates.

### Core Features
1. **Registration Form Enhancement**
   - Adds "Password" and "Confirm Password" fields to the native registration form
   - Field styles match the native form for seamless integration
2. **Front-End Password Validation**
   - Built-in JavaScript validation checks for password consistency before submission
   - Shows alert and prevents form submission if passwords don't match, reducing backend invalid requests
3. **No Email Verification Required**
   - Automatically sets user password upon registration—no need for system-generated password emails
   - Disables all registration-related redundant emails (password notifications, new user alerts, etc.)
4. **Auto-Login & Redirection**
   - Instantly logs users in after successful registration
   - Redirects to homepage by default (easily modifiable to other URLs)
5. **Notification Text Optimization**
   - Replaces native registration success messages (removes email-related prompts)
   - Clearly informs users they can log in with their set password to avoid confusion

== Installation ==
1. Download the plugin zip file
2. Log in to your WordPress admin dashboard, go to "Plugins" → "Add New" → "Upload Plugin", select the zip file
3. After upload completes, click "Activate Plugin"
4. No extra configuration needed—visit your website's registration page to see the optimized form

== Usage ==
1. **User Registration Process**
   - Visit your website's registration page (default URL: your-site.com/wp-login.php?action=register)
   - Fill in username, email, password, and confirm password (passwords must match)
   - Click "Register"—no email check required, registration completes instantly
   - Automatically logged in and redirected to the homepage
2. **Admin Customization (Optional)**
   - To change the post-registration redirect URL: Modify the redirect URL in the `registration_redirect` hook within the plugin code
   - To enable registration emails: Comment out the email-disabling code in the plugin

== Frequently Asked Questions ==
Q: Why aren't the password fields showing on the registration page?
A: Please check: 1. The plugin is activated; 2. You're accessing the correct registration page; 3. Your theme hasn't modified the native registration form structure

Q: What if auto-login doesn't work after registration?
A: Please verify: PHP version ≥ 7.0, WordPress version ≥ 5.0, or disable other user-related plugins that may cause conflicts

Q: Can I keep new user notification emails for administrators?
A: Yes—simply comment out the relevant code that disables administrator notification emails in the plugin

== Changelog ==
= 1.0 =
- Initial release
- Added password fields to registration form
- Front-end password consistency validation
- Automatic password setup and redundant email disabling
- Auto-login and homepage redirect functionality
- Registration notification text optimization