fixing unescaped character in date function
This commit is contained in:
parent
1704a139ee
commit
b6fa3e913b
|
@ -118,7 +118,7 @@ class WC_Shortcode_My_Account {
|
||||||
<li class="comment note">
|
<li class="comment note">
|
||||||
<div class="comment_container">
|
<div class="comment_container">
|
||||||
<div class="comment-text">
|
<div class="comment-text">
|
||||||
<p class="meta"><?php echo date_i18n(__( 'l jS \of F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
<p class="meta"><?php echo date_i18n(__( 'l jS \o\f F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<?php echo wpautop( wptexturize( $note->comment_content ) ); ?>
|
<?php echo wpautop( wptexturize( $note->comment_content ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -67,7 +67,7 @@ class WC_Shortcode_View_Order {
|
||||||
<li class="comment note">
|
<li class="comment note">
|
||||||
<div class="comment_container">
|
<div class="comment_container">
|
||||||
<div class="comment-text">
|
<div class="comment-text">
|
||||||
<p class="meta"><?php echo date_i18n(__( 'l jS \of F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
<p class="meta"><?php echo date_i18n(__( 'l jS \o\f F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<?php echo wpautop(wptexturize($note->comment_content)); ?>
|
<?php echo wpautop(wptexturize($note->comment_content)); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,7 +34,7 @@ global $woocommerce;
|
||||||
<li class="comment note">
|
<li class="comment note">
|
||||||
<div class="comment_container">
|
<div class="comment_container">
|
||||||
<div class="comment-text">
|
<div class="comment-text">
|
||||||
<p class="meta"><?php echo date_i18n(__( 'l jS \of F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
<p class="meta"><?php echo date_i18n(__( 'l jS \o\f F Y, h:ia', 'woocommerce' ), strtotime($note->comment_date)); ?></p>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<?php echo wpautop( wptexturize( wp_kses_post( $note->comment_content ) ) ); ?>
|
<?php echo wpautop( wptexturize( wp_kses_post( $note->comment_content ) ) ); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue