Customify – A Theme Customizer Booster - Version 1.3.1

Version Description

  • Fixed compatibility with PHP <
Download this release

Release Info

Developer euthelup
Plugin Icon Customify – A Theme Customizer Booster
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

README.md CHANGED
@@ -1,4 +1,4 @@
1
- Customify [![Build Status](https://travis-ci.org/pixelgrade/customify.svg?branch=dev)](https://travis-ci.org/pixelgrade/customify)
2
  ========
3
  **A Theme Customizer Booster**
4
 
1
+ Customify [![Build Status](https://travis-ci.org/pixelgrade/customify.svg?branch=wporg)](https://travis-ci.org/pixelgrade/customify)
2
  ========
3
  **A Theme Customizer Booster**
4
 
class-pixcustomify.php CHANGED
@@ -20,7 +20,7 @@ class PixCustomifyPlugin {
20
  * @since 1.0.0
21
  * @const string
22
  */
23
- protected $version = '1.3.0';
24
  /**
25
  * Unique identifier for your plugin.
26
  * Use this value (not the variable name) as the text domain when internationalizing strings of text. It should
20
  * @since 1.0.0
21
  * @const string
22
  */
23
+ protected $version = '1.3.1';
24
  /**
25
  * Unique identifier for your plugin.
26
  * Use this value (not the variable name) as the text domain when internationalizing strings of text. It should
customify.php CHANGED
@@ -10,7 +10,7 @@
10
  Plugin Name: Customify
11
  Plugin URI: http://pixelgrade.com
12
  Description: A Theme Customizer Booster
13
- Version: 1.3.0
14
  Author: PixelGrade
15
  Author URI: http://pixelgrade.com
16
  Author Email: contact@pixelgrade.com
10
  Plugin Name: Customify
11
  Plugin URI: http://pixelgrade.com
12
  Description: A Theme Customizer Booster
13
+ Version: 1.3.1
14
  Author: PixelGrade
15
  Author URI: http://pixelgrade.com
16
  Author Email: contact@pixelgrade.com
features/class-CSS_Editor.php CHANGED
@@ -18,6 +18,9 @@ class Customify_CSS_Live_Editor {
18
  if ( function_exists( 'wp_custom_css_cb' ) ) {
19
  remove_action( 'wp_head', 'wp_custom_css_cb', 11 );
20
  add_action( $load_location, 'wp_custom_css_cb', 999999999 );
 
 
 
21
  }
22
 
23
  //Check the WordPress version and if there are known problems disable it
18
  if ( function_exists( 'wp_custom_css_cb' ) ) {
19
  remove_action( 'wp_head', 'wp_custom_css_cb', 11 );
20
  add_action( $load_location, 'wp_custom_css_cb', 999999999 );
21
+ } else {
22
+ // keep this for wordpress versions lower than 4.7
23
+ add_action( $load_location, array( $this, 'output_dynamic_style' ), 999999999 );
24
  }
25
 
26
  //Check the WordPress version and if there are known problems disable it
features/customizer/controls/class-Pix_Customize_Font_Control.php CHANGED
@@ -428,7 +428,7 @@ class Pix_Customize_Font_Control extends Pix_Customize_Control {
428
  }
429
 
430
  function display_text_decoration_field( $current_value ) {
431
- if ( ! empty( $this->fields['text-decoration'] && $this->fields['text-decoration'] ) ) {
432
  $td_val = isset( $current_value->text_decoration ) ? $current_value->text_decoration : 'none';?>
433
  <li class="customify_text_decoration_wrapper customize-control font-options__option">
434
  <label><?php esc_html_e( 'Text Decoration', 'customify' ); ?></label>
428
  }
429
 
430
  function display_text_decoration_field( $current_value ) {
431
+ if ( ! empty( $this->fields['text-decoration'] ) && $this->fields['text-decoration'] ) {
432
  $td_val = isset( $current_value->text_decoration ) ? $current_value->text_decoration : 'none';?>
433
  <li class="customify_text_decoration_wrapper customize-control font-options__option">
434
  <label><?php esc_html_e( 'Text Decoration', 'customify' ); ?></label>
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Customify - A Theme Customizer Booster ===
2
  Contributors: pixelgrade, euthelup, babbardel, vlad.olaru, cristianfrumusanu
3
  Tags: customizer, css, editor, live, preview, customise
4
- Requires at least: 4.3.0
5
  Tested up to: 4.7.0
6
- Stable tag: 1.3.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -33,8 +33,13 @@ With [Customify](https://github.com/pixelgrade/customify), developers can easily
33
 
34
  * **And more others [this is the full list](https://github.com/pixelgrade/customify#list_of_fields)
35
 
 
 
36
  == Changelog ==
37
 
 
 
 
38
  = 1.3.0 =
39
  * Added the new and awesome `font` selector
40
  * The live CSS editor is now removed for 4.7, but don't worry, your style will be imported into the new [CSS Editor](https://make.wordpress.org/core/2016/11/26/extending-the-custom-css-editor/)
1
  === Customify - A Theme Customizer Booster ===
2
  Contributors: pixelgrade, euthelup, babbardel, vlad.olaru, cristianfrumusanu
3
  Tags: customizer, css, editor, live, preview, customise
4
+ Requires at least: 4.4.0
5
  Tested up to: 4.7.0
6
+ Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
33
 
34
  * **And more others [this is the full list](https://github.com/pixelgrade/customify#list_of_fields)
35
 
36
+ **Made with love by Pixelgrade**
37
+
38
  == Changelog ==
39
 
40
+ = 1.3.1 =
41
+ * Fixed compatibility with PHP <= 5.3.x
42
+
43
  = 1.3.0 =
44
  * Added the new and awesome `font` selector
45
  * The live CSS editor is now removed for 4.7, but don't worry, your style will be imported into the new [CSS Editor](https://make.wordpress.org/core/2016/11/26/extending-the-custom-css-editor/)