Skip to:
Content

bbPress.org

Changeset 5569


Ignore:
Timestamp:
11/22/2014 05:43:06 AM (7 years ago)
Author:
netweb
Message:

Include topic-tag descriptions in bbPress 1.x importer

  • Props thebrandonallen for initial patch
  • Fixes #2710
File:
1 edited

Legend:

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

    r5533 r5569  
    330330        );
    331331
     332        // Term description.
     333        $this->field_map[] = array(
     334            'from_tablename'  => 'term_taxonomy',
     335            'from_fieldname'  => 'description',
     336            'join_tablename'  => 'term_relationships',
     337            'join_type'       => 'INNER',
     338            'join_expression' => 'USING (term_taxonomy_id)',
     339            'to_type'         => 'tags',
     340            'to_fieldname'    => 'description',
     341            'callback_method' => 'callback_html'
     342        );
     343
    332344        // Term text.
    333345        $this->field_map[] = array(
Note: See TracChangeset for help on using the changeset viewer.