Skip to:
Content

bbPress.org

Changeset 5163 for trunk/bbpress.php


Ignore:
Timestamp:
11/23/2013 09:45:06 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Introduce current_view_id to bbPress class variables. Used when calling a topic view shortcode via bbp-single-view so subsequent calls to bbp_view_query are able to retrieve the $view_id via bbp_get_view_id() the same way bbp_get_topic_id() works. Fixes #2457.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbpress.php

    r5134 r5163  
    244244        /** Queries ***********************************************************/
    245245
     246        $this->current_view_id      = 0; // Current view id
    246247        $this->current_forum_id     = 0; // Current forum id
    247248        $this->current_topic_id     = 0; // Current topic id
Note: See TracChangeset for help on using the changeset viewer.