We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8f349f commit 9597e17Copy full SHA for 9597e17
1 file changed
classes/class-cpt-wplf-submission.php
@@ -185,7 +185,7 @@ function metabox_submission() {
185
<?php $value = $postmeta[ $field ][0]; ?>
186
<tr>
187
<th><strong><?php echo $field; ?></strong></th>
188
- <?php if( strlen( $value ) > 60 ) : ?>
+ <?php if( strlen( $value ) > 60 || strpos( $value, "\n" ) ) : ?>
189
<td><textarea style="width:100%" readonly><?php echo $value; ?></textarea></td>
190
<?php else : ?>
191
<td><input style="width:100%" type="text" value="<?php echo $value; ?>" readonly></td>
0 commit comments