[wp-trac] [WordPress Trac] #47911: redirect_guess_404_permalink does not consider public custom posts status

WordPress Trac noreply at wordpress.org
Wed Aug 21 13:03:21 UTC 2019


#47911: redirect_guess_404_permalink does not consider public custom posts status
---------------------------+------------------------------
 Reporter:  goaroundagain  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Canonical      |     Version:  5.2.2
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by goaroundagain):

 * Attachment "47911.diff" added.

 Easy fix, just query all public post stati and change the query to IN
 linke already done with post types in
 https://core.trac.wordpress.org/browser/tags/5.2.2/src/wp-
 includes/canonical.php#L673

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47911>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list