Changeset 7168 for trunk/bp-activity/bp-activity-template.php
- Timestamp:
- 06/06/2013 10:46:43 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r7129 r7168 2026 2026 2027 2027 /** 2028 * Echoes the activity comment permalink 2029 * 2030 * @since BuddyPress (1.8) 2031 * 2032 * @uses bp_get_activity_permalink_id() 2033 */ 2034 function bp_activity_comment_permalink() { 2035 echo bp_get_activity_comment_permalink(); 2036 } 2037 /** 2038 * Gets the activity comment permalink 2039 * 2040 * @since BuddyPress (1.8) 2041 * 2042 * @uses bp_activity_get_permalink() 2043 * @uses apply_filters() To call the 'bp_get_activity_comment_permalink' hook 2044 * 2045 * @return string $link The activity comment permalink 2046 */ 2047 function bp_get_activity_comment_permalink() { 2048 global $activities_template; 2049 2050 $link = bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity ) . '#acomment-' . $activities_template->activity->current_comment->id; 2051 2052 return apply_filters( 'bp_get_activity_comment_permalink', $link ); 2053 } 2054 2055 /** 2028 2056 * Echoes the activity favorite link 2029 2057 *
Note: See TracChangeset
for help on using the changeset viewer.