Changeset 7279 for trunk/src/includes/common/functions.php
- Timestamp:
- 07/05/2024 05:54:33 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r7275 r7279 1265 1265 /** Topic *****************************************************************/ 1266 1266 1267 // Bail if topic is not public ( includes closed)1267 // Bail if topic is not public (both open/closed are public) 1268 1268 if ( ! bbp_is_topic_public( $topic_id ) ) { 1269 1269 return false; … … 1311 1311 $topic_author_name = wp_specialchars_decode( strip_tags( $topic_author_name ), ENT_QUOTES ); 1312 1312 $topic_content = wp_specialchars_decode( strip_tags( bbp_get_topic_content( $topic_id ) ), ENT_QUOTES ); 1313 $topic_url = get_permalink( $topic_id );1313 $topic_url = bbp_get_topic_permalink( $topic_id ); 1314 1314 1315 1315 // For plugins to filter messages per reply/topic/user
Note: See TracChangeset
for help on using the changeset viewer.