Skip to:
Content

Opened 2 years ago

Closed 2 years ago

#2984 closed defect (fixed)

Search Permastruct in `bbPress::add_permastructs()` should be `$search_id`

Reported by: netweb Owned by: netweb
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: API - Rewrite Rules Keywords: has-patch
Cc:

Description

Search Permastruct in bbPress::add_permastructs() should be $search_id, not $user_id

Copy pasta introduced in r4930

Attachments (1)

2984.diff (458 bytes) - added by netweb 2 years ago.

Download all attachments as: .zip

Change History (2)

@netweb
2 years ago

#1 @netweb
2 years ago

  • Owner set to netweb
  • Resolution set to fixed
  • Status changed from new to closed

In 6079:

Rewrite Rules: Update search permastruct in bbPress::add_permastructs() to $search_id

This changeset fixes copy pasta introduced in r4930, and updates the search rewrite to use the $search_id and not the $user_id as the permalink structure name.

Props offereins.
Fixes #2984.

Note: See TracTickets for help on using tickets.