Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/21/2013 08:30:12 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Use rewrite ID helper functions instead of hardcoded strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/functions.php

    r5122 r5134  
    17141714
    17151715        // Single Topic Vview
    1716         } elseif ( isset( $query_vars['bbp_view'] ) ) {
     1716        } elseif ( isset( $query_vars[ bbp_get_view_rewrite_id() ] ) ) {
    17171717
    17181718            // Get the view
    1719             $view = $query_vars['bbp_view'];
     1719            $view = $query_vars[ bbp_get_view_rewrite_id() ];
    17201720
    17211721            // We have a view to display a feed
Note: See TracChangeset for help on using the changeset viewer.