PluginProbe
bbPress / 2.6.19
bbPress v2.6.19
2.6.19 2.6.18 2.6.17 trunk 2.0 2.0-beta-1 2.0-beta-2b 2.0-beta-3 2.0-beta-3b 2.0-rc-2 2.0-rc-3 2.0-rc-4 2.0-rc-5 2.0.1 2.0.2 2.0.3 2.1 2.1-beta-1 2.1-rc1 2.1-rc2 2.1-rc3 2.1-rc4 2.1.1 2.1.2 2.1.3 All 74 releases
← All changes | includes/admin/converters/Vanilla.php +10 -2 trunk → 2.6.19 View file →
@@ -16,8 +16,16 @@
16 16 */
17 17 class Vanilla extends BBP_Converter_Base {
18 18
19 19 /**
20 + * Main Constructor
21 + *
22 + */
23 + public function __construct() {
24 + parent::__construct();
25 + }
26 +
27 + /**
20 28 * Sets up the field mappings
21 29 */
22 30 public function setup_globals() {
23 31
@@ -86,9 +94,9 @@
86 94 'to_type' => 'forum',
87 95 'to_fieldname' => 'post_title'
88 96 );
89 97
90 - // Forum slug (Clean name to avoid conflicts)
98 + // Forum slug (Clean name to avoid confilcts)
91 99 $this->field_map[] = array(
92 100 'from_tablename' => 'Category',
93 101 'from_fieldname' => 'Name',
94 102 'to_type' => 'forum',
@@ -574,9 +582,9 @@
574 582
575 583 /**
576 584 * Clean Root Parent ID -1 to 0
577 585 *
578 - * @param int $parent_id Vanilla v2.x Parent ID
586 + * @param int $parent Vanilla v2.x Parent ID
579 587 * @return int
580 588 */
581 589 public function callback_forum_parent( $parent_id = 0 ) {
582 590 if ( -1 === (int) $parent_id ) {