From: Anthony Talarico Date: Thu, 12 Jan 2017 21:32:49 +0000 (-0500) Subject: updating the csv forum import code to use the forum id on dev55 instead of local X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5ec6b6879c3236c82a86746d20280f7747bc2d32;p=WP-Plugins%2Fglm-member-db.git updating the csv forum import code to use the forum id on dev55 instead of local copy changing 2285 to 389 --- diff --git a/models/admin/management/csvimport.php b/models/admin/management/csvimport.php index 5775ab23..be77d869 100644 --- a/models/admin/management/csvimport.php +++ b/models/admin/management/csvimport.php @@ -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);