Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Changing identifier in route hook #9388
Changing identifier/segments in a handler potentially means partial calling of handlers for the old id and the new id, and we still don't have a clean way to change stuff like current_page_url().
I'd prefer (ideally) a hook to alter the request object before core reads stuff out of it, or a "route:before" hook specifically for changing id/segments (and deprecate doing so in "route").