Changeset 6429
- Timestamp:
- 10/17/2012 08:33:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-legacy/buddypress-functions.php
r6427 r6429 555 555 $activities_template->activity->current_comment = $activities_template->activities[0]; 556 556 557 $template = bp_locate_template( 'activity/comment.php', false, false ); 558 559 /** 560 * Backward compatibility. In older versions of BP, the markup was 561 * generated in the PHP instead of a template. This ensures that 562 * older themes (which are not children of bp-legacy and won't 563 * have the new template) will still work. 564 */ 565 if ( empty( $template ) ) 566 $template = BP_PLUGIN_DIR . '/bp-themes/bp-legacy/activity/comment.php'; 567 568 bp_get_template_part( $template ); 557 // get activity comment template part 558 bp_get_template_part( 'activity/comment' ); 569 559 570 560 unset( $activities_template );
Note: See TracChangeset
for help on using the changeset viewer.