| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: Customify |
| 4 | 4 | Plugin URI: https://wordpress.org/plugins/customify/ |
| 5 | 5 | Description: A Theme Customizer Booster |
| 6 | -Version: 1.5.7 | |
| 6 | +Version: 2.1.1 | |
| 7 | 7 | Author: Pixelgrade |
| 8 | 8 | Author URI: https://pixelgrade.com |
| 9 | 9 | Author Email: contact@pixelgrade.com |
| 10 | 10 | Text Domain: customify |
| @@ -22,19 +22,22 @@ | ||
| 22 | 22 | if ( ! defined('EXT')) { |
| 23 | 23 | define('EXT', '.php'); |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | -require 'core/bootstrap'.EXT; | |
| 26 | +require 'core/bootstrap.php'; | |
| 27 | 27 | |
| 28 | -$config = include 'plugin-config'.EXT; | |
| 28 | +// Include our helper array class. | |
| 29 | +require 'includes/lib/class-customify-array.php'; | |
| 29 | 30 | |
| 31 | +$config = include 'plugin-config.php'; | |
| 32 | + | |
| 30 | 33 | // set textdomain |
| 31 | -pixcustomify::settextdomain('customify'); | |
| 34 | +pixcustomify::settextdomain( 'customify' ); | |
| 32 | 35 | |
| 33 | 36 | // Ensure Test Data |
| 34 | 37 | // ---------------- |
| 35 | 38 | |
| 36 | -$defaults = include 'plugin-defaults'.EXT; | |
| 39 | +$defaults = include 'plugin-defaults.php'; | |
| 37 | 40 | |
| 38 | 41 | $current_data = get_option( $config['settings-key'] ); |
| 39 | 42 | |
| 40 | 43 | if ( $current_data === false ) { |
| @@ -55,11 +58,11 @@ | ||
| 55 | 58 | /** |
| 56 | 59 | * The core plugin class that is used to define internationalization, |
| 57 | 60 | * admin-specific hooks, and public-facing site hooks. |
| 58 | 61 | */ |
| 59 | - require_once( plugin_dir_path( __FILE__ ) . 'class-pixcustomify.php' ); | |
| 62 | + require_once plugin_dir_path( __FILE__ ) . 'class-pixcustomify.php'; | |
| 60 | 63 | |
| 61 | - $instance = PixCustomifyPlugin::instance( __FILE__, '1.5.7' ); | |
| 64 | + $instance = PixCustomifyPlugin::instance( __FILE__, '2.1.1' ); | |
| 62 | 65 | |
| 63 | 66 | return $instance; |
| 64 | 67 | } |
| 65 | 68 | |
| @@ -68,5 +71,5 @@ | ||
| 68 | 71 | $pixcustomify_plugin = PixCustomifyPlugin(); |
| 69 | 72 | |
| 70 | 73 | // Load custom modules |
| 71 | 74 | require_once( 'features/class-CSS_Editor.php' ); |
| 72 | -require_once( 'features/class-Font_Selector.php' ); | |
| 75 | +require_once( 'features/class-Font_Selector.php' ); | |