| @@ -1,17 +1,24 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | +* @package Customify | |
| 4 | +* @author PixelGrade <contact@pixelgrade.com> | |
| 5 | +* @license GPL-2.0+ | |
| 6 | +* @link http://pixelgrade.com | |
| 7 | +* @copyright 2014 PixelGrade | |
| 8 | +* | |
| 9 | +* @wordpress-plugin | |
| 3 | 10 | Plugin Name: Customify |
| 4 | -Plugin URI: https://pixelgrade.com | |
| 11 | +Plugin URI: http://pixelgrade.com | |
| 5 | 12 | Description: A Theme Customizer Booster |
| 6 | -Version: 1.4.0 | |
| 13 | +Version: 1.2.3 | |
| 7 | 14 | Author: PixelGrade |
| 8 | -Author URI: https://pixelgrade.com | |
| 15 | +Author URI: http://pixelgrade.com | |
| 9 | 16 | Author Email: contact@pixelgrade.com |
| 10 | -Text Domain: customify | |
| 17 | +Text Domain: pixcustomify_txtd | |
| 11 | 18 | License: GPL-2.0+ |
| 12 | 19 | License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 13 | -Domain Path: /languages/ | |
| 20 | +Domain Path: /lang | |
| 14 | 21 | */ |
| 15 | 22 | |
| 16 | 23 | // If this file is called directly, abort. |
| 17 | 24 | if ( ! defined( 'WPINC' ) ) { |
| @@ -27,9 +34,9 @@ | ||
| 27 | 34 | |
| 28 | 35 | $config = include 'plugin-config'.EXT; |
| 29 | 36 | |
| 30 | 37 | // set textdomain |
| 31 | -pixcustomify::settextdomain('customify'); | |
| 38 | +pixcustomify::settextdomain($config['textdomain']); | |
| 32 | 39 | |
| 33 | 40 | // Ensure Test Data |
| 34 | 41 | // ---------------- |
| 35 | 42 | |
| @@ -58,10 +65,6 @@ | ||
| 58 | 65 | // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. |
| 59 | 66 | register_activation_hook( __FILE__, array( 'PixCustomifyPlugin', 'activate' ) ); |
| 60 | 67 | //register_deactivation_hook( __FILE__, array( 'customifyPlugin', 'deactivate' ) ); |
| 61 | 68 | |
| 62 | - | |
| 63 | -function customify_init_plugin () { | |
| 64 | - global $pixcustomify_plugin; | |
| 65 | - $pixcustomify_plugin = PixCustomifyPlugin::get_instance(); | |
| 66 | -} | |
| 67 | -add_action('plugins_loaded', 'customify_init_plugin', 20 ); | |
| 69 | +global $pixcustomify_plugin; | |
| 70 | +$pixcustomify_plugin = PixCustomifyPlugin::get_instance(); | |