| @@ -79,17 +79,9 @@ | ||
| 79 | 79 | foreach ( $post_ids as $post_id ) { |
| 80 | 80 | $post_id = intval( $post_id ); |
| 81 | 81 | $post = get_post( $post_id ); |
| 82 | 82 | $post_meta = get_post_meta( $post_id ); |
| 83 | - | |
| 84 | - // The view counter belongs to this site's traffic, not to the form. These | |
| 85 | - // payloads feed shared starter templates, so shipping it would hand every | |
| 86 | - // importer a stranger's numbers. The import side already refuses the key, | |
| 87 | - // so this is about not exporting it in the first place. | |
| 88 | - if ( is_array( $post_meta ) ) { | |
| 89 | - unset( $post_meta[ \SRFM\Inc\Form_Views::META_KEY ] ); | |
| 90 | - } | |
| 91 | - $posts[] = [ | |
| 83 | + $posts[] = [ | |
| 92 | 84 | 'post' => $post, |
| 93 | 85 | 'post_meta' => $post_meta, |
| 94 | 86 | ]; |
| 95 | 87 | } |