X-Git-Url: https://git.danix.xyz/?p=danixland-wporg-stats.git;a=blobdiff_plain;f=danixland-wporg-stats.php;h=bad3d5cb099cb74ad603aaf65dd8544496fd4003;hp=e22aeb13aa85b42e9d3dd2e64cdb2035d9be7e4d;hb=086f160fac8424d8619d0ffd2bc23b1cfc0ab7ae;hpb=557c38177150d5aa0378fba6faf1588f2c8c7856 diff --git a/danixland-wporg-stats.php b/danixland-wporg-stats.php index e22aeb1..bad3d5c 100644 --- a/danixland-wporg-stats.php +++ b/danixland-wporg-stats.php @@ -5,7 +5,7 @@ Plugin URI: https://danix.xyz/?p=3745 Description: A simple plugin that shows useful stats about your plugins hosted on WordPress.org Version: 0.1 Author: Danilo 'danix' Macri -Author URI: https://danix.xyz +Author URI: https://danix.xyz/author/danix Text Domain: dnxwporg This program is distributed in the hope that it will be useful, @@ -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