WP Cassify changelog
By Alain-Aymerick FRANCOIS, on WordPress.org since 2016. 800+ active installs.
24 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- REST API: release the PHP session lock before dispatch so concurrent requests sharing a CAS session can run in parallel. Thanks to rferguson10 for reporting the issue.
-
- TLS: hide the settings warning when CAS certificate verification is enabled.
-
- CAS login: preserve service URLs with query strings in enforce mode, ignore unrelated ticket parameters, fix direct login, and fix Gateway Mode on subdirectory installations.
- CAS validation: send only well-formed ST- tickets, encode validation parameters separately, and release the PHP session lock while waiting for CAS. New installs time out after 10 seconds with HTTP 504. Upgrades keep the previous cURL timeout. Override it with the wp_cassify_validation_timeout filter.
- Access rules: preserve the effective ALLOW/DENY precedence of saved settings on upgrade. Whitelist entries now match paths relative to the WordPress Address. Convert old substring or query-based exceptions to explicit paths. A lone / covers only the root.
- Multisite: retain existing roles when role purge is enabled but no replacement rule matches, and require explicit CAS role rules to grant new memberships. Review those rules before upgrading sites that relied on automatic membership. After a denied CAS membership attempt, reopen the original URL after 30 seconds to try again.
- Single Logout: revoke only the WordPress session associated with the CAS ticket. Recognized legacy sessions renew once. If the PHP session has expired, sign out locally and sign back in through CAS.
- Account cleanup: delete selected CAS accounts by username or ID, with a preview and content reassignment. Explicit selection can include active accounts, while privileged accounts and accounts with application passwords remain protected. Inactivity jobs started in 2.5.0 can resume.
And 2 more notes.
-
- Add: manual tools to mark CAS accounts and purge inactive CAS accounts, including WordPress multisite support. Includes preview and confirmation, protected-account exclusions, content reassignment, resumable processing and simple task results. Backup acknowledgement is required before purging.
- Add: successful login tracking to determine CAS account inactivity. No automatic purge or reconstruction of historical login dates.
-
- Fix: avoid a PHP 8 TypeError when logging out from a different multisite child site than the CAS login site while SLO is enabled.
-
- Fix: preserve existing multisite roles when authenticating users on archived child blogs.
-
- Fix: restart CAS authentication when a stale PHP CAS session remains after the WordPress admin authentication cookie expires.
- Add: filter the CAS logout redirect URL before redirecting to the CAS logout endpoint.
-
- Fix: add ‘postpass’ to the list of excluded login actions so that WordPress password-protected pages work correctly without being redirected to CAS (regression introduced in 2.4.4).
- Fix: add ‘register’ and ‘confirmaction’ to the list of excluded login actions to avoid CAS redirect on the registration form and GDPR privacy confirmation links.
-
- Fix archived blog stripping user roles via add_user_to_blog(); skip if capabilities already exist.
-
- Block wp-login.php form when CAS session is already authenticated
- Fix deprecated WordPress PHPMailer includes
- Fix mails notifications
- Fix a multisite authentication crash caused by an incorrect class reference.
- Fix destroy Session on logout
-
- Fix SVN deploy
-
- Fix multisite support (bugs introduced in 2.4.0)
- Fix undefined array key warnings by replacing @ operator with isset() checks
-
- Log debug/info messages only if debug mode is enabled in plugin settings or if WP_DEBUG is enabled. Fix some logs.
- Fix(upgrade): restore URL bypass to ‘enabled’ on existing sites that never explicitly saved the option, preventing broken super-admin access after upgrade from pre-2.4.1.
- Feat: add WP_CASSIFY_ENABLE_URL_BYPASS constant support in wp-config.php to force URL bypass independently of the UI setting. Recommended for multisite super-admins: define( 'WP_CASSIFY_ENABLE_URL_BYPASS', true );
-
- Fix : let ‘name of the service validate servlet’ be customized
- Feat(security): validate CAS service URL with host allowlist and backward-compatible monitor mode
- Security: URL bypass is now disabled by default and bypass parameter name/value are configurable
- Improve die messages.
- Remove jquery dependency for admin interface, use vanilla js instead.
- Security: harden input handling, unserialize, and admin output escaping
And 3 more notes.
-
- Just fix tag in wp-cassify.php
-
- No session_start for cron/ajax requests
-
- Fix -NCONTAINS and -NOTIN rule evaluations.
-
- Fix and simplify wp_cassify_logout_with_redirect shortcode
- Sanitize service_redirect_url in wp_cassify_login_with_redirect to prevent potential XSS (reported by Muhammad Yudha via Patchstack).
- Fix ‘Notice: Function _load_textdomain_just_in_time was called incorrectly.’
-
- Fix PHP start session only when needed (fix) – thanks to @kkatpcc
- Fix grammar in die message of wp_cassify_auth_user_wordpress – thanks to Randy Hammond
-
- Fix wp_cassify_notification_rule_matched
-
- Fix PHP start session only when needed – thanks to @partyka
- Fix PHP warning parse_str – thanks to @erseco
- Fix PHP warnings
- Ensure to run jquery when DOM is ready
- Fix CAS Single Log Out feature
-
- Fix PHP8 support
-
- New custom hook wp_cassify_after_auth_user_wordpress
-
- Some bugfix