Version Description
- Fixed error notice
Download this release
Release Info
| Developer | elusivelight |
| Plugin | |
| Version | 1.2.6 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.4 to 1.2.6
- README +1 -0
- Thumbs.db +0 -0
- images/Thumbs.db +0 -0
- includes/widget-css-classes.class.php +7 -3
- languages/widget-css-classes-sr_RS.mo +0 -0
- languages/widget-css-classes-sr_RS.po +0 -0
- readme.txt +14 -2
- widget-css-classes.php +1 -1
README
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
| 1 |
+
This file was created by JetBrains PhpStorm 4.0.3 for binding GitHub repository
|
Thumbs.db
DELETED
|
Binary file
|
images/Thumbs.db
DELETED
|
Binary file
|
includes/widget-css-classes.class.php
CHANGED
|
@@ -119,9 +119,13 @@ class WCSSC {
|
|
| 119 |
// Default callback
|
| 120 |
else {
|
| 121 |
// Check if WP Page Widget is in use
|
| 122 |
-
$
|
| 123 |
-
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
}
|
| 126 |
else {
|
| 127 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
| 119 |
// Default callback
|
| 120 |
else {
|
| 121 |
// Check if WP Page Widget is in use
|
| 122 |
+
global $post;
|
| 123 |
+
$id = ( isset( $post->ID ) ? get_the_ID() : NULL );
|
| 124 |
+
if ( isset( $id ) && get_post_meta( $id, '_customize_sidebars' ) ) {
|
| 125 |
+
$custom_sidebarcheck = get_post_meta( $id, '_customize_sidebars' );
|
| 126 |
+
}
|
| 127 |
+
if ( isset( $custom_sidebarcheck[0] ) && ( $custom_sidebarcheck[0] == 'yes' ) ) {
|
| 128 |
+
$widget_opt = get_option( 'widget_'.$id.'_'.substr($widget_obj['callback'][0]->option_name, 7) );
|
| 129 |
}
|
| 130 |
else {
|
| 131 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
languages/widget-css-classes-sr_RS.mo
CHANGED
|
File without changes
|
languages/widget-css-classes-sr_RS.po
CHANGED
|
File without changes
|
readme.txt
CHANGED
|
@@ -7,8 +7,8 @@ Tags: widgets, classes, css, widget classes, widget css
|
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
Requires at least: 3.3
|
| 10 |
-
Tested up to: 3.
|
| 11 |
-
Stable tag: 1.2.
|
| 12 |
|
| 13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
| 14 |
|
|
@@ -94,6 +94,12 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
| 94 |
|
| 95 |
== Changelog ==
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
= 1.2.4 =
|
| 98 |
* Added Serbo-Croatian translation by [Borisa Djuraskovic at WebHostingHub](http://www.webhostinghub.com/)
|
| 99 |
* Added support for WP Page Widget
|
|
@@ -127,6 +133,12 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
| 127 |
|
| 128 |
== Upgrade Notice ==
|
| 129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
= 1.2.4 =
|
| 131 |
New translation, added support for WP Page Widget
|
| 132 |
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
Requires at least: 3.3
|
| 10 |
+
Tested up to: 3.9
|
| 11 |
+
Stable tag: 1.2.6
|
| 12 |
|
| 13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
| 14 |
|
| 94 |
|
| 95 |
== Changelog ==
|
| 96 |
|
| 97 |
+
= 1.2.6 =
|
| 98 |
+
* Fixed error notice
|
| 99 |
+
|
| 100 |
+
= 1.2.5 =
|
| 101 |
+
* Fixed notice
|
| 102 |
+
|
| 103 |
= 1.2.4 =
|
| 104 |
* Added Serbo-Croatian translation by [Borisa Djuraskovic at WebHostingHub](http://www.webhostinghub.com/)
|
| 105 |
* Added support for WP Page Widget
|
| 133 |
|
| 134 |
== Upgrade Notice ==
|
| 135 |
|
| 136 |
+
= 1.2.6 =
|
| 137 |
+
Bug fix
|
| 138 |
+
|
| 139 |
+
= 1.2.5 =
|
| 140 |
+
Bug fix
|
| 141 |
+
|
| 142 |
= 1.2.4 =
|
| 143 |
New translation, added support for WP Page Widget
|
| 144 |
|
widget-css-classes.php
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
Plugin Name: Widget CSS Classes
|
| 4 |
-
Version: 1.2.
|
| 5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
| 6 |
Author: C.M. Kendrick
|
| 7 |
Author URI: http://cleverness.org
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
Plugin Name: Widget CSS Classes
|
| 4 |
+
Version: 1.2.6
|
| 5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
| 6 |
Author: C.M. Kendrick
|
| 7 |
Author URI: http://cleverness.org
|
