Skip to content

Commit

Permalink
2nd exists #2051
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Dec 30, 2012
1 parent 269b038 commit d1372bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woocommerce.php
Expand Up @@ -418,7 +418,7 @@ public function load_plugin_textdomain() {
if ( is_admin() ) {
if ( file_exists( WP_LANG_DIR . "/woocommerce/woocommerce-admin-$locale.mo" ) )
load_textdomain( 'woocommerce', WP_LANG_DIR . "/woocommerce/woocommerce-admin-$locale.mo" );
elseif ( file_exists( $this->plugin_path() . "/i18n/languages/woocommerce-admin-$locale.mo" ) )
else
load_textdomain( 'woocommerce', $this->plugin_path() . "/i18n/languages/woocommerce-admin-$locale.mo" );
}

Expand Down

0 comments on commit d1372bd

Please sign in to comment.