Changeset 6320 for trunk/src/includes/core/template-functions.php
- Timestamp:
- 02/26/2017 07:12:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r6241 r6320 537 537 /** User Exists *******************************************************/ 538 538 539 $is_favs = $posts_query->get( bbp_get_user_favorites_rewrite_id() ); 540 $is_subs = $posts_query->get( bbp_get_user_subscriptions_rewrite_id() ); 541 $is_topics = $posts_query->get( bbp_get_user_topics_rewrite_id() ); 542 $is_replies = $posts_query->get( bbp_get_user_replies_rewrite_id() ); 539 $is_favs = $posts_query->get( bbp_get_user_favorites_rewrite_id() ); 540 $is_subs = $posts_query->get( bbp_get_user_subscriptions_rewrite_id() ); 541 $is_topics = $posts_query->get( bbp_get_user_topics_rewrite_id() ); 542 $is_replies = $posts_query->get( bbp_get_user_replies_rewrite_id() ); 543 $is_engagements = $posts_query->get( bbp_get_user_engagements_rewrite_id() ); 543 544 544 545 // View or edit? … … 581 582 } elseif ( ! empty( $is_replies ) ) { 582 583 $posts_query->bbp_is_single_user_replies = true; 584 585 // User engagements 586 } elseif ( ! empty( $is_engagements ) ) { 587 $posts_query->bbp_is_single_user_engagements = true; 583 588 584 589 // User profile
Note: See TracChangeset
for help on using the changeset viewer.