Changeset 3603 for trunk/bp-core/admin/bp-core-upgrade.php
- Timestamp:
- 12/28/2010 07:08:02 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-upgrade.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-upgrade.php
r3592 r3603 1053 1053 $bp_pages[$key] = (int)$_POST['bp-' . $key . '-page']; 1054 1054 else 1055 $bp_pages[$key] = wp_insert_post( array( ' post_title' => ucwords( $key ), 'post_status' => 'publish', 'post_type' => 'page' ) );1055 $bp_pages[$key] = wp_insert_post( array( 'comment_status' => 'closed', 'ping_status' => 'closed', 'post_title' => ucwords( $key ), 'post_status' => 'publish', 'post_type' => 'page' ) ); 1056 1056 } else { 1057 1057 /* Create a new page */ 1058 $bp_pages[$key] = wp_insert_post( array( ' post_title' => ucwords( $value ), 'post_status' => 'publish', 'post_type' => 'page' ) );1058 $bp_pages[$key] = wp_insert_post( array( 'comment_status' => 'closed', 'ping_status' => 'closed', 'post_title' => ucwords( $value ), 'post_status' => 'publish', 'post_type' => 'page' ) ); 1059 1059 } 1060 1060 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)