| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * Set up and create a new field |
| 75 | 75 | * |
| 76 | - * @param string $field_type | |
| 76 | + * @param string $field_type | |
| 77 | 77 | * @param integer $form_id |
| 78 | 78 | * |
| 79 | 79 | * @return array|bool |
| 80 | 80 | */ |
| @@ -140,10 +140,10 @@ | ||
| 140 | 140 | /** |
| 141 | 141 | * @since 3.0 |
| 142 | 142 | * |
| 143 | 143 | * @param int|array|object $field_object |
| 144 | - * @param array $values | |
| 145 | - * @param int $form_id | |
| 144 | + * @param array $values | |
| 145 | + * @param int $form_id | |
| 146 | 146 | */ |
| 147 | 147 | public static function load_single_field( $field_object, $values, $form_id = 0 ) { |
| 148 | 148 | global $frm_vars; |
| 149 | 149 | $frm_vars['is_admin'] = true; |
| @@ -206,10 +206,11 @@ | ||
| 206 | 206 | FrmField::destroy( $field_id ); |
| 207 | 207 | wp_die(); |
| 208 | 208 | } |
| 209 | 209 | |
| 210 | - /* Field Options */ | |
| 211 | - | |
| 210 | + /** | |
| 211 | + * Field Options. | |
| 212 | + */ | |
| 212 | 213 | public static function import_options() { |
| 213 | 214 | FrmAppHelper::permission_check( 'frm_edit_forms' ); |
| 214 | 215 | check_ajax_referer( 'frm_ajax', 'nonce' ); |
| 215 | 216 | |
| @@ -404,9 +405,9 @@ | ||
| 404 | 405 | return $type; |
| 405 | 406 | } |
| 406 | 407 | |
| 407 | 408 | /** |
| 408 | - * @param array $settings | |
| 409 | + * @param array $settings | |
| 409 | 410 | * @param object $field_info |
| 410 | 411 | * |
| 411 | 412 | * @return array |
| 412 | 413 | */ |
| @@ -619,9 +620,9 @@ | ||
| 619 | 620 | } |
| 620 | 621 | |
| 621 | 622 | if ( $placeholder !== '' ) { |
| 622 | 623 | ?> |
| 623 | - <option value=""> | |
| 624 | + <option class="frm-select-placeholder" value=""> | |
| 624 | 625 | <?php echo esc_html( FrmField::get_option( $field, 'autocom' ) ? '' : $placeholder ); ?> |
| 625 | 626 | </option> |
| 626 | 627 | <?php |
| 627 | 628 | return true; |
| @@ -914,11 +915,11 @@ | ||
| 914 | 915 | /** |
| 915 | 916 | * @deprecated 3.0 |
| 916 | 917 | * @codeCoverageIgnore |
| 917 | 918 | * |
| 918 | - * @param int $field_id | |
| 919 | + * @param int $field_id | |
| 919 | 920 | * @param array $values |
| 920 | - * @param int $form_id | |
| 921 | + * @param int $form_id | |
| 921 | 922 | * |
| 922 | 923 | * @return array |
| 923 | 924 | */ |
| 924 | 925 | public static function include_single_field( $field_id, $values, $form_id = 0 ) { |