Ticket #4659: 4659.01.patch
File 4659.01.patch, 2.0 KB (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-screens.php
class BP_Activity_Theme_Compat { 408 408 * @since BuddyPress (1.7) 409 409 */ 410 410 public function single_dummy_content() { 411 bp_buffer_template_part( ' members/single/activity/permalink' );411 bp_buffer_template_part( 'activity/single/home' ); 412 412 } 413 413 } 414 414 new BP_Activity_Theme_Compat(); -
new file p-templates/bp-legacy/buddypress/activity/single/home.php
new file mode 100644
- + 1 <div id="buddypress"> 2 <?php do_action( 'template_notices' ); ?> 3 4 <div class="activity no-ajax" role="main"> 5 <?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?> 6 7 <ul id="activity-stream" class="activity-list item-list"> 8 <?php while ( bp_activities() ) : bp_the_activity(); ?> 9 10 <?php bp_get_template_part( 'activity/entry' ); ?> 11 12 <?php endwhile; ?> 13 </ul> 14 15 <?php endif; ?> 16 </div> 17 </div> 18 No newline at end of file -
deleted file bp-templates/bp-legacy/buddypress/members/single/activity/permalink.php
deleted file mode 100644
+ - 1 <div id="buddypress">2 <?php do_action( 'template_notices' ); ?>3 4 <div class="activity no-ajax" role="main">5 <?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?>6 7 <ul id="activity-stream" class="activity-list item-list">8 <?php while ( bp_activities() ) : bp_the_activity(); ?>9 10 <?php bp_get_template_part( 'activity/entry' ); ?>11 12 <?php endwhile; ?>13 </ul>14 15 <?php endif; ?>16 </div>17 </div>18 No newline at end of file