Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/07/2014 02:43:19 PM (11 years ago)
Author:
netweb
Message:

Fixed topic sticky status importing method for compatibility when wp_bbconverter_translator database sync_table exists.

  • Topic stickies and super stickies are correctly stuck with or without sync_table
  • Renamed sticky meta key _bbp_old_sticky_status to _bbp_old_sticky_status_id for importers that support stickies

See #2650

File:
1 edited

Legend:

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

    r5426 r5427  
    261261        );
    262262
    263         // Sticky status (Stored in postmeta))
     263        // Sticky status (Stored in postmeta)
    264264        $this->field_map[] = array(
    265265            'from_tablename'  => 'topics_table',
    266266            'from_fieldname'  => 'the_topic_sticky_status',
    267267            'to_type'         => 'topic',
    268             'to_fieldname'    => '_bbp_old_sticky_status',
     268            'to_fieldname'    => '_bbp_old_sticky_status_id',
    269269            'callback_method' => 'callback_sticky_status'
    270270        );
Note: See TracChangeset for help on using the changeset viewer.