includes/acf/fields/message.php 1 location
|
@@ 82-90 (lines=9) @@
|
79 |
|
|
80 |
|
|
81 |
|
// new lines |
82 |
|
if( $field['new_lines'] == 'wpautop' ) { |
83 |
|
|
84 |
|
$m = wpautop($m); |
85 |
|
|
86 |
|
} elseif( $field['new_lines'] == 'br' ) { |
87 |
|
|
88 |
|
$m = nl2br($m); |
89 |
|
|
90 |
|
} |
91 |
|
|
92 |
|
|
93 |
|
// return |
includes/acf/fields/textarea.php 1 location
|
@@ 223-231 (lines=9) @@
|
220 |
|
|
221 |
|
|
222 |
|
// new lines |
223 |
|
if( $field['new_lines'] == 'wpautop' ) { |
224 |
|
|
225 |
|
$value = wpautop($value); |
226 |
|
|
227 |
|
} elseif( $field['new_lines'] == 'br' ) { |
228 |
|
|
229 |
|
$value = nl2br($value); |
230 |
|
|
231 |
|
} |
232 |
|
|
233 |
|
|
234 |
|
// return |