danix
's git repository
home
/
my projects
/
danixland-wporg-stats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895fce7
)
fixed error when including plugin textdomain as noted by the WP.org plugins review...
author
danix
<danix@danix.xyz>
Mon, 30 Jul 2018 15:16:13 +0000
(17:16 +0200)
committer
danix
<danix@danix.xyz>
Mon, 30 Jul 2018 15:16:13 +0000
(17:16 +0200)
danixland-wporg-stats.php
patch
|
blob
|
blame
|
history
diff --git
a/danixland-wporg-stats.php
b/danixland-wporg-stats.php
index
6aeca8b
..
bad3d5c
100644
(file)
--- 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
\r
* @since 0.1
\r
*/
\r
-load_plugin_textdomain('dnxwporg',
plugins_url() . '/danixland-wporg-stats/i18n/', 'danixland-wporg-stats/i18n/
');
\r
+load_plugin_textdomain('dnxwporg',
false, basename( dirname( __FILE__ ) ) . '/i18n
');
\r
\r
/**
\r
* Function that installs our widget options
\r