Completed
Pull Request — master (#111)
by Luca
01:54
created
includes/ContentImport/ContentImporter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@
 block discarded – undo
202 202
 		return $this->has_created_post;
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param boolean $handle
207
+	 */
205 208
 	public function handle( $handle ) {
206 209
 		$this->handle = $handle;
207 210
 
Please login to merge, or discard this patch.
includes/ContentImport/Importers/PostThumbnail/Linking.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 		return $data;
120 120
 	}
121 121
 
122
+	/**
123
+	 * @param integer $source_post_thumbnail_id
124
+	 */
122 125
 	protected function get_attachment_meta( $source_post_thumbnail_id ) {
123 126
 		$keys = [ '_wp_attached_file', '_wp_attachment_metadata', '_wp_attachment_image_alt' ];
124 127
 
Please login to merge, or discard this patch.
includes/ContentImport/Importers/Terms/ShallowDuplicating.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
 		return $data;
93 93
 	}
94 94
 
95
+	/**
96
+	 * @param string $dest_lang
97
+	 */
95 98
 	protected function create_local_term( \WP_Term $term, MslsOptionsTax $msls_term, $dest_lang ) {
96 99
 		$meta         = get_term_meta( $term->term_id );
97 100
 		$dest_term_id = wp_create_term( $term->name, $term->taxonomy );
@@ -131,6 +134,9 @@  discard block
 block discarded – undo
131 134
 		return array_diff_key( $meta, array_combine( $blacklist, $blacklist ) );
132 135
 	}
133 136
 
137
+	/**
138
+	 * @param integer $object_id
139
+	 */
134 140
 	protected function update_object_terms( $object_id, $dest_term_id, $taxonomy ) {
135 141
 		if ( ! in_array( $taxonomy, $this->reset_taxonomies, true ) ) {
136 142
 			wp_set_object_terms( $object_id, [], $taxonomy );
Please login to merge, or discard this patch.