@@ -491,9 +491,9 @@ |
||
| 491 | 491 | /** |
| 492 | 492 | * Private helper function to get the value of a setting for a gallery |
| 493 | 493 | * @param $gallery |
| 494 | - * @param $setting_id |
|
| 495 | - * @param $argument_name |
|
| 496 | - * @param $default_value |
|
| 494 | + * @param string $setting_id |
|
| 495 | + * @param string $argument_name |
|
| 496 | + * @param string $default_value |
|
| 497 | 497 | * |
| 498 | 498 | * @return mixed |
| 499 | 499 | */ |
@@ -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 . '" />'; |