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/PHPFox3.php +12 -4 trunk → 2.6.19 View file →
@@ -16,8 +16,16 @@
16 16 */
17 17 class PHPFox3 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
@@ -126,24 +134,24 @@
126 134 // Forum dates.
127 135 $this->field_map[] = array(
128 136 'to_type' => 'forum',
129 137 'to_fieldname' => 'post_date',
130 - 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore
138 + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
131 139 );
132 140 $this->field_map[] = array(
133 141 'to_type' => 'forum',
134 142 'to_fieldname' => 'post_date_gmt',
135 - 'default' => gmdate( 'Y-m-d H:i:s' )
143 + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
136 144 );
137 145 $this->field_map[] = array(
138 146 'to_type' => 'forum',
139 147 'to_fieldname' => 'post_modified',
140 - 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore
148 + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
141 149 );
142 150 $this->field_map[] = array(
143 151 'to_type' => 'forum',
144 152 'to_fieldname' => 'post_modified_gmt',
145 - 'default' => gmdate( 'Y-m-d H:i:s' )
153 + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
146 154 );
147 155
148 156 /** Topic Section *****************************************************/
149 157