Widget Logic - Version 0.55

Version Description

Restored a striplashes that vanished in 0.54 causing much grief.

Translation: Spanish by Eduardo Larequi http://wordpress.org/support/profile/elarequi

Download this release

Release Info

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

Code changes from version 0.54 to 0.55

languages/widget-logic-es_ES.mo ADDED
Binary file
languages/widget-logic-es_ES.po ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Widget Logic en español\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-12-20 11:32+0100\n"
6
+ "PO-Revision-Date: 2012-12-20 11:32+0100\n"
7
+ "Last-Translator: Eduardo Larequi <elarequi@gmail.com>\n"
8
+ "Language-Team: PNTE <blogs@educacion.navarra.es>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_c;_n:1,2;esc_html__;esc_html_e;esc_attr__;esc_attr_e\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-Language: Spanish\n"
15
+ "X-Poedit-Country: Spain\n"
16
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: widget_logic.php:18
20
+ msgid "when plugin starts (default)"
21
+ msgstr "Cuando se inicia el plugin (por defecto)"
22
+
23
+ #: widget_logic.php:19
24
+ msgid "after theme loads"
25
+ msgstr "Cuando se carga el tema"
26
+
27
+ #: widget_logic.php:20
28
+ msgid "when all PHP loaded"
29
+ msgstr "Cuando se ha cargado todo el código PHP"
30
+
31
+ #: widget_logic.php:21
32
+ msgid "during page header"
33
+ msgstr "Durante la carga de la cabecera de la página"
34
+
35
+ #: widget_logic.php:96
36
+ msgid "Success! Options file imported"
37
+ msgstr "El fichero de opciones se ha importado con éxito"
38
+
39
+ #: widget_logic.php:99
40
+ msgid "Invalid options file"
41
+ msgstr "Fichero de opciones no válido"
42
+
43
+ #: widget_logic.php:104
44
+ msgid "No options file provided"
45
+ msgstr "No se ha proporcionado un fichero de opciones"
46
+
47
+ #: widget_logic.php:173
48
+ msgid "Widget Logic options"
49
+ msgstr "Opciones de Widget Logic"
50
+
51
+ #: widget_logic.php:176
52
+ msgid "Adds a new WP filter you can use in your own code. Not needed for main Widget Logic functionality."
53
+ msgstr "Añade un nuevo filtro de WordPress que puedes utilizar en tu propio código. No es necesario para conseguir la funcionalidad básica de Widget Logic."
54
+
55
+ #: widget_logic.php:178
56
+ msgid "Add 'widget_content' filter"
57
+ msgstr "Añadir el filtro 'widget_content'"
58
+
59
+ #: widget_logic.php:181
60
+ msgid "Resets a theme's custom queries before your Widget Logic is checked"
61
+ msgstr "Reinicia las consultas personalizadas de un tema antes de que se verifique la lógica del widget."
62
+
63
+ #: widget_logic.php:183
64
+ msgid "Use 'wp_reset_query' fix"
65
+ msgstr "Utilizar 'wp_reset_query'"
66
+
67
+ #: widget_logic.php:186
68
+ msgid "Delays widget logic code being evaluated til various points in the WP loading process"
69
+ msgstr "Retarda la evaluación del código de Widget Logic hasta determinados puntos del proceso de carga de WordPress"
70
+
71
+ #: widget_logic.php:186
72
+ msgid "Load logic"
73
+ msgstr "Cargar las condiciones"
74
+
75
+ #: widget_logic.php:199
76
+ msgid "Save WL options"
77
+ msgstr "Guardar opciones de Widget Logic"
78
+
79
+ #: widget_logic.php:203
80
+ msgid "Save all WL options to a plain text config file"
81
+ msgstr "Permite guardar todas las opciones del plugin Widget Logic en un fichero de configuración en texto plano"
82
+
83
+ #: widget_logic.php:203
84
+ msgid "Export options"
85
+ msgstr "Exportar opciones"
86
+
87
+ #: widget_logic.php:204
88
+ msgid "Import options"
89
+ msgstr "Importar opciones"
90
+
91
+ #: widget_logic.php:204
92
+ msgid "Load all WL options from a plain text config file"
93
+ msgstr "Permite cargar todas las opciones del plugin Widget Logic desde un fichero de configuración en texto plano"
94
+
95
+ #: widget_logic.php:205
96
+ msgid "Select file for importing"
97
+ msgstr "Seleccionar fichero para importar"
98
+
99
+ #~ msgid "Widget logic"
100
+ #~ msgstr "Condiciones del widget"
101
+
102
+ #~ msgid "Save"
103
+ #~ msgstr "Guardar"
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.54
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,11 @@ function make_alternating_widget_styles($content='')
182
 
183
  == Changelog ==
184
 
 
 
 
 
 
185
  = 0.54 =
186
  Removed a WP 3.1+ function call, hopefully making it 2.8 compatible again.
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.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
  == 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.55 =
186
+ Restored a striplashes that vanished in 0.54 causing much grief.
187
+
188
+ Translation: Spanish by Eduardo Larequi http://wordpress.org/support/profile/elarequi
189
+
190
  = 0.54 =
191
  Removed a WP 3.1+ function call, hopefully making it 2.8 compatible again.
192
 
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.54
7
  Author: Alan Trewartha
8
  Author URI: http://freakytrigger.co.uk/author/alan/
9
 
@@ -231,7 +231,7 @@ function widget_logic_extra_control()
231
 
232
  // dealing with multiple widgets - get the number. if -1 this is the 'template' for the admin interface
233
  $number=$params[0]['number'];
234
- if ($number==-1) {$number="XXX"; $value="";}
235
  $id_disp=$id;
236
  if (isset($number)) $id_disp=$wp_registered_widget_controls[$id]['id_base'].'-'.$number;
237
 
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
 
231
 
232
  // dealing with multiple widgets - get the number. if -1 this is the 'template' for the admin interface
233
  $number=$params[0]['number'];
234
+ if ($number==-1) {$number="__i__"; $value="";}
235
  $id_disp=$id;
236
  if (isset($number)) $id_disp=$wp_registered_widget_controls[$id]['id_base'].'-'.$number;
237