[wp-trac] [WordPress Trac] #52737: Allow 301 redirect on _wp_old_slug to be filterable

WordPress Trac noreply at wordpress.org
Tue Mar 9 16:38:09 UTC 2021


#52737: Allow 301 redirect on _wp_old_slug to be filterable
-------------------------------------+------------------------------
 Reporter:  brookedot                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Permalinks               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by brookedot):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               testing


Comment:

 >  As per wp_redirect document $status use int parameter.

 Good catch updated in `52737.3.2.patch`. Not sure why my patch naming was
 off, but the patch itself should be good.

 I'll also mention #40032 as a tangentially related ticket that also
 touches this code. If both are implemented the one that is added second
 may need an additional be refresh,

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


More information about the wp-trac mailing list