Changeset 4614
- Timestamp:
- 12/21/2012 07:22:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/users/template-tags.php
r4543 r4614 701 701 if ( bbp_is_favorites() ) { 702 702 $permalink = bbp_get_favorites_permalink( $user_id ); 703 } elseif ( is_singular( bbp_get_topic_post_type() ) ) { 704 $permalink = bbp_get_topic_permalink( $topic_id ); 705 } elseif ( is_singular( bbp_get_reply_post_type() ) ) { 703 } elseif ( bbp_is_single_topic() || bbp_is_single_reply() ) { 706 704 $permalink = bbp_get_topic_permalink( $topic_id ); 707 705 } else { … … 859 857 if ( bbp_is_subscriptions() ) { 860 858 $permalink = bbp_get_subscriptions_permalink( $user_id ); 861 } elseif ( is_singular( bbp_get_topic_post_type() ) ) { 862 $permalink = bbp_get_topic_permalink( $topic_id ); 863 } elseif ( is_singular( bbp_get_reply_post_type() ) ) { 859 } elseif ( bbp_is_single_topic() || bbp_is_single_reply() ) { 864 860 $permalink = bbp_get_topic_permalink( $topic_id ); 865 861 } else {
Note: See TracChangeset
for help on using the changeset viewer.