Widget Logic - Version 0.56

Version Description

Small fix to the original WP3.5 fix in 0.54 that had the side effect of failing to save logic text on newly added widgets.

Download this release

Release Info

Developer alanft
Plugin Icon 128x128 Widget Logic
Version 0.56
Comparing to
See all releases

Code changes from version 0.55 to 0.56

Files changed (2) hide show
  1. readme.txt +5 -2
  2. widget_logic.php +1 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.justgiving.com/widgetlogic_cancerresearchuk
4
  Tags: widget, admin, conditional tags, filter, context
5
  Requires at least: 2.8
6
  Tested up to: 3.5
7
- Stable tag: 0.55
8
  License: GPLv2 or later
9
 
10
  Widget Logic lets you control on which pages widgets appear using WP's conditional tags. It also adds a 'widget_content' filter.
@@ -12,7 +12,7 @@ Widget Logic lets you control on which pages widgets appear using WP's condition
12
  == Description ==
13
  This plugin gives every widget an extra control field called "Widget logic" that lets you control the pages that the widget will appear on. The text field lets you use WP's [Conditional Tags](http://codex.wordpress.org/Conditional_Tags), or any general PHP code.
14
 
15
- PLEASE NOTE The widget logic you introduce is EVAL'd directly. Anyone who has access to edit widget appearance will have the right to add any code, including malicious and possibly destructive functions. There is an optional filter 'widget_logic_eval_override' which you can use to bypass the EVAL with your own code if needed. (See [Other Notes](./other_notes/)).
16
 
17
  There is also an option to add a wordpress 'widget_content' filter -- this lets you tweak any widget's HTML to suit your theme without editing plugins and core code.
18
 
@@ -182,6 +182,9 @@ function make_alternating_widget_styles($content='')
182
 
183
  == Changelog ==
184
 
 
 
 
185
  = 0.55 =
186
  Restored a striplashes that vanished in 0.54 causing much grief.
187
 
4
  Tags: widget, admin, conditional tags, filter, context
5
  Requires at least: 2.8
6
  Tested up to: 3.5
7
+ Stable tag: 0.56
8
  License: GPLv2 or later
9
 
10
  Widget Logic lets you control on which pages widgets appear using WP's conditional tags. It also adds a 'widget_content' filter.
12
  == Description ==
13
  This plugin gives every widget an extra control field called "Widget logic" that lets you control the pages that the widget will appear on. The text field lets you use WP's [Conditional Tags](http://codex.wordpress.org/Conditional_Tags), or any general PHP code.
14
 
15
+ PLEASE NOTE The widget logic you introduce is EVAL'd directly. Anyone who has access to edit widget appearance will have the right to add any code, including malicious and possibly destructive functions. There is an optional filter 'widget_logic_eval_override' which you can use to bypass the EVAL with your own code if needed. (See [Other Notes](../other_notes/)).
16
 
17
  There is also an option to add a wordpress 'widget_content' filter -- this lets you tweak any widget's HTML to suit your theme without editing plugins and core code.
18
 
182
 
183
  == Changelog ==
184
 
185
+ = 0.56 =
186
+ Small fix to the original WP3.5 fix in 0.54 that had the side effect of failing to save logic text on newly added widgets.
187
+
188
  = 0.55 =
189
  Restored a striplashes that vanished in 0.54 causing much grief.
190
 
widget_logic.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Widget Logic
4
  Plugin URI: http://wordpress.org/extend/plugins/widget-logic/
5
  Description: Control widgets with WP's conditional tags is_home etc
6
- Version: 0.55
7
  Author: Alan Trewartha
8
  Author URI: http://freakytrigger.co.uk/author/alan/
9
 
3
  Plugin Name: Widget Logic
4
  Plugin URI: http://wordpress.org/extend/plugins/widget-logic/
5
  Description: Control widgets with WP's conditional tags is_home etc
6
+ Version: 0.56
7
  Author: Alan Trewartha
8
  Author URI: http://freakytrigger.co.uk/author/alan/
9