Changeset 7176 for branches/2.6/src/includes/users/template.php
- Timestamp:
- 01/03/2021 07:21:09 AM (6 years ago)
- File:
-
- 1 edited
-
branches/2.6/src/includes/users/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/users/template.php
r7157 r7176 2295 2295 $retval = true; 2296 2296 2297 // Looking at a single topic, topic is open, and forum is open2298 } elseif ( ( bbp_is_single_topic() || is_ page() || is_single() ) && bbp_is_topic_open() && bbp_is_forum_open() && bbp_is_topic_published() ) {2297 // Looking at single topic (and singulars), topic is open, and forum is open 2298 } elseif ( ( bbp_is_single_topic() || is_singular() ) && bbp_is_topic_open() && bbp_is_forum_open() && bbp_is_topic_published() ) { 2299 2299 $retval = bbp_current_user_can_publish_replies(); 2300 2300
Note:
See TracChangeset
for help on using the changeset viewer.