- Cleanup of PHP Notices
- Addition of
wpcom_legacy_redirector_preserve_query_params
filter to allow for the whitelisting of params that should be passed through unmodified to the redirected url.
Usage:
add_filter( 'wpcom_legacy_redirector_preserve_query_params', function( $preserved_params ){
array_push( $preserved_params,
'utm_source',
'utm_medium',
'utm_campaign'
);
return $preserved_params;
} );
props jigneshnakrani088, mdbitz