Browse Source

removing plugin textdomain

related #120

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>
develop
Tom McFarlin 8 years ago
parent
commit
01319c57e3
  1. 1
      plugin-name/public/class-plugin-name.php

1
plugin-name/public/class-plugin-name.php

@ -257,7 +257,6 @@ class Plugin_Name {
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' );
load_plugin_textdomain( $domain, FALSE, basename( plugin_dir_path( dirname( __FILE__ ) ) ) . 'languages/' );
}

Loading…
Cancel
Save