Changeset 7378 for trunk/src/includes/admin/converters/SimplePress5.php
- Timestamp:
- 11/22/2025 06:05:25 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/SimplePress5.php
r7006 r7378 18 18 19 19 /** 20 * Main Constructor21 *22 */23 public function __construct() {24 parent::__construct();25 }26 27 /**28 20 * Sets up the field mappings 29 21 */ … … 138 130 'to_type' => 'forums', 139 131 'to_fieldname' => 'post_date', 140 'default' => date( 'Y-m-d H:i:s')132 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore 141 133 ); 142 134 $this->field_map[] = array( 143 135 'to_type' => 'forums', 144 136 'to_fieldname' => 'post_date_gmt', 145 'default' => date('Y-m-d H:i:s')137 'default' => gmdate( 'Y-m-d H:i:s' ) 146 138 ); 147 139 $this->field_map[] = array( 148 140 'to_type' => 'forums', 149 141 'to_fieldname' => 'post_modified', 150 'default' => date( 'Y-m-d H:i:s')142 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore 151 143 ); 152 144 $this->field_map[] = array( 153 145 'to_type' => 'forums', 154 146 'to_fieldname' => 'post_modified_gmt', 155 'default' => date('Y-m-d H:i:s')147 'default' => gmdate( 'Y-m-d H:i:s' ) 156 148 ); 157 149
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)