Genesis eNews Extended - Version 1.4.1

Version Description

  • Add fieldset, legend, option, optgroup, select to allowed HTML for Hidden Fields area.
  • Update CSS for screenreaders. Props jwenerd.
  • Updated BG transations. Props Daniel Bailey.
Download this release

Release Info

Developer kraftbj
Plugin Icon wp plugin Genesis eNews Extended
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.4.1

class-bjgk-genesis-enews-extended.php CHANGED
@@ -3,7 +3,7 @@
3
  * Genesis eNews Extended
4
  *
5
  * @package BJGK\Genesis_enews_extended
6
- * @version 1.4.0
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
9
  * @copyright Copyright (c) 2012, Brandon Kraft
@@ -161,7 +161,7 @@ class BJGK_Genesis_eNews_Extended extends WP_Widget {
161
  function update( $new_instance, $old_instance ) {
162
  $new_instance['title'] = strip_tags( $new_instance['title'] );
163
  $new_instance['text'] = wp_kses_post( $new_instance['text']);
164
- $new_instance['hidden_fields'] = strip_tags( $new_instance['hidden_fields'], "<input>, <div>, <label>" );
165
  $new_instance['after_text'] = wp_kses_post( $new_instance['after_text']);
166
  $new_instance['id'] = str_replace("http://feeds.feedburner.com/", "", $new_instance['id']);
167
  return $new_instance;
3
  * Genesis eNews Extended
4
  *
5
  * @package BJGK\Genesis_enews_extended
6
+ * @version 1.4.1
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
9
  * @copyright Copyright (c) 2012, Brandon Kraft
161
  function update( $new_instance, $old_instance ) {
162
  $new_instance['title'] = strip_tags( $new_instance['title'] );
163
  $new_instance['text'] = wp_kses_post( $new_instance['text']);
164
+ $new_instance['hidden_fields'] = strip_tags( $new_instance['hidden_fields'], "<div>, <fieldset>, <input>, <label>, <legend>, <option>, <optgroup>, <select>, <textarea>" );
165
  $new_instance['after_text'] = wp_kses_post( $new_instance['after_text']);
166
  $new_instance['id'] = str_replace("http://feeds.feedburner.com/", "", $new_instance['id']);
167
  return $new_instance;
languages/genesis-enews-extended-bg_BG.mo CHANGED
Binary file
languages/genesis-enews-extended-bg_BG.po CHANGED
@@ -1,22 +1,18 @@
1
- # Translation of Genesis 1.8 in Bulgarian
2
- # This file is distributed under the same license as the Genesis 1.8 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Genesis eNews Extended\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
- "POT-Creation-Date: 2014-01-09 20:12:54+00:00\n"
8
- "PO-Revision-Date: 2014-01-14 08:59-0600\n"
9
- "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
10
- "Language-Team: \n"
11
- "Language: bg_BG\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
- "X-Generator: Poedit 1.6.3\n"
17
- "X-Poedit-KeywordsList: __;_e\n"
18
- "X-Poedit-Basepath: .\n"
19
- "X-Poedit-SearchPath-0: ..\n"
 
 
20
 
21
  #: class-bjgk-genesis-enews-extended.php:53
22
  msgid "Displays subscribe form"
@@ -36,7 +32,7 @@ msgstr ""
36
 
37
  #: class-bjgk-genesis-enews-extended.php:182
38
  msgid "Title"
39
- msgstr "Надпис"
40
 
41
  #: class-bjgk-genesis-enews-extended.php:187
42
  msgid "Text To Show Before Form"
@@ -51,27 +47,21 @@ msgid "MailPoet List"
51
  msgstr ""
52
 
53
  #: class-bjgk-genesis-enews-extended.php:217
54
- #, fuzzy
55
  msgid "Show Fields:"
56
- msgstr "Текст за показване преди формата"
57
 
58
  #: class-bjgk-genesis-enews-extended.php:220
59
  #: class-bjgk-genesis-enews-extended.php:275
60
- #, fuzzy
61
  msgid "First Name"
62
- msgstr "Собствено име..."
63
 
64
  #: class-bjgk-genesis-enews-extended.php:224
65
  #: class-bjgk-genesis-enews-extended.php:280
66
- #, fuzzy
67
  msgid "Last Name"
68
- msgstr "Фамилно име..."
69
 
70
  #: class-bjgk-genesis-enews-extended.php:232
71
- msgid ""
72
- "MailPoet is not currently activated. Genesis eNews Extended works with "
73
- "MailPoet, a free newsletter plugin. See <a href='%s' "
74
- "target='blank'>MailPoet's plugin page on WordPress.org</a>"
75
  msgstr ""
76
 
77
  #: class-bjgk-genesis-enews-extended.php:238
@@ -79,11 +69,8 @@ msgid "Google/Feedburner ID"
79
  msgstr "Google/Feedburner ID"
80
 
81
  #: class-bjgk-genesis-enews-extended.php:240
82
- msgid ""
83
- "Entering your Feedburner ID here will deactivate the custom options below."
84
- msgstr ""
85
- "Въвеждането на вашия ID Feedburner тук ще деактивира клиентските опции по-"
86
- "долу."
87
 
88
  #: class-bjgk-genesis-enews-extended.php:244
89
  msgid "Form Action"
@@ -121,11 +108,6 @@ msgstr "Собствено име Въвеждане на текст."
121
  msgid "Last Name Input Text"
122
  msgstr "Фамилно Име Въвеждане на текст."
123
 
124
- #: class-bjgk-genesis-enews-extended.php:285
125
- #, fuzzy
126
- msgid "E-Mail Address"
127
- msgstr "Имейл поле"
128
-
129
  #: class-bjgk-genesis-enews-extended.php:286
130
  msgid "E-Mail Input Text"
131
  msgstr "Имейл въвеждане на текст."
@@ -136,13 +118,4 @@ msgstr "Отиди"
136
 
137
  #: class-bjgk-genesis-enews-extended.php:292
138
  msgid "Button Text"
139
- msgstr "Бутон за текст"
140
-
141
- #~ msgid "First Name..."
142
- #~ msgstr "Собствено име..."
143
-
144
- #~ msgid "Last Name..."
145
- #~ msgstr "Фамилно име..."
146
-
147
- #~ msgid "Enter your email address..."
148
- #~ msgstr "Напишете вашия емайл адрес"
1
+ # Translation of Genesis eNews Extended in Bulgarian
2
+ # This file is distributed under the same license as the Genesis eNews Extended package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2014-06-16 16:39:12+0000\n"
 
 
 
 
 
 
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: Genesis eNews Extended\n"
12
+
13
+ #: class-bjgk-genesis-enews-extended.php:285
14
+ msgid "E-Mail Address"
15
+ msgstr "Имейл адрес"
16
 
17
  #: class-bjgk-genesis-enews-extended.php:53
18
  msgid "Displays subscribe form"
32
 
33
  #: class-bjgk-genesis-enews-extended.php:182
34
  msgid "Title"
35
+ msgstr "Заглавие"
36
 
37
  #: class-bjgk-genesis-enews-extended.php:187
38
  msgid "Text To Show Before Form"
47
  msgstr ""
48
 
49
  #: class-bjgk-genesis-enews-extended.php:217
 
50
  msgid "Show Fields:"
51
+ msgstr "Покажи полета"
52
 
53
  #: class-bjgk-genesis-enews-extended.php:220
54
  #: class-bjgk-genesis-enews-extended.php:275
 
55
  msgid "First Name"
56
+ msgstr "Собствено име"
57
 
58
  #: class-bjgk-genesis-enews-extended.php:224
59
  #: class-bjgk-genesis-enews-extended.php:280
 
60
  msgid "Last Name"
61
+ msgstr "Фамилия"
62
 
63
  #: class-bjgk-genesis-enews-extended.php:232
64
+ msgid "MailPoet is not currently activated. Genesis eNews Extended works with MailPoet, a free newsletter plugin. See <a href='%s' target='blank'>MailPoet's plugin page on WordPress.org</a>"
 
 
 
65
  msgstr ""
66
 
67
  #: class-bjgk-genesis-enews-extended.php:238
69
  msgstr "Google/Feedburner ID"
70
 
71
  #: class-bjgk-genesis-enews-extended.php:240
72
+ msgid "Entering your Feedburner ID here will deactivate the custom options below."
73
+ msgstr "Въвеждането на вашия ID Feedburner тук ще деактивира клиентските опции по-долу."
 
 
 
74
 
75
  #: class-bjgk-genesis-enews-extended.php:244
76
  msgid "Form Action"
108
  msgid "Last Name Input Text"
109
  msgstr "Фамилно Име Въвеждане на текст."
110
 
 
 
 
 
 
111
  #: class-bjgk-genesis-enews-extended.php:286
112
  msgid "E-Mail Input Text"
113
  msgstr "Имейл въвеждане на текст."
118
 
119
  #: class-bjgk-genesis-enews-extended.php:292
120
  msgid "Button Text"
121
+ msgstr "Бутон за текст"
 
 
 
 
 
 
 
 
 
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Genesis eNews Extended
4
  *
5
  * @package BJGK\Genesis_enews_extended
6
- * @version 1.4.0
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @copyright Copyright (c) 2012, Brandon Kraft
9
  * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
@@ -13,7 +13,7 @@
13
  * Plugin Name: Genesis eNews Extended
14
  * Plugin URI: http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
15
  * Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
16
- * Version: 1.4.0
17
  * Author: Brandon Kraft
18
  * Author URI: http://www.brandonkraft.com
19
  * License: GPL-2.0+
@@ -58,7 +58,13 @@ function bjgk_genesis_enews_load_widgets() {
58
  }
59
 
60
  function bjgk_genesis_enews_css() {
61
- echo '<style type="text/css"> .enews .screenread { display:none; } </style>';
 
 
 
 
 
 
62
  }
63
 
64
  add_action('wp_head', 'bjgk_genesis_enews_css');
3
  * Genesis eNews Extended
4
  *
5
  * @package BJGK\Genesis_enews_extended
6
+ * @version 1.4.1
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @copyright Copyright (c) 2012, Brandon Kraft
9
  * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
13
  * Plugin Name: Genesis eNews Extended
14
  * Plugin URI: http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
15
  * Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
16
+ * Version: 1.4.1
17
  * Author: Brandon Kraft
18
  * Author URI: http://www.brandonkraft.com
19
  * License: GPL-2.0+
58
  }
59
 
60
  function bjgk_genesis_enews_css() {
61
+ echo '<style type="text/css"> .enews .screenread {
62
+ height: 1px;
63
+ left: -1000em;
64
+ overflow: hidden;
65
+ position: absolute;
66
+ top: -1000em;
67
+ width: 1px; } </style>';
68
  }
69
 
70
  add_action('wp_head', 'bjgk_genesis_enews_css');
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: kraftbj, coffeaweb
3
  Donate link: http://www.brandonkraft.com/donate/
4
  Tags: genesis, genesiswp, mailchimp, aweber, studiopress, newsletter, subscribe, mailpoet, wysija
5
  Requires at least: 3.0
6
- Tested up to: 3.9
7
- Stable tag: 1.4.0
8
 
9
  Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
10
 
@@ -18,7 +18,7 @@ Creates a new widget to easily add mailing lists to a Genesis website. Recommend
18
  1. Activate the plugin through the 'Plugins' menu in WordPress
19
  1. In Appearance->Widgets, add Genesis eNews Extended widget to any sidebar.
20
  1. Using the mailing list contact form code provided by your vendor, add the form action URL, the form field ID for the e-mail field and any hidden fields (not all services use them) into the widget options. See some tips for this on the [plugin's install page](http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/install).
21
- 1. If using name fields, read the [plugin's tutorial website](http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/tutorials).
22
  1. Verify it works!
23
 
24
  == Frequently Asked Questions ==
@@ -37,11 +37,11 @@ That is a feature of the theme. If you want the button back, remove ".enews #sub
37
 
38
  = The first and last name fields look funky. =
39
 
40
- Read more on the [plugin's tutorial website](http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/tutorials).
41
 
42
  = I need help! Where I can get it? =
43
 
44
- "Official" tutorials will be maintained on the [plugin's website](http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/).
45
 
46
  Questions can be asked at the [WordPress.org Support Forum](http://wordpress.org/support/plugin/genesis-enews-extended) for this plugin.
47
 
@@ -51,6 +51,11 @@ Questions can be asked at the [WordPress.org Support Forum](http://wordpress.org
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
54
  = 1.4.0 =
55
  * Adds MailPoet itegration. Props [Maor Chasen](http://maorchasen.com/).
56
  * Updated pt_BR translation and added en_UK translation. Props [Fabiana Simões](http://fabianapsimoes.wordpress.com/) and [Gary Jones](http://garyjones.co.uk/).
@@ -138,6 +143,7 @@ A special thanks to all who have contributed to Genesis eNews Extended.
138
  * Joel Runyon
139
  * Jennifer Jinright
140
  * Greg Ferro
 
141
  * [Maybe You?](http://www.brandonkraft.com/donate/)
142
 
143
  = Code Contributions =
@@ -167,62 +173,5 @@ If you're not listed and think you should be, please drop me a note. Any omissio
167
 
168
  == Upgrade Notice ==
169
 
170
- = 0.1 =
171
- Initial stable release. Please update from alpha now.
172
-
173
- = 0.1.1 =
174
- Adds "Hidden Fields" widget setting to make widget compatible with more mailing services. Upgrade if you want to use AWeber or other services that require one or more hidden fields.
175
-
176
- = 0.1.2 =
177
- Expands widget's usefulness to more StudioPress themes (Balance, etc).
178
-
179
- = 0.1.3 =
180
- Security update and adds Feedburner support natively.
181
-
182
- = 0.1.4 =
183
- Adds translation support and adds German translation.
184
-
185
- = 0.1.5 =
186
- Adds option to open confirmation screen in same tab.
187
-
188
- = 0.1.6 =
189
- Adds first and last name fields. Check instructions before usage.
190
-
191
- = 0.2.0 =
192
- Code enhancements and adds Spanish, Italian, and Slovak translations.
193
-
194
- = 1.0.0 =
195
- Enable changes to first name and last name text displayed on site.
196
-
197
- = 1.0.1 =
198
- Verify plugin is active after update.
199
-
200
- = 1.0.2 =
201
- Verify plugin is active after update.
202
-
203
- = 1.1.0 =
204
- Allows images in the "Text to Show" area.
205
-
206
- = 1.1.1 =
207
- Fixed bug in onclick clearing of first and last name fields and translations that were not loading.
208
-
209
- = 1.1.2 =
210
- Fixed bug that prevents a mail service's validation to work correctly. Improved translations.
211
-
212
- = 1.2.0 =
213
- * Adds text space after form. Perfect for a link to a Privacy Statement! Add screen reader compatability.
214
-
215
- = 1.3.0 =
216
- * Enables Genesis 2.0 HTML5 support and other improvements.
217
-
218
- = 1.3.1 =
219
- * Enables Genesis 2.0 HTML5 support and other improvements.
220
-
221
- = 1.3.2 =
222
- * Updated code to prevent non-critical error message from being displayed in PHP 5.4.
223
-
224
- = 1.3.3 =
225
- * Updated Bulgarian Translation.
226
-
227
  = 1.4.0 =
228
- * Added native support for MailPoet and added/improved translations.
3
  Donate link: http://www.brandonkraft.com/donate/
4
  Tags: genesis, genesiswp, mailchimp, aweber, studiopress, newsletter, subscribe, mailpoet, wysija
5
  Requires at least: 3.0
6
+ Tested up to: 4.2
7
+ Stable tag: 1.4.1
8
 
9
  Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
10
 
18
  1. Activate the plugin through the 'Plugins' menu in WordPress
19
  1. In Appearance->Widgets, add Genesis eNews Extended widget to any sidebar.
20
  1. Using the mailing list contact form code provided by your vendor, add the form action URL, the form field ID for the e-mail field and any hidden fields (not all services use them) into the widget options. See some tips for this on the [plugin's install page](http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/install).
21
+ 1. If using name fields, read the [plugin's tutorial website](http://www.brandonkraft.com/genesis-enews-extended/tutorials).
22
  1. Verify it works!
23
 
24
  == Frequently Asked Questions ==
37
 
38
  = The first and last name fields look funky. =
39
 
40
+ Read more on the [plugin's tutorial website](http://www.brandonkraft.com/genesis-enews-extended/tutorials).
41
 
42
  = I need help! Where I can get it? =
43
 
44
+ "Official" tutorials will be maintained on the [plugin's website](http://www.brandonkraft.com/genesis-enews-extended/).
45
 
46
  Questions can be asked at the [WordPress.org Support Forum](http://wordpress.org/support/plugin/genesis-enews-extended) for this plugin.
47
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.4.1 =
55
+ * Add fieldset, legend, option, optgroup, select to allowed HTML for Hidden Fields area.
56
+ * Update CSS for screenreaders. Props jwenerd.
57
+ * Updated BG transations. Props Daniel Bailey.
58
+
59
  = 1.4.0 =
60
  * Adds MailPoet itegration. Props [Maor Chasen](http://maorchasen.com/).
61
  * Updated pt_BR translation and added en_UK translation. Props [Fabiana Simões](http://fabianapsimoes.wordpress.com/) and [Gary Jones](http://garyjones.co.uk/).
143
  * Joel Runyon
144
  * Jennifer Jinright
145
  * Greg Ferro
146
+ * Greg Young
147
  * [Maybe You?](http://www.brandonkraft.com/donate/)
148
 
149
  = Code Contributions =
173
 
174
  == Upgrade Notice ==
175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  = 1.4.0 =
177
+ * Added native support for MailPoet and added/improved translations.