Styles - Version 1.0.16

Version Description

  • New: Filter styles_get_group_id for merging with existing groups.
Download this release

Release Info

Developer pdclark
Plugin Icon Styles
Version 1.0.16
Comparing to
See all releases

Code changes from version 1.0.15 to 1.0.16

classes/styles-child-updatable.php CHANGED
@@ -21,7 +21,7 @@ class Styles_Child_Updatable {
21
  var $api_url;
22
 
23
  var $default_args = array(
24
- 'api_url' => 'http://store.stylesplugin.com',
25
  );
26
 
27
  public function __construct( $args ) {
21
  var $api_url;
22
 
23
  var $default_args = array(
24
+ 'api_url' => 'http://stylesplugin.com',
25
  );
26
 
27
  public function __construct( $args ) {
classes/styles-helpers.php CHANGED
@@ -14,7 +14,8 @@ class Styles_Helpers {
14
  }
15
 
16
  static public function get_group_id( $group ) {
17
- return self::$prefix . sanitize_key( $group );
 
18
  }
19
 
20
  static public function get_control_id( $id ) {
14
  }
15
 
16
  static public function get_group_id( $group ) {
17
+ $id = self::$prefix . sanitize_key( $group );
18
+ return apply_filters( 'styles_get_group_id', $id, $group );
19
  }
20
 
21
  static public function get_control_id( $id ) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author URI: http://brainstormmedia.com
5
  Tags: css, stylesheet, appearance, customize, customizer, colors, color picker, background, fonts, google fonts, user interface, twenty ten, twenty eleven, twenty twelve, twenty thirteen
6
  Requires at least: 3.4
7
  Tested up to: 3.6
8
- Stable tag: 1.0.15
9
 
10
  Be creative with colors and fonts. Styles changes everything.
11
 
@@ -90,6 +90,10 @@ No! Styles is very careful about only loading what is needed to get its job done
90
 
91
  == Changelog ==
92
 
 
 
 
 
93
  = 1.0.15 =
94
 
95
  * Fix: Customize Theme button loads customizer for current site in network. Resolves [#38](https://github.com/stylesplugin/styles/issues/38). Thanks @jivedig.
@@ -211,4 +215,5 @@ No! Styles is very careful about only loading what is needed to get its job done
211
  == Upgrade Notice ==
212
 
213
  * Fix: Customize Theme button loads customizer for current site in network. Resolves [#38](https://github.com/stylesplugin/styles/issues/38). Thanks @jivedig.
214
- * Fix: Child and parent theme options no longer effect each other. Resolves [#29](https://github.com/stylesplugin/styles/issues/29). Thanks @jivedig.
 
5
  Tags: css, stylesheet, appearance, customize, customizer, colors, color picker, background, fonts, google fonts, user interface, twenty ten, twenty eleven, twenty twelve, twenty thirteen
6
  Requires at least: 3.4
7
  Tested up to: 3.6
8
+ Stable tag: 1.0.16
9
 
10
  Be creative with colors and fonts. Styles changes everything.
11
 
90
 
91
  == Changelog ==
92
 
93
+ = 1.0.16 =
94
+
95
+ * New: Filter `styles_get_group_id` for merging with existing groups.
96
+
97
  = 1.0.15 =
98
 
99
  * Fix: Customize Theme button loads customizer for current site in network. Resolves [#38](https://github.com/stylesplugin/styles/issues/38). Thanks @jivedig.
215
  == Upgrade Notice ==
216
 
217
  * Fix: Customize Theme button loads customizer for current site in network. Resolves [#38](https://github.com/stylesplugin/styles/issues/38). Thanks @jivedig.
218
+ * Fix: Child and parent theme options no longer effect each other. Resolves [#29](https://github.com/stylesplugin/styles/issues/29). Thanks @jivedig.
219
+ * New: Filter `styles_get_group_id` for merging with existing groups.
styles.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Styles
4
  Plugin URI: http://stylesplugin.com
5
  Description: Change the appearance of your theme using the <a href="customize.php">WordPress Customizer</a>. Styles changes everything.
6
- Version: 1.0.15
7
  Author: Brainstorm Media
8
  Author URI: http://brainstormmedia.com
9
  */
3
  Plugin Name: Styles
4
  Plugin URI: http://stylesplugin.com
5
  Description: Change the appearance of your theme using the <a href="customize.php">WordPress Customizer</a>. Styles changes everything.
6
+ Version: 1.0.16
7
  Author: Brainstorm Media
8
  Author URI: http://brainstormmedia.com
9
  */