Changeset 1758992
- Timestamp:
- 11/05/2017 01:35:13 PM (8 years ago)
- File:
-
- 1 edited
-
sidebar-post/trunk/sidebar_post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sidebar-post/trunk/sidebar_post.php
r1758900 r1758992 4 4 Plugin URI: http://www.codiiv.com 5 5 Description: This plugin places a posting form in the sidebar 6 Version: 3.0. 76 Version: 3.0.8 7 7 Author: Janvier M @ CODIIV 8 8 Author URI: http://www.codiiv.com … … 18 18 global $shortname; 19 19 $shortname = "spost_"; 20 define('SPOST_VERSION','3.0. 7');21 define('SPOST_DATABASE_VERSION','3.0. 7');20 define('SPOST_VERSION','3.0.8'); 21 define('SPOST_DATABASE_VERSION','3.0.8'); 22 22 define('SPOST_BUILD','05112017'); 23 23 define('SOFTWARE_NAME',__('Sidebar Post','spost')); … … 42 42 function spost_theme_setup(){ 43 43 //load_theme_textdomain('spost', SPOST_PLUGIN_URL . '/languages'); 44 load_plugin_textdomain( 'spost', false, SPOST_PLUGIN_URL .'/languages/');45 }add_action( ' init', 'spost_theme_setup' );44 load_plugin_textdomain( 'spost', false, basename( dirname(__FILE__) ).'/languages/'); 45 }add_action( 'plugins_loaded', 'spost_theme_setup' ); 46 46 47 47
Note: See TracChangeset
for help on using the changeset viewer.