Skip to content

Commit

Permalink
1/18/24
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhin18003 committed Jan 18, 2024
1 parent baa7aa5 commit 52aa776
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions core/admin/builders/CsWapgForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,17 @@ public static function customForm( $refObj ) {
. '</p><div class="coin-detail"><!--coin calculation--></div>',
);

$fields = wp_parse_args( $fields, apply_filters( 'woocommerce_altcoin_form_fields', $default_fields, $refObj->id ) );
// $fields = wp_parse_args( $fields, apply_filters( 'woocommerce_altcoin_form_fields', $default_fields, $refObj->id ) );

$premade_order_id = isset( $wp->query_vars['order-pay'] ) ? $wp->query_vars['order-pay'] : 0;

?>
<fieldset id="wc-<?php echo esc_attr( $refObj->id ); ?>-cc-form" class='wc-altcoin-form wc-payment-form'>
<input type="hidden" name="is_premade_order" id="is_premade_order" value="<?php echo esc_attr( $premade_order_id ); ?>" />
<?php do_action( 'woocommerce_altcoin_form_start', $refObj->id ); ?>
<?php
foreach ( $fields as $field ) {
echo esc_html( $field );
foreach ( $default_fields as $field ) {
echo $field ;
}
?>
<?php do_action( 'woocommerce_altcoin_form_end', $refObj->id ); ?>
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static function remote_call( $url, $method = 'GET', $params = array() ) {
* @param type $tagline
*/
public static function markup_tag( $tagline ) {
echo esc_html( sprintf( "\n<!--%s - %s-->\n", CS_WAPG_PLUGIN_NAME, $tagline ) );
echo sprintf( "\n<!--%s - %s-->\n", CS_WAPG_PLUGIN_NAME, $tagline );
}

/**
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ English, Spanish, Russian, German, French, Dutch

== Changelog ==

= V1.7.5 ( January 19, 2024 ) =
* **Update:** RAW HTML code error fixed


= V1.7.4 ( December 18, 2023 ) =
* **Update:** Security issue updated

Expand Down
4 changes: 2 additions & 2 deletions woocommerce-altcoin-payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: WooCommerce Bitcoin / AltCoin Payment Gateway
* Plugin URI: https://coinmarketstats.online/product/woocommerce-bitcoin-altcoin-payment-gateway
* Description: A very light weight Crypto-currency payment gateway for WooCommerce Store. Accept Bitcoin, Bitcoin Cash, Ethereum, Dogecoin, Dash, Litecoin, Ripple & more crypto-currencies
* Version: 1.7.4
* Version: 1.7.5
* Author: CoinMarketStats
* Author URI: https://coinmarketstats.online
* License: GPLv3
Expand Down Expand Up @@ -40,7 +40,7 @@ class Woocommerce_Altcoin_Payment_Gateway {
*
* @var String
*/
private static $version = '1.7.4';
private static $version = '1.7.5';

/**
* Hold version
Expand Down

0 comments on commit 52aa776

Please sign in to comment.