|
@@ -1378,7 +1378,7 @@ discard block |
|
|
block discarded – undo |
|
1378
|
1378
|
|
|
1379
|
1379
|
$placeholders['label_value:esc_attr'] = esc_attr( $placeholders['label_value'] ); |
|
1380
|
1380
|
|
|
1381
|
|
- if ( empty( $placeholders['label'] ) && ! empty( $placeholders['label_value'] ) ){ |
|
|
1381
|
+ if ( empty( $placeholders['label'] ) && ! empty( $placeholders['label_value'] ) ) { |
|
1382
|
1382
|
$placeholders['label'] = '<span class="gv-field-label">{{ label_value }}</span>'; |
|
1383
|
1383
|
} |
|
1384
|
1384
|
|
|
@@ -1417,7 +1417,7 @@ discard block |
|
|
block discarded – undo |
|
1417
|
1417
|
foreach ( $placeholders as $tag => $value ) { |
|
1418
|
1418
|
|
|
1419
|
1419
|
// If the tag doesn't exist just skip it |
|
1420
|
|
- if ( false === strpos( $html, $open_tag . $tag . $close_tag ) && false === strpos( $html, $open_tag . ' ' . $tag . ' ' . $close_tag ) ){ |
|
|
1420
|
+ if ( false === strpos( $html, $open_tag . $tag . $close_tag ) && false === strpos( $html, $open_tag . ' ' . $tag . ' ' . $close_tag ) ) { |
|
1421
|
1421
|
continue; |
|
1422
|
1422
|
} |
|
1423
|
1423
|
|
Please login to merge, or discard this patch.