Customify – A Theme Customizer Booster - Version 1.2.7.1

Version Description

Download this release

Release Info

Developer vlad.olaru
Plugin Icon Customify – A Theme Customizer Booster
Version 1.2.7.1
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.7.1

Files changed (2) hide show
  1. class-pixcustomify.php +5 -8
  2. customify.php +1 -1
class-pixcustomify.php CHANGED
@@ -20,7 +20,7 @@ class PixCustomifyPlugin {
20
  * @since 1.0.0
21
  * @const string
22
  */
23
- protected $version = '1.2.7';
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
@@ -166,9 +166,9 @@ class PixCustomifyPlugin {
166
  }
167
 
168
  add_action( 'init', array( $this, 'set_jetpack_modules_config') );
169
- add_filter( 'default_option_jetpack_active_modules', array( $this, 'default_jetpack_active_modules' ), 10, 2 );
170
  add_filter( 'jetpack_get_available_modules', array( $this, 'jetpack_hide_blocked_modules'), 10, 1 );
171
- add_filter( 'default_option_sharing-options', array( $this, 'default_jetpack_sharing_options' ), 10, 2 );
172
 
173
  /**
174
  * Ajax Callbacks
@@ -249,11 +249,9 @@ class PixCustomifyPlugin {
249
  *
250
  * @param array $default The default value to return if the option does not exist
251
  * in the database.
252
- * @param string $option Option name.
253
- *
254
  * @return array
255
  */
256
- function default_jetpack_active_modules( $default, $option ) {
257
  if ( ! is_array( $default ) ) {
258
  $default = array();
259
  }
@@ -267,11 +265,10 @@ class PixCustomifyPlugin {
267
  *
268
  * @param array $default The default value to return if the option does not exist
269
  * in the database.
270
- * @param string $option Option name.
271
  *
272
  * @return array
273
  */
274
- function default_jetpack_sharing_options( $default, $option ) {
275
  if ( ! is_array( $default ) ) {
276
  $default = array();
277
  }
20
  * @since 1.0.0
21
  * @const string
22
  */
23
+ protected $version = '1.2.7.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
166
  }
167
 
168
  add_action( 'init', array( $this, 'set_jetpack_modules_config') );
169
+ add_filter( 'default_option_jetpack_active_modules', array( $this, 'default_jetpack_active_modules' ), 10, 1 );
170
  add_filter( 'jetpack_get_available_modules', array( $this, 'jetpack_hide_blocked_modules'), 10, 1 );
171
+ add_filter( 'default_option_sharing-options', array( $this, 'default_jetpack_sharing_options' ), 10, 1 );
172
 
173
  /**
174
  * Ajax Callbacks
249
  *
250
  * @param array $default The default value to return if the option does not exist
251
  * in the database.
 
 
252
  * @return array
253
  */
254
+ function default_jetpack_active_modules( $default ) {
255
  if ( ! is_array( $default ) ) {
256
  $default = array();
257
  }
265
  *
266
  * @param array $default The default value to return if the option does not exist
267
  * in the database.
 
268
  *
269
  * @return array
270
  */
271
+ function default_jetpack_sharing_options( $default ) {
272
  if ( ! is_array( $default ) ) {
273
  $default = array();
274
  }
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.2.7
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.2.7.1
14
  Author: PixelGrade
15
  Author URI: http://pixelgrade.com
16
  Author Email: contact@pixelgrade.com