@@ -342,10 +342,11 @@ |
||
| 342 | 342 | /** |
| 343 | 343 | * Build up a taxonomy field HTML |
| 344 | 344 | * |
| 345 | - * @param $taxonomy |
|
| 345 | + * @param string $taxonomy |
|
| 346 | 346 | * @param $post |
| 347 | + * @param string $value |
|
| 347 | 348 | * |
| 348 | - * @return array |
|
| 349 | + * @return string |
|
| 349 | 350 | */ |
| 350 | 351 | function build_taxonomy_html( $taxonomy, $post, $value ) { |
| 351 | 352 | $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 . '" data-original-value="' . $value . '" />'; |