@@ -321,6 +321,9 @@ |
||
321 | 321 | $this->add_sync_item( $post_id, $sync_item ); |
322 | 322 | } |
323 | 323 | |
324 | + /** |
|
325 | + * @param Jetpack_Sync_Item $sync_item |
|
326 | + */ |
|
324 | 327 | public function add_sync_item( $post_id, $sync_item ) { |
325 | 328 | if ( $this->has_sync_item( 'new' ) && ! $this->has_sync_item( $post_id ) ) { |
326 | 329 | $this->sync_items[ $post_id ] = $this->sync_items['new']; |