Changeset 5843
- Timestamp:
- 07/15/2015 09:22:33 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/update.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/update.php
r5829 r5843 192 192 ), 'create_initial_content' ); 193 193 194 // Use the same time for each post 195 $current_time = current_time( 'mysql' ); 196 194 197 // Create the initial forum 195 198 $forum_id = bbp_insert_forum( array( … … 197 200 'post_status' => $r['forum_status'], 198 201 'post_title' => $r['forum_title'], 199 'post_content' => $r['forum_content'] 202 'post_content' => $r['forum_content'], 203 'post_date' => $current_time 200 204 ) ); 201 205 … … 205 209 'post_parent' => $forum_id, 206 210 'post_title' => $r['topic_title'], 207 'post_content' => $r['topic_content'] 211 'post_content' => $r['topic_content'], 212 'post_date' => $current_time 208 213 ), 209 214 array( … … 216 221 array( 217 222 'post_parent' => $topic_id, 218 'post_content' => $r['reply_content'] 223 'post_content' => $r['reply_content'], 224 'post_date' => $current_time 219 225 ), 220 226 array(
Note: See TracChangeset
for help on using the changeset viewer.