Changeset 6582
- Timestamp:
- 06/19/2017 02:03:14 AM (9 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 3 edited
-
forums/template.php (modified) (1 diff)
-
replies/template.php (modified) (1 diff)
-
topics/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/template.php
r6576 r6582 201 201 */ 202 202 function bbp_get_forum_id( $forum_id = 0 ) { 203 global $wp_query; 204 205 $bbp = bbpress(); 203 $bbp = bbpress(); 204 $wp_query = bbp_get_global_object( 'wp_query', 'WP_Query' ); 206 205 207 206 // Easy empty checking -
trunk/src/includes/replies/template.php
r6573 r6582 327 327 */ 328 328 function bbp_get_reply_id( $reply_id = 0 ) { 329 global $wp_query; 330 331 $bbp = bbpress(); 329 $bbp = bbpress(); 330 $wp_query = bbp_get_global_object( 'wp_query', 'WP_Query' ); 332 331 333 332 // Easy empty checking -
trunk/src/includes/topics/template.php
r6573 r6582 441 441 */ 442 442 function bbp_get_topic_id( $topic_id = 0 ) { 443 global $wp_query; 444 445 $bbp = bbpress(); 443 $bbp = bbpress(); 444 $wp_query = bbp_get_global_object( 'wp_query', 'WP_Query' ); 446 445 447 446 // Easy empty checking
Note: See TracChangeset
for help on using the changeset viewer.