[wp-trac] [WordPress Trac] #40032: Automatic redirects with _wp_old_slug won't mantain GET parameters if present

WordPress Trac noreply at wordpress.org
Tue Mar 9 04:04:19 UTC 2021


#40032: Automatic redirects with _wp_old_slug won't mantain GET parameters if
present
-------------------------------------------------+-------------------------
 Reporter:  DrLightman                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Permalinks                           |     Version:  2.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by brookedot):

 I'll give refreshing @desrosj's patch a go. As `old_slug_redirect_url` is
 filterable there is a workaround to add the query parameters with that
 filter but I think having it fixed in core would be great.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40032#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list