Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/15/2014 04:30:55 AM (10 years ago)
Author:
netweb
Message:

Replies now use the reply ID for the the post name/slug via r5117.
bbPress' importers should also reflect that change with the removal of 'Reply Title' (post_title), 'Reply Slug' (post_name) and callback_reply_title from all importers. Props netweb. Fixes #2585

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/Drupal7.php

    r5264 r5349  
    359359        );
    360360
    361         // Reply title.
    362         $this->field_map[] = array(
    363             'from_tablename' => 'comment',
    364             'from_fieldname' => 'subject',
    365             'to_type'        => 'reply',
    366             'to_fieldname'   => 'post_title'
    367         );
    368 
    369         // Reply slug (Clean name to avoid conflicts)
    370         $this->field_map[] = array(
    371             'from_tablename'  => 'comment',
    372             'from_fieldname'  => 'subject',
    373             'to_type'         => 'reply',
    374             'to_fieldname'    => 'post_name',
    375             'callback_method' => 'callback_slug'
    376         );
    377 
    378361        // Reply content.
    379362        // Note: We join the 'field_data_comment_body' table because 'comment' table does not include reply content.
Note: See TracChangeset for help on using the changeset viewer.