Skip to content

Version 1.1.2: Configurable Contact URL & Role-Based Emails

Choose a tag to compare

@NichlasB NichlasB released this 21 Feb 10:28
· 18 commits to main since this release

What's New

  • Added configurable contact URL in security settings for Reoon email verifier
  • Added option to allow role-based email addresses during registration (Reoon email verifier)
  • Enhanced error message contact links to use configured URL
  • Added proper URL sanitization and escaping

New Settings

After updating, you can configure two new options in:

  1. WordPress Admin > Custom Login > Security Settings
  2. Scroll down to the Email Verification Settings section
  3. Look for:
    • "Contact Link URL": Configure the URL for contact links in error messages
    • "Role-Based Emails": Toggle whether to allow registration with role-based addresses

Contact URL Configuration

  • Default value is /contact/ if not configured
  • Supports both absolute URLs (https://example.com/contact) or relative paths (/contact/)
  • All error messages with contact links will use the configured URL

Role-Based Email Configuration

  • Disabled by default for security
  • When enabled, allows registration with addresses like info@, admin@, support@
  • Can be toggled on/off without affecting existing accounts

Security

  • Added esc_url_raw sanitization for URL storage
  • Added esc_url escaping for URL output
  • Maintains WordPress security best practices
  • Role-based email setting includes security warning

Upgrading

No special upgrade steps required. Your existing contact links will continue working with /contact/ until configured, and role-based emails remain blocked by default until explicitly enabled.