Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/13/2014 01:56:43 AM (12 years ago)
Author:
netweb
Message:

Include 'default' forum status and forum type meta keys in importers for databases that do not support these values.

  • Forum status: _bbp_status = open meta
  • Forum type: _bbp_forum_type = forum

Props netweb. See #2647

File:
1 edited

Legend:

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

    r5428 r5516  
    108108        );
    109109
     110        // Forum type (Set a default value 'forum', Stored in postmeta)
     111        $this->field_map[] = array(
     112            'to_type'      => 'forum',
     113            'to_fieldname' => '_bbp_forum_type',
     114            'default'      => 'forum'
     115        );
     116
    110117        // Forum status (Unlocked = 1 or Locked = 0, Stored in postmeta)
    111118        $this->field_map[] = array(
Note: See TracChangeset for help on using the changeset viewer.