updating the csv forum import code to use the forum id on dev55 instead of local
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 12 Jan 2017 21:32:49 +0000 (16:32 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 12 Jan 2017 21:32:49 +0000 (16:32 -0500)
copy changing 2285 to 389

models/admin/management/csvimport.php

index 5775ab2..be77d86 100644 (file)
@@ -202,11 +202,11 @@ class GlmMembersAdmin_management_csvimport
                         'post_name'    => $old_post_id,
                         'post_type'    => 'topic',
                         'post_status'  => 'publish',
-                        'post_parent'  => 28850
+                        'post_parent'  => 389
                     );
                 }
                 $new_post_id = wp_insert_post($args);
-                add_post_meta($new_post_id, '_bbp_forum_id', 28850);
+                add_post_meta($new_post_id, '_bbp_forum_id', 389);
                 add_post_meta($new_post_id, '_bbp_last_active_time', $post_date);