diff --git a/includes/custom-edit-page.php b/includes/custom-edit-page.php index a3a6e0c..b75e12a 100644 --- a/includes/custom-edit-page.php +++ b/includes/custom-edit-page.php @@ -60,6 +60,14 @@ function contact_custom_box_html( $post ) { $formatted_value = apply_filters( 'qterest_format_value', $value ); } + if ( is_array( $formatted_value ) ) { + $formatted_value = implode( ', ', $formatted_value ); + } + + if ( is_array( $value ) ) { + $value = implode( ', ', $value ); + } + $is_link = substr( $value, 0, 4 ) == 'http'; echo '' . $formatted_key . '' . ( $is_link ? "$formatted_value" : $formatted_value ) . '';