Skip to content

Commit

Permalink
Fix load_plugin_textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Jun 8, 2016
1 parent 45bfb51 commit a8931e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woocommerce-gateway-stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function init_gateways() {
include_once( plugin_basename( 'includes/legacy/class-wc-gateway-stripe-saved-cards.php' ) );
}

load_plugin_textdomain( 'woocommerce-gateway-stripe', false, trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );
load_plugin_textdomain( 'woocommerce-gateway-stripe', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
add_filter( 'woocommerce_payment_gateways', array( $this, 'add_gateways' ) );

if ( $this->subscription_support_enabled ) {
Expand Down

0 comments on commit a8931e2

Please sign in to comment.