@@ -378,10 +378,11 @@ |
||
378 | 378 | /** |
379 | 379 | * Build up a taxonomy field HTML |
380 | 380 | * |
381 | - * @param $taxonomy |
|
381 | + * @param string $taxonomy |
|
382 | 382 | * @param $post |
383 | + * @param string $value |
|
383 | 384 | * |
384 | - * @return array |
|
385 | + * @return string |
|
385 | 386 | */ |
386 | 387 | function build_taxonomy_html( $taxonomy, $post, $value ) { |
387 | 388 | $html = '<input type="text" data-attachment_id="' . $post->ID . '" class="foogallery-attachment-ignore-change" id="attachments-' . $post->ID .'-' . $taxonomy . '" name="attachments-' . $post->ID .'-' . $taxonomy . '" value="' . $value . '" />'; |