[wp-trac] [WordPress Trac] #59795: Private Information Exposure via redirect_guess_404_permalink()

WordPress Trac noreply at wordpress.org
Fri Aug 1 18:08:57 UTC 2025


#59795: Private Information Exposure via redirect_guess_404_permalink()
--------------------------------------+----------------------------
 Reporter:  FrancescoCarlucci         |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  Canonical                 |     Version:
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  privacy
--------------------------------------+----------------------------

Comment (by johnjamesjacoby):

 I've tracked down broken canonical redirects in bbPress to this issue and
 [57645].

 In `redirect_guess_404_permalink()`, `array( 'exclude_from_search' =>
 false )` omits bbPress forums, topics, and replies. This is because
 bbPress bundles its own forum search and does not "pollute" blog/site
 results with forum search results.

 @peterwilsoncc any preference to reopen this or create a new ticket?

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


More information about the wp-trac mailing list