From df872891c80b27242bca971ae4ea9106af7942f7 Mon Sep 17 00:00:00 2001 From: Airat Halitov Date: Tue, 9 Jan 2018 23:05:46 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20@p?= =?UTF-8?q?ackage=20=D0=B8=20=D1=82.=D0=B4.=20=D0=94=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20/=20=D0=BA=20languages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ad-generator.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ad-generator.php b/ad-generator.php index e1268d1..a6289b2 100644 --- a/ad-generator.php +++ b/ad-generator.php @@ -7,9 +7,17 @@ * Author URI: https://airat.biz * Version: 1.2.0 * Text Domain: ad-generator - * Domain Path: languages + * Domain Path: /languages/ * GitHub Plugin URI: airathalitov/ad-generator */ +/** + * @package airathalitov/ad-generator + * @category Core + * @author Airat Halitov + * @license GPLv3 + * @link https://github.com/AiratHalitov/ad-generator + * @version 1.2.0 + */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; @@ -21,7 +29,7 @@ class ad_generator_shortcode { static $mydomain = 'ad-generator'; static function init () { - load_plugin_textdomain( self::$mydomain, false, basename( dirname( __FILE__ ) ) . '/languages' ); + load_plugin_textdomain( self::$mydomain, false, basename( dirname( __FILE__ ) ) . '/languages/' ); add_shortcode('ad_generator', array(__CLASS__, 'ad_generator_func'));