Skip to content

Commit

Permalink
Merge pull request #15 from xaviranik/develop
Browse files Browse the repository at this point in the history
fix: product tab and store header raw html showing issue
  • Loading branch information
nurul-umbhiya authored Dec 14, 2020
2 parents fe444f7 + d2ff45b commit 7fc40f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dokan/global/product-tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

if( $banner_id ) { ?>
<a href="<?php echo esc_url( dokan_get_store_url( $author->ID ) ); ?>">
<?php echo esc_html( $banner_url ); ?>
<?php echo wp_kses_post( $banner_url ); ?>
</a>
<?php } else { ?>
<a href="<?php echo esc_url( dokan_get_store_url( $author->ID ) ); ?>">
Expand Down Expand Up @@ -49,7 +49,7 @@
<li class="store-address">
<span class="title"><?php esc_html_e( 'Address:', 'dokani' ); ?></span>
<span class="details">
<?php echo esc_html( dokan_get_seller_address( $author->ID ) ); ?>
<?php echo wp_kses_post( dokan_get_seller_address( $author->ID ) ); ?>
</span>
</li>
<?php } ?>
Expand Down

0 comments on commit 7fc40f5

Please sign in to comment.