Changeset 2719926
- Timestamp:
- 05/07/2022 06:03:55 PM (4 years ago)
- Location:
- fivepost/trunk
- Files:
-
- 2 edited
-
classes/fivepost-wp.class.php (modified) (1 diff)
-
fivepost-wp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fivepost/trunk/classes/fivepost-wp.class.php
r2719914 r2719926 275 275 */ 276 276 public function actionInit() { 277 load_ plugin_textdomain('fivepost-wp', false, 'fivepost-wp'.'/languages/');277 load_textdomain('fivepost-wp',FIVEPOST_PLUGIN_DIR.'/languages/fivepost-wp-ru_RU.mo'); 278 278 } 279 279 -
fivepost/trunk/fivepost-wp.php
r2719914 r2719926 17 17 18 18 const FIVEPOST_PLUGIN_VERSION = '1.0.0'; 19 //const FIVEPOST_CHECK_VERSION_URL = 'http://ozon-wp.ipol.tech/update/version.php';20 19 const FIVEPOST_PLUGIN_REQUIRES = '5.0'; 21 20 const FIVEPOST_PLUGIN_TESTED = '5.8.2'; … … 23 22 const FIVEPOST_LIB_NAMESPACE = 'Ipol\Fivepost'; 24 23 const FIVEPOST_PLUGIN_DOMAIN = 'fivepost-wp'; 25 const FIVEPOST_PLUGIN_DIR = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . FIVEPOST_PLUGIN_DOMAIN. DIRECTORY_SEPARATOR;24 //const FIVEPOST_PLUGIN_DIR = dirname(__FILE__) . DIRECTORY_SEPARATOR; 26 25 26 define('FIVEPOST_PLUGIN_DIR', plugin_dir_path(__FILE__) ); 27 27 define('FIVEPOST_PLUGIN_BASENAME', plugin_basename(__FILE__)); 28 28 define('FIVEPOST_PLUGIN_URI', plugin_dir_url(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.