Ticket #5156: all-screens.patch
File all-screens.patch, 4.1 KB (added by , 11 years ago) |
---|
-
bp-members/bp-members-screens.php
369 369 * @since BuddyPress (1.7) 370 370 */ 371 371 public function directory_content() { 372 bp_buffer_template_part( 'members/index');372 return bp_buffer_template_part( 'members/index', null, false ); 373 373 } 374 374 375 375 /** Single ****************************************************************/ … … 429 429 * @since BuddyPress (1.7) 430 430 */ 431 431 public function single_dummy_content() { 432 bp_buffer_template_part( 'members/single/home');432 return bp_buffer_template_part( 'members/single/home', null, false ); 433 433 } 434 434 } 435 435 new BP_Members_Theme_Compat(); … … 546 546 */ 547 547 public function dummy_content() { 548 548 if ( bp_is_register_page() ) { 549 bp_buffer_template_part( 'members/register');549 return bp_buffer_template_part( 'members/register', null, false ); 550 550 } else { 551 bp_buffer_template_part( 'members/activate');551 return bp_buffer_template_part( 'members/activate', null, false ); 552 552 } 553 553 } 554 554 } -
bp-forums/bp-forums-screens.php
216 216 * @since BuddyPress (1.7) 217 217 */ 218 218 public function directory_content() { 219 bp_buffer_template_part( 'forums/index');219 return bp_buffer_template_part( 'forums/index', null, false ); 220 220 } 221 221 } 222 222 new BP_Forum_Legacy_Theme_Compat(); -
bp-groups/bp-groups-screens.php
1048 1048 * @since BuddyPress (1.7) 1049 1049 */ 1050 1050 public function directory_content() { 1051 bp_buffer_template_part( 'groups/index');1051 return bp_buffer_template_part( 'groups/index', null, false ); 1052 1052 } 1053 1053 1054 1054 /** Create ****************************************************************/ … … 1109 1109 * @since BuddyPress (1.7) 1110 1110 */ 1111 1111 public function create_content() { 1112 bp_buffer_template_part( 'groups/create');1112 return bp_buffer_template_part( 'groups/create', null, false ); 1113 1113 } 1114 1114 1115 1115 /** Single ****************************************************************/ … … 1169 1169 * @since BuddyPress (1.7) 1170 1170 */ 1171 1171 public function single_content() { 1172 bp_buffer_template_part( 'groups/single/home');1172 return bp_buffer_template_part( 'groups/single/home', null, false ); 1173 1173 } 1174 1174 } 1175 1175 new BP_Groups_Theme_Compat(); -
bp-blogs/bp-blogs-screens.php
156 156 * @since BuddyPress (1.7) 157 157 */ 158 158 public function directory_content() { 159 bp_buffer_template_part( 'blogs/index');159 return bp_buffer_template_part( 'blogs/index', null, false ); 160 160 } 161 161 162 162 /** Create ****************************************************************/ … … 217 217 * @since BuddyPress (1.7) 218 218 */ 219 219 public function create_content() { 220 bp_buffer_template_part( 'blogs/create');220 return bp_buffer_template_part( 'blogs/create', null, false ); 221 221 } 222 222 } 223 223 new BP_Blogs_Theme_Compat(); -
bp-activity/bp-activity-screens.php
412 412 * @since BuddyPress (1.7) 413 413 */ 414 414 public function directory_content() { 415 bp_buffer_template_part( 'activity/index');415 return bp_buffer_template_part( 'activity/index', null, false ); 416 416 } 417 417 418 418 /** Single ****************************************************************/ … … 465 465 * @since BuddyPress (1.7) 466 466 */ 467 467 public function single_dummy_content() { 468 bp_buffer_template_part( 'activity/single/home');468 return bp_buffer_template_part( 'activity/single/home', null, false ); 469 469 } 470 470 } 471 471 new BP_Activity_Theme_Compat();