Changeset 5427
- Timestamp:
- 07/07/2014 02:43:19 PM (11 years ago)
- Location:
- trunk/src/includes/admin
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converter.php
r5425 r5427 1094 1094 1095 1095 if ( !empty( $this->sync_table ) ) { 1096 $query = 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_old_sticky_status" AND meta_value = "sticky" LIMIT ' . $start . ', ' . $this->max_rows;1096 $query = 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_old_sticky_status_id" AND meta_value = "sticky" LIMIT ' . $start . ', ' . $this->max_rows; 1097 1097 } else { 1098 $query = 'SELECT post_id AS value_id, meta_value FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_old_sticky_status" AND meta_value = "sticky" LIMIT ' . $start . ', ' . $this->max_rows;1098 $query = 'SELECT post_id AS value_id, meta_value FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_old_sticky_status_id" AND meta_value = "sticky" LIMIT ' . $start . ', ' . $this->max_rows; 1099 1099 } 1100 1100 … … 1125 1125 1126 1126 if ( !empty( $this->sync_table ) ) { 1127 $query = 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_old_sticky_status" AND meta_value = "super-sticky" LIMIT ' . $start . ', ' . $this->max_rows;1127 $query = 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_old_sticky_status_id" AND meta_value = "super-sticky" LIMIT ' . $start . ', ' . $this->max_rows; 1128 1128 } else { 1129 $query = 'SELECT post_id AS value_id, meta_value FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_old_sticky_status" AND meta_value = "super-sticky" LIMIT ' . $start . ', ' . $this->max_rows;1129 $query = 'SELECT post_id AS value_id, meta_value FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_old_sticky_status_id" AND meta_value = "super-sticky" LIMIT ' . $start . ', ' . $this->max_rows; 1130 1130 } 1131 1131 -
trunk/src/includes/admin/converters/AEF.php
r5426 r5427 240 240 ); 241 241 242 // Sticky status (Stored in postmeta) )242 // Sticky status (Stored in postmeta) 243 243 $this->field_map[] = array( 244 244 'from_tablename' => 'topics', 245 245 'from_fieldname' => 't_sticky', 246 246 'to_type' => 'topic', 247 'to_fieldname' => '_bbp_old_sticky_status ',247 'to_fieldname' => '_bbp_old_sticky_status_id', 248 248 'callback_method' => 'callback_sticky_status' 249 249 ); -
trunk/src/includes/admin/converters/Drupal7.php
r5426 r5427 191 191 ); 192 192 193 // Sticky status (Stored in postmeta) )193 // Sticky status (Stored in postmeta) 194 194 $this->field_map[] = array( 195 195 'from_tablename' => 'forum_index', 196 196 'from_fieldname' => 'sticky', 197 197 'to_type' => 'topic', 198 'to_fieldname' => '_bbp_old_sticky_status ',198 'to_fieldname' => '_bbp_old_sticky_status_id', 199 199 'callback_method' => 'callback_sticky_status' 200 200 ); -
trunk/src/includes/admin/converters/Example.php
r5426 r5427 261 261 ); 262 262 263 // Sticky status (Stored in postmeta) )263 // Sticky status (Stored in postmeta) 264 264 $this->field_map[] = array( 265 265 'from_tablename' => 'topics_table', 266 266 'from_fieldname' => 'the_topic_sticky_status', 267 267 'to_type' => 'topic', 268 'to_fieldname' => '_bbp_old_sticky_status ',268 'to_fieldname' => '_bbp_old_sticky_status_id', 269 269 'callback_method' => 'callback_sticky_status' 270 270 ); -
trunk/src/includes/admin/converters/FluxBB.php
r5426 r5427 223 223 ); 224 224 225 // Sticky status (Stored in postmeta) )225 // Sticky status (Stored in postmeta) 226 226 $this->field_map[] = array( 227 227 'from_tablename' => 'topics', 228 228 'from_fieldname' => 'sticky', 229 229 'to_type' => 'topic', 230 'to_fieldname' => '_bbp_old_sticky_status ',230 'to_fieldname' => '_bbp_old_sticky_status_id', 231 231 'callback_method' => 'callback_sticky_status' 232 232 ); -
trunk/src/includes/admin/converters/Invision.php
r5349 r5427 215 215 ); 216 216 217 // Sticky status (Stored in postmeta) )217 // Sticky status (Stored in postmeta) 218 218 $this->field_map[] = array( 219 219 'from_tablename' => 'topics', 220 220 'from_fieldname' => 'pinned', 221 221 'to_type' => 'topic', 222 'to_fieldname' => '_bbp_old_sticky_status ',222 'to_fieldname' => '_bbp_old_sticky_status_id', 223 223 'callback_method' => 'callback_sticky_status' 224 224 ); -
trunk/src/includes/admin/converters/Mingle.php
r5426 r5427 163 163 ); 164 164 165 // Sticky status (Stored in postmeta) )165 // Sticky status (Stored in postmeta) 166 166 $this->field_map[] = array( 167 167 'from_tablename' => 'forum_threads', 168 168 'from_fieldname' => 'status', 169 169 'to_type' => 'topic', 170 'to_fieldname' => '_bbp_old_sticky_status ',170 'to_fieldname' => '_bbp_old_sticky_status_id', 171 171 'callback_method' => 'callback_sticky_status' 172 172 ); -
trunk/src/includes/admin/converters/MyBB.php
r5426 r5427 210 210 ); 211 211 212 // Sticky status (Stored in postmeta) )212 // Sticky status (Stored in postmeta) 213 213 $this->field_map[] = array( 214 214 'from_tablename' => 'threads', 215 215 'from_fieldname' => 'sticky', 216 216 'to_type' => 'topic', 217 'to_fieldname' => '_bbp_old_sticky_status ',217 'to_fieldname' => '_bbp_old_sticky_status_id', 218 218 'callback_method' => 'callback_sticky_status' 219 219 ); -
trunk/src/includes/admin/converters/PHPFox3.php
r5426 r5427 243 243 ); 244 244 245 // Sticky status (Stored in postmeta) )245 // Sticky status (Stored in postmeta) 246 246 $this->field_map[] = array( 247 247 'from_tablename' => 'forum_thread', 248 248 'from_fieldname' => 'order_id', 249 249 'to_type' => 'topic', 250 'to_fieldname' => '_bbp_old_sticky_status ',250 'to_fieldname' => '_bbp_old_sticky_status_id', 251 251 'callback_method' => 'callback_sticky_status' 252 252 ); -
trunk/src/includes/admin/converters/PunBB.php
r5426 r5427 232 232 ); 233 233 234 // Sticky status (Stored in postmeta) )234 // Sticky status (Stored in postmeta) 235 235 $this->field_map[] = array( 236 236 'from_tablename' => 'topics', 237 237 'from_fieldname' => 'sticky', 238 238 'to_type' => 'topic', 239 'to_fieldname' => '_bbp_old_sticky_status ',239 'to_fieldname' => '_bbp_old_sticky_status_id', 240 240 'callback_method' => 'callback_sticky_status' 241 241 ); -
trunk/src/includes/admin/converters/SMF.php
r5426 r5427 241 241 ); 242 242 243 // Sticky status (Stored in postmeta) )243 // Sticky status (Stored in postmeta) 244 244 $this->field_map[] = array( 245 245 'from_tablename' => 'topics', 246 246 'from_fieldname' => 'is_sticky', 247 247 'to_type' => 'topic', 248 'to_fieldname' => '_bbp_old_sticky_status ',248 'to_fieldname' => '_bbp_old_sticky_status_id', 249 249 'callback_method' => 'callback_sticky_status' 250 250 ); -
trunk/src/includes/admin/converters/SimplePress5.php
r5426 r5427 215 215 ); 216 216 217 // Sticky status (Stored in postmeta) )217 // Sticky status (Stored in postmeta) 218 218 $this->field_map[] = array( 219 219 'from_tablename' => 'sftopics', 220 220 'from_fieldname' => 'topic_pinned', 221 221 'to_type' => 'topic', 222 'to_fieldname' => '_bbp_old_sticky_status ',222 'to_fieldname' => '_bbp_old_sticky_status_id', 223 223 'callback_method' => 'callback_sticky_status' 224 224 ); -
trunk/src/includes/admin/converters/XMB.php
r5426 r5427 249 249 ); 250 250 251 // Sticky status (Stored in postmeta) )251 // Sticky status (Stored in postmeta) 252 252 $this->field_map[] = array( 253 253 'from_tablename' => 'threads', 254 254 'from_fieldname' => 'topped', 255 255 'to_type' => 'topic', 256 'to_fieldname' => '_bbp_old_sticky_status ',256 'to_fieldname' => '_bbp_old_sticky_status_id', 257 257 'callback_method' => 'callback_sticky_status' 258 258 ); -
trunk/src/includes/admin/converters/XenForo.php
r5426 r5427 263 263 ); 264 264 265 // Sticky status (Stored in postmeta) )265 // Sticky status (Stored in postmeta) 266 266 $this->field_map[] = array( 267 267 'from_tablename' => 'thread', 268 268 'from_fieldname' => 'sticky', 269 269 'to_type' => 'topic', 270 'to_fieldname' => '_bbp_old_sticky_status ',270 'to_fieldname' => '_bbp_old_sticky_status_id', 271 271 'callback_method' => 'callback_sticky_status' 272 272 ); -
trunk/src/includes/admin/converters/bbPress1.php
r5349 r5427 251 251 ); 252 252 253 // Sticky status (Stored in postmeta) )253 // Sticky status (Stored in postmeta) 254 254 $this->field_map[] = array( 255 255 'from_tablename' => 'topics', 256 256 'from_fieldname' => 'topic_sticky', 257 257 'to_type' => 'topic', 258 'to_fieldname' => '_bbp_old_sticky_status ',258 'to_fieldname' => '_bbp_old_sticky_status_id', 259 259 'callback_method' => 'callback_sticky_status' 260 260 ); -
trunk/src/includes/admin/converters/e107v1.php
r5426 r5427 236 236 'from_fieldname' => 'thread_s', 237 237 'to_type' => 'topic', 238 'to_fieldname' => '_bbp_old_sticky_status ',238 'to_fieldname' => '_bbp_old_sticky_status_id', 239 239 'callback_method' => 'callback_sticky_status' 240 240 ); -
trunk/src/includes/admin/converters/phpBB.php
r5426 r5427 253 253 ); 254 254 255 // Sticky status (Stored in postmeta) )255 // Sticky status (Stored in postmeta) 256 256 $this->field_map[] = array( 257 257 'from_tablename' => 'topics', 258 258 'from_fieldname' => 'topic_type', 259 259 'to_type' => 'topic', 260 'to_fieldname' => '_bbp_old_sticky_status ',260 'to_fieldname' => '_bbp_old_sticky_status_id', 261 261 'callback_method' => 'callback_sticky_status' 262 262 ); -
trunk/src/includes/admin/converters/vBulletin.php
r5426 r5427 245 245 ); 246 246 247 // Sticky status (Stored in postmeta) )247 // Sticky status (Stored in postmeta) 248 248 $this->field_map[] = array( 249 249 'from_tablename' => 'thread', 250 250 'from_fieldname' => 'sticky', 251 251 'to_type' => 'topic', 252 'to_fieldname' => '_bbp_old_sticky_status ',252 'to_fieldname' => '_bbp_old_sticky_status_id', 253 253 'callback_method' => 'callback_sticky_status' 254 254 ); -
trunk/src/includes/admin/converters/vBulletin3.php
r5426 r5427 245 245 ); 246 246 247 // Sticky status (Stored in postmeta) )247 // Sticky status (Stored in postmeta) 248 248 $this->field_map[] = array( 249 249 'from_tablename' => 'thread', 250 250 'from_fieldname' => 'sticky', 251 251 'to_type' => 'topic', 252 'to_fieldname' => '_bbp_old_sticky_status ',252 'to_fieldname' => '_bbp_old_sticky_status_id', 253 253 'callback_method' => 'callback_sticky_status' 254 254 );
Note: See TracChangeset
for help on using the changeset viewer.