PluginProbe
Polylang / 2.5
Polylang v2.5
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | modules/sync/sync-post-metas.php +2 -7 2.92.5 View file →
@@ -1,8 +1,5 @@
1 1 <?php
2 -/**
3 - * @package Polylang
4 - */
5 2
6 3 /**
7 4 * A class to manage copy and synchronization of post metas
8 5 *
@@ -59,13 +56,11 @@
59 56 $keys[] = $meta;
60 57 }
61 58 }
62 59
60 + // Random header image
63 61 if ( $this->options['media_support'] ) {
64 - $keys[] = '_wp_attached_file';
65 - $keys[] = '_wp_attachment_metadata';
66 - $keys[] = '_wp_attachment_backup_sizes';
67 - $keys[] = '_wp_attachment_is_custom_header'; // Random header image
62 + $keys[] = '_wp_attachment_is_custom_header';
68 63 }
69 64
70 65 /** This filter is documented in modules/sync/sync-metas.php */
71 66 return array_unique( apply_filters( 'pll_copy_post_metas', $keys, $sync, $from, $to, $lang ) );