[wp-trac] [WordPress Trac] #16557: Ability to disable redirect_guess_404_permalink()

WordPress Trac noreply at wordpress.org
Mon Jun 1 18:47:55 UTC 2020


#16557: Ability to disable redirect_guess_404_permalink()
-------------------------------------------------+-------------------------
 Reporter:  msafi                                |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Canonical                            |     Version:  3.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note has-unit-   |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47878" 47878]:
 {{{
 #!CommitTicketReference repository="" revision="47878"
 Canonical: Add the ability to disable `redirect_guess_404_permalink()`.


 This also adds a few more filters to make adding redirects easier.
 Notably:

 1. `do_redirect_guess_404_permalink`
 2. `pre_redirect_guess_404_permalink`
 3. `strict_redirect_guess_404_permalink`

 Fixes: #16557.
 Props: msafi, nacin, simonwheatley, westi, mboynes, joostdevalk,
 Lex_Robinson, MikeSchinkel, haukep, paulschreiber, DrewAPicture, ravenswd,
 esemlabel, stevegibson12, martychc23, DrLightman, jivanpal, neonkowy,
 laternastudio, apedog, audrasjb, davidbaumwald, Confridin, donmhico,
 ryotsun.
 }}}

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


More information about the wp-trac mailing list