Skip to content

Commit

Permalink
Version 1.10.4 (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
mntzrr authored Jun 26, 2024
2 parents 916e207 + 7ce046f commit ea2cc12
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 6 additions & 4 deletions classes/class-dintero-checkout-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,19 @@ public function __construct() {
* Loads style for the plugin.
*/
public function dintero_load_css() {
$settings = get_option( 'woocommerce_dintero_checkout_settings' );
if ( dwc_is_express( $settings ) ) {
return;
}
if ( ! is_checkout() ) {
return;
}

if ( is_order_received_page() ) {
return;
}

$settings = get_option( 'woocommerce_dintero_checkout_settings' );
if ( ! dwc_is_express( $settings ) ) {
return;
}

wp_register_style(
'dintero-checkout-style',
DINTERO_CHECKOUT_URL . '/assets/css/dintero-checkout-express.css',
Expand Down
4 changes: 2 additions & 2 deletions dintero-checkout-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Dintero offers a complete payment solution. Simplifying the payment process for you and the customer.
* Author: Dintero, Krokedil
* Author URI: https://krokedil.com/
* Version: 1.10.3
* Version: 1.10.4
* Text Domain: dintero-checkout-for-woocommerce
* Domain Path: /languages
*
Expand All @@ -22,7 +22,7 @@
exit;
}

define( 'DINTERO_CHECKOUT_VERSION', '1.10.3' );
define( 'DINTERO_CHECKOUT_VERSION', '1.10.4' );
define( 'DINTERO_CHECKOUT_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
define( 'DINTERO_CHECKOUT_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'DINTERO_CHECKOUT_MAIN_FILE', __FILE__ );
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Go to [https://www.dintero.com/contact-us](https://www.dintero.com/contact-us) t
1. The plugin settings screen where you set up the details to connect to Dintero.

== Changelog ==
= 2024.06.26 - version 1.10.4 =
* Fix - Fixed an issue where the CSS file was not enqueued causing the checkout layout for Express checkout to always be a single-column.

= 2024.06.25 - version 1.10.3 =
* Fix - Fixed critical error when reading settings.

Expand Down

0 comments on commit ea2cc12

Please sign in to comment.