|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
<?php echo $eei18n; ?> |
|
37
|
37
|
</script> |
|
38
|
38
|
<?php foreach ($header_js as $key => $url) :?> |
|
39
|
|
- <?php $header_attributes = isset($header_js_attributes[ $key ]) ? $header_js_attributes[ $key ] : ''; ?> |
|
|
39
|
+ <?php $header_attributes = isset($header_js_attributes[$key]) ? $header_js_attributes[$key] : ''; ?> |
|
40
|
40
|
<script type="text/javascript" src="<?php echo esc_url_raw($url); ?>" <?php echo AttributesSanitizer::clean($header_attributes, AllowedTags::getAllowedTags(), 'script'); ?>></script> |
|
41
|
41
|
<?php endforeach; ?> |
|
42
|
42
|
<?php endif; ?> |
|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
<?php echo wp_kses($content, AllowedTags::getWithFormTags()); ?> |
|
48
|
48
|
</div> |
|
49
|
49
|
<?php foreach ($footer_js as $key => $url) : ?> |
|
50
|
|
- <?php $footer_attributes = isset($footer_js_attributes[ $key ]) ? $footer_js_attributes[ $key ] : ''; ?> |
|
|
50
|
+ <?php $footer_attributes = isset($footer_js_attributes[$key]) ? $footer_js_attributes[$key] : ''; ?> |
|
51
|
51
|
<script type="text/javascript" src="<?php echo esc_url_raw($url); ?>" <?php echo AttributesSanitizer::clean($footer_attributes, AllowedTags::getAllowedTags(), 'script'); ?>></script> |
|
52
|
52
|
<?php endforeach; ?> |
|
53
|
53
|
<?php if ($enqueue_wp_assets) : ?> |
Please login to merge, or discard this patch.