| @@ -52,9 +52,9 @@ | ||
| 52 | 52 | 'to_type' => 'forum', |
| 53 | 53 | 'to_fieldname' => 'post_title' |
| 54 | 54 | ); |
| 55 | 55 | |
| 56 | - // Forum slug (Clean name to avoid conflicts) | |
| 56 | + // Forum slug (Clean name to avoid confilcts) | |
| 57 | 57 | $this->field_map[] = array( |
| 58 | 58 | 'from_tablename' => 'forum_forums', |
| 59 | 59 | 'from_fieldname' => 'name', |
| 60 | 60 | 'to_type' => 'forum', |
| @@ -95,24 +95,24 @@ | ||
| 95 | 95 | // Forum dates. |
| 96 | 96 | $this->field_map[] = array( |
| 97 | 97 | 'to_type' => 'forum', |
| 98 | 98 | 'to_fieldname' => 'post_date', |
| 99 | - 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore | |
| 99 | + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date | |
| 100 | 100 | ); |
| 101 | 101 | $this->field_map[] = array( |
| 102 | 102 | 'to_type' => 'forum', |
| 103 | 103 | 'to_fieldname' => 'post_date_gmt', |
| 104 | - 'default' => gmdate( 'Y-m-d H:i:s' ) | |
| 104 | + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date | |
| 105 | 105 | ); |
| 106 | 106 | $this->field_map[] = array( |
| 107 | 107 | 'to_type' => 'forum', |
| 108 | 108 | 'to_fieldname' => 'post_modified', |
| 109 | - 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore | |
| 109 | + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date | |
| 110 | 110 | ); |
| 111 | 111 | $this->field_map[] = array( |
| 112 | 112 | 'to_type' => 'forum', |
| 113 | 113 | 'to_fieldname' => 'post_modified_gmt', |
| 114 | - 'default' => gmdate( 'Y-m-d H:i:s' ) | |
| 114 | + 'default' => date( 'Y-m-d H:i:s' ) // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date | |
| 115 | 115 | ); |
| 116 | 116 | |
| 117 | 117 | /** Topic Section ******************************************************/ |
| 118 | 118 | |