diff options
| author | danix <danix@danix.xyz> | 2018-07-30 17:16:13 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2018-07-30 17:16:13 +0200 |
| commit | 64366593a61a05d925128d6640ac653e6ccd676a (patch) | |
| tree | e4260ba88a1cb4139d26312328607b125501d3d6 | |
| parent | 895fce7f07051384d5648dc46af512de7453b3b6 (diff) | |
| download | danixland-wporg-stats-64366593a61a05d925128d6640ac653e6ccd676a.tar.gz danixland-wporg-stats-64366593a61a05d925128d6640ac653e6ccd676a.zip | |
fixed error when including plugin textdomain as noted by the WP.org plugins review team
| -rw-r--r-- | danixland-wporg-stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/danixland-wporg-stats.php b/danixland-wporg-stats.php index 6aeca8b..bad3d5c 100644 --- a/danixland-wporg-stats.php +++ b/danixland-wporg-stats.php @@ -18,7 +18,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * Add plugin i18n domain: dnxwporg
* @since 0.1
*/
-load_plugin_textdomain('dnxwporg', plugins_url() . '/danixland-wporg-stats/i18n/', 'danixland-wporg-stats/i18n/');
+load_plugin_textdomain('dnxwporg', false, basename( dirname( __FILE__ ) ) . '/i18n');
/**
* Function that installs our widget options
|
