Skip to:
Content

bbPress.org

Changeset 6079


Ignore:
Timestamp:
08/25/2016 07:28:42 AM (8 years ago)
Author:
netweb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r6056 r6079  
    922922
    923923        // Search Permastruct
    924         add_permastruct( $user_id, $search_slug . '/%' . $search_id . '%', array(
     924        add_permastruct( $search_id, $search_slug . '/%' . $search_id . '%', array(
    925925            'with_front'  => false,
    926926            'ep_mask'     => EP_NONE,
Note: See TracChangeset for help on using the changeset viewer.