Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request releases version 1.2.2 with a focus on security improvements, bug fixes, and backward compatibility. The major updates include hardened redirect handling to prevent unsafe URL redirection, a fix for session cookie behavior, and improvements to the customization settings for the footer link. Automated tests and test infrastructure have also been enhanced to ensure these changes are robust.
Security & Redirect Handling Improvements:
wp_validate_redirect, ensuring that external or hostile URLs are rejected and users are always redirected to the site home if an unsafe URL is detected. This prevents open redirect vulnerabilities. [1] [2]Session Cookie Fixes:
expiresoption for correct browser session behavior, ensuring that session cookies are handled as expected by browsers.Customization & Backward Compatibility:
footer_link_urltofooter_link, with backward compatibility logic to support older configurations seamlessly. [1] [2] [3]Release & Documentation:
composer.json,package.json, andreadme.txtto 1.2.2, and added a changelog entry summarizing these changes. [1] [2] [3] [4]