| @@ -56,13 +56,11 @@ | ||
| 56 | 56 | $keys[] = $meta; |
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | + // Random header image | |
| 60 | 61 | if ( $this->options['media_support'] ) { |
| 61 | - $keys[] = '_wp_attached_file'; | |
| 62 | - $keys[] = '_wp_attachment_metadata'; | |
| 63 | - $keys[] = '_wp_attachment_backup_sizes'; | |
| 64 | - $keys[] = '_wp_attachment_is_custom_header'; // Random header image | |
| 62 | + $keys[] = '_wp_attachment_is_custom_header'; | |
| 65 | 63 | } |
| 66 | 64 | |
| 67 | 65 | /** This filter is documented in modules/sync/sync-metas.php */ |
| 68 | 66 | return array_unique( apply_filters( 'pll_copy_post_metas', $keys, $sync, $from, $to, $lang ) ); |