Releases: 10up/safe-redirect-manager
Releases · 10up/safe-redirect-manager
1.10.0
Added
410 Gone
status code to the list of HTTP status codes andsrm_additional_status_codes
to add additional status codes (@dinhtungdu, @helen, @PopVeKind via #215).- Option to ignore query parameters, previous behaviour still available via the new
srm_match_query_params
filter (props @braders, @dinhtungdu via #196). - Extracts redirect matching logic from
maybe_redirect
tomatch_redirect
method, plussrm_match_redirect
function to expose matching redirect logic to themes and plugins (props @nicholasio, @dinhtungdu via #198). - Redirect Post ID to response headers where a redirect rule is invoked (props @jamesmorrison, @dinhtungdu via #218).
- Banner and icon images (props @lea10up via #209).
- Documentation and unit test updates (props @noplanman, @dinhtungdu, @noesteijver, @jeffpaul, @davidegreenwald, @barryceelen via #195, #200, #207, #210, #211, #213, #219, #224).
Fixed
- Use proper hook for setting up
SRM_Redirect
(props @dinhtungdu, @WPprodigy via #203). - Regression related to wildcard matching (props @amyevans, @dinhtungdu, @jeffreybetts via #217).
- Missing
order
column in CSV import WP-CLI command (props @barryceelen via #220).
Security
- Bump
lodash
from 4.17.15 to 4.17.19 (props @dependabot via #214).
https://github.com/10up/safe-redirect-manager/milestone/10?closed=1
1.9.3
Changed
- Allow for escaped values on
_redirect_rule_from
, useful when importing regex (props @raymondware via #163) - Check
current_user_can
cap later to prevent the notice being thrown during Jetpack sitemap cron event runs (props @rebeccahum via #178) - Updated tests and documentation (props @adamsilverstein, @jeffpaul, @helen via #173, #179, #180, #181, #184, #190, #192)
- Check correct meta field when updating notes (props @lucymtc, @adamsilverstein via #154, #185)
- Bump WordPress version "tested up to" 5.3 (props @jeffpaul via #193)
Fixed
- Update the logic for wildcard matching to properly match URLs with query parameters (props @adamsilverstein, @mslinnea via #182)
Security
- Bump lodash from 4.17.11 to 4.17.15 (props @dependabot via #183)
https://github.com/10up/safe-redirect-manager/milestone/12?closed=1
Version 1.7.6
- Use
home_url()
instead ofsite_url()
. Props swalkinshaw - Don't redirect if redirect to location is invalid. Props vaurdan
- Redirection plugin importer. Props eugene-manuilov