diff --git a/class_GF_PLL.php b/class_GF_PLL.php index 3315841..e97d3d5 100644 --- a/class_GF_PLL.php +++ b/class_GF_PLL.php @@ -79,7 +79,8 @@ public function register_strings() { $this->iterate_form($form, function($value, $key) { $name = ''; // todo: suitable naming $group = "Form #{$this->form['id']}: {$this->form['title']}"; - pll_register_string($name, $value, $group); + $multiline = ( 50 < mb_strlen( $value ) ); + pll_register_string($name, $value, $group, $multiline); $this->registered_strings[] = $value; }); }