Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Commit

Permalink
Remove extra text domain logic
Browse files Browse the repository at this point in the history
  • Loading branch information
coreymckrill committed Jan 17, 2017
1 parent bf5448f commit d58830d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions camptix.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,7 @@ function schedule_events() {
* Load Textdomain
*/
function load_textdomain() {

$locale = apply_filters( 'plugin_locale', get_locale(), 'camptix' );

load_textdomain( 'camptix', WP_LANG_DIR . '/camptix/camptix-' . $locale . '.mo' );
load_plugin_textdomain( 'camptix', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );

load_plugin_textdomain( 'camptix', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
}

/**
Expand Down

0 comments on commit d58830d

Please sign in to comment.