Version Description
- Fix: Don't display install notice for child themes. Thanks @ektreyes for the report.
Download this release
Release Info
Developer | pdclark |
Plugin | Styles |
Version | 1.0.14 |
Comparing to | |
See all releases |
Code changes from version 1.0.13 to 1.0.14
- classes/styles-admin.php +1 -1
- classes/styles-plugin.php +1 -1
- readme.txt +10 -2
- styles.php +1 -1
classes/styles-admin.php
CHANGED
@@ -84,7 +84,7 @@ class Styles_Admin {
|
|
84 |
if (
|
85 |
apply_filters( 'styles_disable_notices', false )
|
86 |
|| $this->is_plugin_update_or_delete()
|
87 |
-
|| !in_array(
|
88 |
) {
|
89 |
return false;
|
90 |
}
|
84 |
if (
|
85 |
apply_filters( 'styles_disable_notices', false )
|
86 |
|| $this->is_plugin_update_or_delete()
|
87 |
+
|| !in_array( get_stylesheet(), $this->default_themes ) // Active theme is a parent and default
|
88 |
) {
|
89 |
return false;
|
90 |
}
|
classes/styles-plugin.php
CHANGED
@@ -12,7 +12,7 @@ class Styles_Plugin {
|
|
12 |
*
|
13 |
* @var string
|
14 |
**/
|
15 |
-
var $version = '1.0.
|
16 |
|
17 |
/**
|
18 |
* Plugin DB version
|
12 |
*
|
13 |
* @var string
|
14 |
**/
|
15 |
+
var $version = '1.0.14';
|
16 |
|
17 |
/**
|
18 |
* Plugin DB version
|
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.
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
@@ -54,7 +54,7 @@ Styles and options for all built-in WordPress themes are free. More themes are a
|
|
54 |
|
55 |
1. Upload the `styles` folder to the `/wp-content/plugins/` directory
|
56 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
57 |
-
1. Install
|
58 |
1. Edit your site under `Appearance > Customize`
|
59 |
|
60 |
== Screenshots ==
|
@@ -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.13 =
|
94 |
|
95 |
* New: Allow notices to be disabled with a filter: <code>add_filter( 'styles_disable_notices', '__return_true' );</code>
|
@@ -201,6 +205,10 @@ No! Styles is very careful about only loading what is needed to get its job done
|
|
201 |
|
202 |
== Upgrade Notice ==
|
203 |
|
|
|
|
|
|
|
|
|
204 |
**1.0.13**
|
205 |
|
206 |
* New: Allow notices to be disabled with a filter: <code>add_filter( 'styles_disable_notices', '__return_true' );</code>
|
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.14
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
54 |
|
55 |
1. Upload the `styles` folder to the `/wp-content/plugins/` directory
|
56 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
57 |
+
1. Install and activate your theme's support plugin. If you are running TwentyTen through TwentyThirteen, Styles will prompt you to do this. If you would like to use Styles with other themes, check <a href="http://stylesplugin.com">stylesplugin.com</a> or <a href="http://www.youtube.com/playlist?list=PLxj61Fojm1RGevBh10U2qCqjwoH4Awo-P">program your own</a>.
|
58 |
1. Edit your site under `Appearance > Customize`
|
59 |
|
60 |
== Screenshots ==
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 1.0.14 =
|
94 |
+
|
95 |
+
* Fix: Don't display install notice for child themes. Thanks [@ektreyes](http://twitter.com/ektreyes) for the report.
|
96 |
+
|
97 |
= 1.0.13 =
|
98 |
|
99 |
* New: Allow notices to be disabled with a filter: <code>add_filter( 'styles_disable_notices', '__return_true' );</code>
|
205 |
|
206 |
== Upgrade Notice ==
|
207 |
|
208 |
+
**1.0.14**
|
209 |
+
|
210 |
+
* Fix: Don't display install notice for child themes. Thanks [@ektreyes](http://twitter.com/ektreyes) for the report.
|
211 |
+
|
212 |
**1.0.13**
|
213 |
|
214 |
* New: Allow notices to be disabled with a filter: <code>add_filter( 'styles_disable_notices', '__return_true' );</code>
|
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.
|
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.14
|
7 |
Author: Brainstorm Media
|
8 |
Author URI: http://brainstormmedia.com
|
9 |
*/
|