Changeset 6791 for trunk/src/includes/common/shortcodes.php
- Timestamp:
- 03/29/2018 06:03:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/shortcodes.php
r6573 r6791 443 443 $bbp = bbpress(); 444 444 445 // Reset necessary forum_query attributes for reply sloop to function445 // Reset necessary forum_query attributes for reply loop to function 446 446 $bbp->forum_query->query_vars['post_type'] = bbp_get_forum_post_type(); 447 447 $bbp->forum_query->in_the_loop = true; 448 448 $bbp->forum_query->post = get_post( $forum_id ); 449 449 450 // Reset necessary reply_query attributes for reply sloop to function450 // Reset necessary reply_query attributes for reply loop to function 451 451 $bbp->reply_query->query_vars['post_type'] = bbp_get_reply_post_type(); 452 452 $bbp->reply_query->in_the_loop = true;
Note: See TracChangeset
for help on using the changeset viewer.