Ticket #5418: 5418.01.patch
File 5418.01.patch, 4.3 KB (added by , 11 years ago) |
---|
-
bp-activity/bp-activity-screens.php
class BP_Activity_Theme_Compat { 385 385 'post_author' => 0, 386 386 'post_date' => 0, 387 387 'post_content' => '', 388 'post_type' => ' bp_activity',388 'post_type' => 'page', 389 389 'post_status' => 'publish', 390 390 'is_page' => true, 391 391 'comment_status' => 'closed' … … class BP_Activity_Theme_Compat { 438 438 'post_author' => 0, 439 439 'post_date' => 0, 440 440 'post_content' => '', 441 'post_type' => ' bp_activity',441 'post_type' => 'page', 442 442 'post_status' => 'publish', 443 443 'is_page' => true, 444 444 'comment_status' => 'closed' -
bp-blogs/bp-blogs-screens.php
class BP_Blogs_Theme_Compat { 149 149 'post_author' => 0, 150 150 'post_date' => 0, 151 151 'post_content' => '', 152 'post_type' => ' bp_blogs',152 'post_type' => 'page', 153 153 'post_status' => 'publish', 154 154 'is_page' => true, 155 155 'comment_status' => 'closed' … … class BP_Blogs_Theme_Compat { 212 212 'post_author' => 0, 213 213 'post_date' => 0, 214 214 'post_content' => '', 215 'post_type' => ' bp_group',215 'post_type' => 'page', 216 216 'post_status' => 'publish', 217 217 'is_page' => true, 218 218 'comment_status' => 'closed' -
bp-forums/bp-forums-screens.php
class BP_Forum_Legacy_Theme_Compat { 216 216 'post_author' => 0, 217 217 'post_date' => 0, 218 218 'post_content' => '', 219 'post_type' => ' bp_forum',219 'post_type' => 'page', 220 220 'post_status' => 'publish', 221 221 'is_page' => true, 222 222 'comment_status' => 'closed' -
bp-groups/bp-groups-screens.php
class BP_Groups_Theme_Compat { 1029 1029 'post_author' => 0, 1030 1030 'post_date' => 0, 1031 1031 'post_content' => '', 1032 'post_type' => ' bp_group',1032 'post_type' => 'page', 1033 1033 'post_status' => 'publish', 1034 1034 'is_page' => true, 1035 1035 'comment_status' => 'closed' … … class BP_Groups_Theme_Compat { 1090 1090 'post_author' => 0, 1091 1091 'post_date' => 0, 1092 1092 'post_content' => '', 1093 'post_type' => ' bp_group',1093 'post_type' => 'page', 1094 1094 'post_status' => 'publish', 1095 1095 'is_page' => true, 1096 1096 'comment_status' => 'closed' … … class BP_Groups_Theme_Compat { 1150 1150 'post_author' => 0, 1151 1151 'post_date' => 0, 1152 1152 'post_content' => '', 1153 'post_type' => ' bp_group',1153 'post_type' => 'page', 1154 1154 'post_status' => 'publish', 1155 1155 'is_page' => true, 1156 1156 'comment_status' => 'closed' -
bp-members/bp-members-screens.php
class BP_Members_Theme_Compat { 367 367 'post_author' => 0, 368 368 'post_date' => 0, 369 369 'post_content' => '', 370 'post_type' => ' bp_members',370 'post_type' => 'page', 371 371 'post_status' => 'publish', 372 372 'is_page' => true, 373 373 'comment_status' => 'closed' … … class BP_Members_Theme_Compat { 427 427 'post_author' => 0, 428 428 'post_date' => 0, 429 429 'post_content' => '', 430 'post_type' => ' bp_members',430 'post_type' => 'page', 431 431 'post_status' => 'publish', 432 432 'is_page' => true, 433 433 'comment_status' => 'closed' … … class BP_Registration_Theme_Compat { 535 535 } 536 536 } 537 537 538 $post_type = bp_is_register_page() ? 'bp_register' : 'bp_activate';539 540 538 bp_theme_compat_reset_post( array( 541 539 'ID' => 0, 542 540 'post_title' => $title, 543 541 'post_author' => 0, 544 542 'post_date' => 0, 545 543 'post_content' => '', 546 'post_type' => $post_type,544 'post_type' => 'page', 547 545 'post_status' => 'publish', 548 546 'is_page' => true, 549 547 'comment_status' => 'closed'