Version Description
- Fix: Support for custom suffixes.
- New: Detect :active selectors in custom options.
Download this release
Release Info
Developer | pdclark |
Plugin | Styles |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
- classes/styles-control.php +6 -1
- readme.txt +11 -1
- styles.php +1 -1
classes/styles-control.php
CHANGED
@@ -108,7 +108,7 @@ abstract class Styles_Control {
|
|
108 |
if ( !empty( $this->element['suffix'] ) ) {
|
109 |
|
110 |
// A custom suffix has been set in the JSON
|
111 |
-
$this->suffix = $element['suffix'];
|
112 |
|
113 |
}else if ( !empty( $this->suffix ) ){
|
114 |
|
@@ -125,6 +125,11 @@ abstract class Styles_Control {
|
|
125 |
// Prepend "focus" if in selector
|
126 |
$this->suffix = 'focused ' . $this->suffix;
|
127 |
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
|
130 |
}
|
108 |
if ( !empty( $this->element['suffix'] ) ) {
|
109 |
|
110 |
// A custom suffix has been set in the JSON
|
111 |
+
$this->suffix = $this->element['suffix'];
|
112 |
|
113 |
}else if ( !empty( $this->suffix ) ){
|
114 |
|
125 |
// Prepend "focus" if in selector
|
126 |
$this->suffix = 'focused ' . $this->suffix;
|
127 |
|
128 |
+
}else if ( false !== strpos( $this->selector, ':active' ) ) {
|
129 |
+
|
130 |
+
// Prepend "focus" if in selector
|
131 |
+
$this->suffix = 'active ' . $this->suffix;
|
132 |
+
|
133 |
}
|
134 |
|
135 |
}
|
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.7.1
|
8 |
-
Stable tag: 1.1.
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
@@ -91,6 +91,11 @@ No! Styles is very careful about only loading what is needed to get its job done
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
= 1.1.3 =
|
95 |
|
96 |
* Fix: Error when attempting to upgrade when no fonts were used.
|
@@ -248,6 +253,11 @@ No! Styles is very careful about only loading what is needed to get its job done
|
|
248 |
|
249 |
== Upgrade Notice ==
|
250 |
|
|
|
|
|
|
|
|
|
|
|
251 |
= 1.1.3 =
|
252 |
|
253 |
* Fix: Error when attempting to upgrade when no fonts were used.
|
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.7.1
|
8 |
+
Stable tag: 1.1.4
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 1.1.4 =
|
95 |
+
|
96 |
+
* Fix: Support for custom suffixes.
|
97 |
+
* New: Detect :active selectors in custom options.
|
98 |
+
|
99 |
= 1.1.3 =
|
100 |
|
101 |
* Fix: Error when attempting to upgrade when no fonts were used.
|
253 |
|
254 |
== Upgrade Notice ==
|
255 |
|
256 |
+
= 1.1.4 =
|
257 |
+
|
258 |
+
* Fix: Support for custom suffixes.
|
259 |
+
* New: Detect :active selectors in custom options.
|
260 |
+
|
261 |
= 1.1.3 =
|
262 |
|
263 |
* Fix: Error when attempting to upgrade when no fonts were used.
|
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.1.
|
7 |
Author: Brainstorm Media
|
8 |
Author URI: http://brainstormmedia.com
|
9 |
License: GPLv2
|
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.1.4
|
7 |
Author: Brainstorm Media
|
8 |
Author URI: http://brainstormmedia.com
|
9 |
License: GPLv2
|