Subscribe2 - Version 6.5

Version Description

Download this release

Release Info

Developer MattyRob
Plugin Icon 128x128 Subscribe2
Version 6.5
Comparing to
See all releases

Code changes from version 6.4 to 6.5

ReadMe.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: MattyRob, Skippy, RavanH
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2387904
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.8
6
- Tested up to: 3.2
7
- Stable tag: 6.4
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
@@ -27,6 +27,20 @@ If you want to send full content HTML emails to Public Subscribers too then upgr
27
 
28
  == Installation ==
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  1. Copy the entire /subscribe2/ directory into your /wp-content/plugins/ directory.
31
  2. Activate the plugin.
32
  3. Click the "Settings" admin menu link, and select "Subscribe2".
@@ -173,9 +187,11 @@ By default Public Subscribers get plain text emails and only Registered Subscrib
173
 
174
  = Which version should I be using, I'm on WordPress x.x.x? =
175
 
176
- WordPress 2.3 and up require Subscribe2 from the 4.x or 5.x stable branch. The most recent version is hosted via [Wordpress.org](http://wordpress.org/extend/plugins/subscribe2/).
 
 
177
 
178
- WordPress 2.1.x and 2.2.x require Subscribe2 from the 3.x stable. The most recent version is [3.8](http://downloads.wordpress.org/plugin/subscribe2.3.8.zip).
179
 
180
  WordPress 2.0.x requires Subscribe2 from the 2.x stable branch. The most recent version is [2.22](http://downloads.wordpress.org/plugin/subscribe2.2.22.zip).
181
 
@@ -193,6 +209,18 @@ Secondly, make sure that the token ([subscribe2] or <!--subscribe2-->) is correc
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  = Version 6.4 by Matthew Robinson =
197
 
198
  * Wrapped all KEYWORDS in curly brackets {} so capitalised keywords can be used in content without being replaced
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
4
  Tags: posts, subscription, email, subscribe, notify, notification
5
  Requires at least: 2.8
6
+ Tested up to: 3.2.1
7
+ Stable tag: 6.5
8
 
9
  Sends a list of subscribers an email notification when new posts are published to your blog
10
 
27
 
28
  == Installation ==
29
 
30
+ AUTOMATIC INSTALLATION
31
+ 1. Log in to your WordPress blog and visit Plugins->Add New.
32
+ 2. Search for Subscribe2, click "Install Now" and then Activate the Plugin
33
+ 3. Click the "Settings" admin menu link, and select "Subscribe2".
34
+ 4. Configure the options to taste, including the email template and any categories which should be excluded from notification
35
+ 5. Click the "Tools" admin menu link, and select "Subscribers".
36
+ 6. Manually subscribe people as you see fit.
37
+ 7. Create a [WordPress Page](http://codex.wordpress.org/Pages) to display the subscription form. When creating the page, you may click the "S2" button on the QuickBar to automatically insert the subscribe2 token. Or, if you prefer, you may manually insert the subscribe2 shortcode or token:
38
+ [subscribe2] or the HTML invisible <!--subscribe2-->
39
+ ***Ensure the token is on a line by itself and that it has a blank line above and below.***
40
+ This token will automatically be replaced by dynamic subscription information and will display all forms and messages as necessary.
41
+ 8. In the WordPress "Settings" area for Subscribe2 select the page name in the "Appearance" section that of the WordPress page created in step 7.
42
+
43
+ MANUAL INSTALLATION
44
  1. Copy the entire /subscribe2/ directory into your /wp-content/plugins/ directory.
45
  2. Activate the plugin.
46
  3. Click the "Settings" admin menu link, and select "Subscribe2".
187
 
188
  = Which version should I be using, I'm on WordPress x.x.x? =
189
 
190
+ WordPress 2.8 and up requires Subscribe2 from the 6.x stable branch. The most recent version is hosted via [Wordpress.org](http://wordpress.org/extend/plugins/subscribe2/).
191
+
192
+ WordPress 2.3.x through to 2.7.x require Subscribe2 from the 4.x or 5.x stable branch. The most recent version is [5.9](http://downloads.wordpress.org/plugin/subscribe2.5.9.zip).
193
 
194
+ WordPress 2.1.x and 2.2.x require Subscribe2 from the 3.x stable branch. The most recent version is [3.8](http://downloads.wordpress.org/plugin/subscribe2.3.8.zip).
195
 
196
  WordPress 2.0.x requires Subscribe2 from the 2.x stable branch. The most recent version is [2.22](http://downloads.wordpress.org/plugin/subscribe2.2.22.zip).
197
 
209
 
210
  == Changelog ==
211
 
212
+ = Version 6.5 by Matthew Robinson =
213
+
214
+ * Fix for Multisite / MU detection for WordPress versions prior to 3.0
215
+ * Fix in the upgrade() function to insert database entires for Registered Users on first time install
216
+ * Fix for the uninstaller script to allow use on regular and Multisite WordPress
217
+ * Updated uninstaller to remove any postmeta entries on uninstall
218
+ * Fix for blank post detail on HTML Excerpt notifications when the post content is brief
219
+ * Fix for some PHP notices
220
+ * Fix to remove all cron settings when options are reverted to per-post
221
+ * Minor code layout changes and comment updates
222
+ * Dropped use of WP_CONTENT_DIR to fix issues on site where wp-content/ folder has been moved
223
+
224
  = Version 6.4 by Matthew Robinson =
225
 
226
  * Wrapped all KEYWORDS in curly brackets {} so capitalised keywords can be used in content without being replaced
include/buttonsnap.php CHANGED
@@ -3,7 +3,8 @@
3
  BUTTONSNAP CLASS LIBRARY By Owen Winkler
4
  http://asymptomatic.net
5
  WordPress Downloads are at http://redalt.com/downloads
6
- Version: 1.3.1
 
7
  *******************************************************************************/
8
 
9
  if (!class_exists('buttonsnap')) :
@@ -12,14 +13,14 @@ class buttonsnap
12
  var $script_output = false;
13
  var $buttons = array('post'=>array(),'page'=>array(),'any'=>array());
14
  var $markers = array();
15
-
16
  function sink_hooks()
17
  {
18
  add_action('edit_form_advanced', array(&$this, 'edit_form_advanced'));
19
  add_action('edit_page_form', array(&$this, 'edit_page_form'));
20
  add_filter('mce_plugins', array(&$this, 'mce_plugins'));
21
  }
22
-
23
  function go_solo()
24
  {
25
  $dispatch = isset($_POST['buttonsnapdispatch']) ? $_POST['buttonsnapdispatch'] : @$_GET['buttonsnapdispatch'];
@@ -35,7 +36,7 @@ class buttonsnap
35
  die();
36
  }
37
  }
38
-
39
  function edit_form_advanced()
40
  {
41
  if (!$this->script_output) {
@@ -43,7 +44,7 @@ class buttonsnap
43
  $this->script_output = true;
44
  }
45
  }
46
-
47
  function edit_page_form()
48
  {
49
  if (!$this->script_output) {
@@ -51,11 +52,11 @@ class buttonsnap
51
  $this->script_output = true;
52
  }
53
  }
54
-
55
  function mce_plugins($plugins)
56
  {
57
  if (count($this->markers) > 0) {
58
-
59
  echo "var buttonsnap_markers = new Array(\n";
60
  $comma = '';
61
  foreach ($this->markers as $k => $v) {
@@ -70,7 +71,7 @@ class buttonsnap
70
  $comma = "\n,";
71
  }
72
  echo "\n);\n";
73
-
74
  ?>
75
 
76
  function TinyMCE_buttonsnap_initInstance(inst) {
@@ -129,9 +130,9 @@ function TinyMCE_buttonsnap_cleanup(type, content) {
129
  case "initial_editor_insert":
130
  content = TinyMCE_buttonsnap_cleanup("insert_to_editor", content);
131
  alert('foo');
132
-
133
  break;
134
-
135
  case "insert_to_editor":
136
  var startPos = 0;
137
 
@@ -145,7 +146,7 @@ function TinyMCE_buttonsnap_cleanup(type, content) {
145
  content += ' width="100%" height="10px" ';
146
  content += 'alt="" class="' + buttonsnap_classes[z] + '" />';
147
  content += contentAfter;
148
-
149
  startPos++;
150
  }
151
  }
@@ -160,9 +161,9 @@ function TinyMCE_buttonsnap_cleanup(type, content) {
160
  for(z=0;z<buttonsnap_classes.length;z++) {
161
  if (attribs['class'] == buttonsnap_classes[z]) {
162
  endPos += 2;
163
-
164
  var embedHTML = '<!--' + buttonsnap_markers[z] + '-->';
165
-
166
  // Insert embed/object chunk
167
  chunkBefore = content.substring(0, startPos);
168
  chunkAfter = content.substring(endPos);
@@ -182,12 +183,12 @@ function TinyMCE_buttonsnap_cleanup(type, content) {
182
  }
183
  return $plugins;
184
  }
185
-
186
  function output_script($type = 'any')
187
  {
188
  echo '<script type="text/javascript">
189
  var buttonsnap_request_uri = "' . $this->plugin_uri() . '";
190
- var buttonsnap_wproot = "' . get_settings('siteurl') . '";
191
  </script>' . "\n";
192
  echo <<< ENDSCRIPT
193
 
@@ -240,13 +241,13 @@ function buttonsnap_newbutton(src, alt) {
240
  anchor.title = alt;
241
  anchor.id = 'ed_' + alt;
242
  qttoolbar.appendChild(anchor);
243
- }
244
  return anchor;
245
  }
246
  function buttonsnap_newseparator() {
247
  if(window.tinyMCE) {
248
  var sep = document.createElement('IMG');
249
-
250
  sep.setAttribute('src', buttonsnap_wproot + '/wp-includes/js/tinymce/themes/advanced/images/spacer.gif');
251
  sep.className = 'mceSeparatorLine';
252
  sep.setAttribute('class', 'mceSeparatorLine');
@@ -271,7 +272,7 @@ function buttonsnap_ajax(dispatch) {
271
  if(window.tinyMCE) {
272
  selection = tinyMCE.getInstanceById('content').getSelectedText();
273
  }
274
- else {
275
  if (document.selection) {
276
  document.getElementById('content').focus();
277
  sel = document.selection.createRange();
@@ -309,7 +310,7 @@ function buttonsnap_addbuttons () {
309
  }
310
  try {
311
  ENDSCRIPT;
312
-
313
  switch($type) {
314
  case 'any':
315
  $this->buttons['any'] = array_merge($this->buttons['post'], $this->buttons['page'], $this->buttons['any']);
@@ -318,7 +319,7 @@ ENDSCRIPT;
318
  $this->buttons[$type] = array_merge($this->buttons[$type], $this->buttons['any']);
319
  }
320
  $usebuttons = $this->buttons[$type];
321
-
322
  foreach ($usebuttons as $button) {
323
  if($button['type'] == 'separator') {
324
  echo "buttonsnap_newseparator();\n";
@@ -350,13 +351,13 @@ echo <<< MORESCRIPT
350
 
351
  MORESCRIPT;
352
  }
353
-
354
  function textbutton($imgsrc, $alttext, $inserted, $type="any")
355
  {
356
  $this->buttons[$type][] = array('type'=>'text', 'src'=>$imgsrc, 'alt'=>$alttext, 'text'=>$inserted);
357
  return $this->buttons;
358
  }
359
-
360
  function jsbutton($imgsrc, $alttext, $js, $type="any")
361
  {
362
  $this->buttons[$type][] = array('type'=>'js', 'src'=>$imgsrc, 'alt'=>$alttext, 'js'=>$js);
@@ -368,30 +369,30 @@ MORESCRIPT;
368
  $this->buttons[$type][] = array('type'=>'ajax', 'src'=>$imgsrc, 'alt'=>$alttext, 'hook'=>$hook);
369
  return $this->buttons;
370
  }
371
-
372
  function separator($type="any")
373
  {
374
  $this->buttons[$type][] = array('type'=>'separator');
375
  return $this->buttons;
376
  }
377
-
378
  function register_marker($marker, $cssclass)
379
  {
380
  $this->markers[$marker] = $cssclass;
381
  }
382
-
383
- function basename($src='')
384
  {
385
  if($src == '') $src = __FILE__;
386
  $name = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $src);
387
  return str_replace('\\', '/', $name);
388
  }
389
-
390
  function plugin_uri($src = '')
391
  {
392
- return get_settings('siteurl') . '/wp-content/plugins/' . $this->basename($src);
393
  }
394
-
395
  function include_up($filename) {
396
  $c=0;
397
  while(!is_file($filename)) {
3
  BUTTONSNAP CLASS LIBRARY By Owen Winkler
4
  http://asymptomatic.net
5
  WordPress Downloads are at http://redalt.com/downloads
6
+ Version: 1.3.2
7
+ Updated get_settings() to get_option() as former is deprecated - Matthew Robinson August 2011
8
  *******************************************************************************/
9
 
10
  if (!class_exists('buttonsnap')) :
13
  var $script_output = false;
14
  var $buttons = array('post'=>array(),'page'=>array(),'any'=>array());
15
  var $markers = array();
16
+
17
  function sink_hooks()
18
  {
19
  add_action('edit_form_advanced', array(&$this, 'edit_form_advanced'));
20
  add_action('edit_page_form', array(&$this, 'edit_page_form'));
21
  add_filter('mce_plugins', array(&$this, 'mce_plugins'));
22
  }
23
+
24
  function go_solo()
25
  {
26
  $dispatch = isset($_POST['buttonsnapdispatch']) ? $_POST['buttonsnapdispatch'] : @$_GET['buttonsnapdispatch'];
36
  die();
37
  }
38
  }
39
+
40
  function edit_form_advanced()
41
  {
42
  if (!$this->script_output) {
44
  $this->script_output = true;
45
  }
46
  }
47
+
48
  function edit_page_form()
49
  {
50
  if (!$this->script_output) {
52
  $this->script_output = true;
53
  }
54
  }
55
+
56
  function mce_plugins($plugins)
57
  {
58
  if (count($this->markers) > 0) {
59
+
60
  echo "var buttonsnap_markers = new Array(\n";
61
  $comma = '';
62
  foreach ($this->markers as $k => $v) {
71
  $comma = "\n,";
72
  }
73
  echo "\n);\n";
74
+
75
  ?>
76
 
77
  function TinyMCE_buttonsnap_initInstance(inst) {
130
  case "initial_editor_insert":
131
  content = TinyMCE_buttonsnap_cleanup("insert_to_editor", content);
132
  alert('foo');
133
+
134
  break;
135
+
136
  case "insert_to_editor":
137
  var startPos = 0;
138
 
146
  content += ' width="100%" height="10px" ';
147
  content += 'alt="" class="' + buttonsnap_classes[z] + '" />';
148
  content += contentAfter;
149
+
150
  startPos++;
151
  }
152
  }
161
  for(z=0;z<buttonsnap_classes.length;z++) {
162
  if (attribs['class'] == buttonsnap_classes[z]) {
163
  endPos += 2;
164
+
165
  var embedHTML = '<!--' + buttonsnap_markers[z] + '-->';
166
+
167
  // Insert embed/object chunk
168
  chunkBefore = content.substring(0, startPos);
169
  chunkAfter = content.substring(endPos);
183
  }
184
  return $plugins;
185
  }
186
+
187
  function output_script($type = 'any')
188
  {
189
  echo '<script type="text/javascript">
190
  var buttonsnap_request_uri = "' . $this->plugin_uri() . '";
191
+ var buttonsnap_wproot = "' . get_option('siteurl') . '";
192
  </script>' . "\n";
193
  echo <<< ENDSCRIPT
194
 
241
  anchor.title = alt;
242
  anchor.id = 'ed_' + alt;
243
  qttoolbar.appendChild(anchor);
244
+ }
245
  return anchor;
246
  }
247
  function buttonsnap_newseparator() {
248
  if(window.tinyMCE) {
249
  var sep = document.createElement('IMG');
250
+
251
  sep.setAttribute('src', buttonsnap_wproot + '/wp-includes/js/tinymce/themes/advanced/images/spacer.gif');
252
  sep.className = 'mceSeparatorLine';
253
  sep.setAttribute('class', 'mceSeparatorLine');
272
  if(window.tinyMCE) {
273
  selection = tinyMCE.getInstanceById('content').getSelectedText();
274
  }
275
+ else {
276
  if (document.selection) {
277
  document.getElementById('content').focus();
278
  sel = document.selection.createRange();
310
  }
311
  try {
312
  ENDSCRIPT;
313
+
314
  switch($type) {
315
  case 'any':
316
  $this->buttons['any'] = array_merge($this->buttons['post'], $this->buttons['page'], $this->buttons['any']);
319
  $this->buttons[$type] = array_merge($this->buttons[$type], $this->buttons['any']);
320
  }
321
  $usebuttons = $this->buttons[$type];
322
+
323
  foreach ($usebuttons as $button) {
324
  if($button['type'] == 'separator') {
325
  echo "buttonsnap_newseparator();\n";
351
 
352
  MORESCRIPT;
353
  }
354
+
355
  function textbutton($imgsrc, $alttext, $inserted, $type="any")
356
  {
357
  $this->buttons[$type][] = array('type'=>'text', 'src'=>$imgsrc, 'alt'=>$alttext, 'text'=>$inserted);
358
  return $this->buttons;
359
  }
360
+
361
  function jsbutton($imgsrc, $alttext, $js, $type="any")
362
  {
363
  $this->buttons[$type][] = array('type'=>'js', 'src'=>$imgsrc, 'alt'=>$alttext, 'js'=>$js);
369
  $this->buttons[$type][] = array('type'=>'ajax', 'src'=>$imgsrc, 'alt'=>$alttext, 'hook'=>$hook);
370
  return $this->buttons;
371
  }
372
+
373
  function separator($type="any")
374
  {
375
  $this->buttons[$type][] = array('type'=>'separator');
376
  return $this->buttons;
377
  }
378
+
379
  function register_marker($marker, $cssclass)
380
  {
381
  $this->markers[$marker] = $cssclass;
382
  }
383
+
384
+ function basename($src='')
385
  {
386
  if($src == '') $src = __FILE__;
387
  $name = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $src);
388
  return str_replace('\\', '/', $name);
389
  }
390
+
391
  function plugin_uri($src = '')
392
  {
393
+ return get_option('siteurl') . '/wp-content/plugins/' . $this->basename($src);
394
  }
395
+
396
  function include_up($filename) {
397
  $c=0;
398
  while(!is_file($filename)) {
include/s2_checkbox.dev.js CHANGED
@@ -9,7 +9,7 @@ jQuery(document).ready(function(){
9
  });
10
  });
11
  // function to check or uncheck 'checkall' box when individual boxes are toggled
12
- jQuery('input[class="cat_checkall"]').click(function(){
13
  var checked_status = true;
14
  jQuery('input[class="' + this.className + '"]').each(function(){
15
  if ((this.checked == true) && (checked_status == true)){
@@ -28,7 +28,7 @@ jQuery(document).ready(function(){
28
  });
29
  // function to check or uncheck 'checkall' box when page is loaded
30
  var checked_status = true;
31
- jQuery('input[class="cat_checkall"]').each(function(){
32
  if ((this.checked == true) && (checked_status == true)){
33
  checked_status = true;
34
  } else {
9
  });
10
  });
11
  // function to check or uncheck 'checkall' box when individual boxes are toggled
12
+ jQuery('input[class^="checkall"]').click(function(){
13
  var checked_status = true;
14
  jQuery('input[class="' + this.className + '"]').each(function(){
15
  if ((this.checked == true) && (checked_status == true)){
28
  });
29
  // function to check or uncheck 'checkall' box when page is loaded
30
  var checked_status = true;
31
+ jQuery('input[class^="checkall"]').each(function(){
32
  if ((this.checked == true) && (checked_status == true)){
33
  checked_status = true;
34
  } else {
include/s2_checkbox.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(){jQuery('input[name="checkall"]').click(function(){var checked_status=this.checked;jQuery('input[class="'+this.value+'"]').each(function(){this.checked=checked_status})});jQuery('input[class="cat_checkall"]').click(function(){var checked_status=true;jQuery('input[class="'+this.className+'"]').each(function(){if((this.checked==true)&&(checked_status==true)){checked_status=true}else{checked_status=false}if(jQuery().jquery>='1.6'){jQuery('input[value="'+this.className+'"]').prop('checked',checked_status)}else{jQuery('input[value="'+this.className+'"]').attr('checked',checked_status)}})});var checked_status=true;jQuery('input[class="cat_checkall"]').each(function(){if((this.checked==true)&&(checked_status==true)){checked_status=true}else{checked_status=false}if(jQuery().jquery>='1.6'){jQuery('input[value="'+this.className+'"]').prop('checked',checked_status)}else{jQuery('input[value="'+this.className+'"]').attr('checked',checked_status)}})});
1
+ jQuery(document).ready(function(){jQuery('input[name="checkall"]').click(function(){var checked_status=this.checked;jQuery('input[class="'+this.value+'"]').each(function(){this.checked=checked_status})});jQuery('input[class^="checkall"]').click(function(){var checked_status=true;jQuery('input[class="'+this.className+'"]').each(function(){if((this.checked==true)&&(checked_status==true)){checked_status=true}else{checked_status=false}if(jQuery().jquery>='1.6'){jQuery('input[value="'+this.className+'"]').prop('checked',checked_status)}else{jQuery('input[value="'+this.className+'"]').attr('checked',checked_status)}})});var checked_status=true;jQuery('input[class^="checkall"]').each(function(){if((this.checked==true)&&(checked_status==true)){checked_status=true}else{checked_status=false}if(jQuery().jquery>='1.6'){jQuery('input[value="'+this.className+'"]').prop('checked',checked_status)}else{jQuery('input[value="'+this.className+'"]').attr('checked',checked_status)}})});
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
subscribe2.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
- Version: 6.4
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
@@ -36,14 +36,17 @@ if ( version_compare($wp_version, '2.8', '<') ) {
36
  $exit_msg = sprintf(__('This version of Subscribe2 requires WordPress 2.8 or greater. Please update %1$s or use an older version of %2$s.', 'subscribe2'), '<a href="http://codex.wordpress.org/Updating_WordPress">Wordpress</a>', '<a href="http://wordpress.org/extend/plugins/subscribe2/download/">Subscribe2</a>');
37
  exit($exit_msg);
38
  }
39
- if ( version_compare($wp_version, '3.0', '<') && is_multisite() ) {
40
- // Subscribe2 needs WordPress MultiSite 3.0 or above, exit if not on a compatible version
41
- $exit_msg = sprintf(__('This version of Subscribe2 requires WordPress Multisite 3.0 or greater. Please update %1$s or use an older version of %2$s.', 'subscribe2'), '<a href="http://codex.wordpress.org/Updating_WordPress">Wordpress</a>', '<a href="http://wordpress.org/extend/plugins/subscribe2/download/">Subscribe2</a>');
 
 
 
42
  }
43
 
44
  // our version number. Don't touch this or any line below
45
  // unless you know exactly what you are doing
46
- define( 'S2VERSION', '6.4' );
47
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
48
  define( 'S2DIR', trailingslashit(plugin_basename(dirname(__FILE__))) );
49
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
@@ -56,7 +59,7 @@ if ( !in_array(ini_get('safe_mode'), $safe_mode) && ini_get('max_execution_time'
56
 
57
  /* Include buttonsnap library by Owen Winckler */
58
  if ( !class_exists('buttonsnap') ) {
59
- require( WP_CONTENT_DIR . '/plugins/' . S2DIR . 'include/buttonsnap.php' );
60
  }
61
 
62
  $mysubscribe2 = new s2class;
@@ -164,7 +167,7 @@ class s2class {
164
 
165
  function user_admin_css() {
166
  wp_enqueue_style('s2_user_admin', S2URL . 'include/s2_user_admin.css', array(), '1.0');
167
- }
168
 
169
  function option_form_js() {
170
  wp_enqueue_script('s2_edit', S2URL . 'include/s2_edit' . $this->script_debug . '.js', array('jquery'), '1.0');
@@ -222,6 +225,9 @@ class s2class {
222
  } elseif ( 'text' == $check_format ) {
223
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_format'), $this->get_user_meta($user_ID, 's2_excerpt'), true);
224
  $this->delete_user_meta($user_ID, 's2_excerpt');
 
 
 
225
  }
226
  $subscribed = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
227
  if ( strstr($subscribed, '-1') ) {
@@ -660,7 +666,7 @@ class s2class {
660
  if ( false !== strpos($content, '<!--more-->') ) {
661
  list($html_excerpt, $more) = explode('<!--more-->', $content, 2);
662
  // balance HTML tags and then strip leading and trailing whitespace
663
- $html_excerpt = trim(balanceTags($html_excerpt, 1));
664
  } else {
665
  // no <!--more-->, so grab the first 55 words
666
  $words = explode(' ', $content, $this->excerpt_length + 1);
@@ -669,7 +675,9 @@ class s2class {
669
  array_push($words, '[...]');
670
  $html_excerpt = implode(' ', $words);
671
  // balance HTML tags and then strip leading and trailing whitespace
672
- $html_excerpt = trim(balanceTags($html_excerpt, 1));
 
 
673
  }
674
  }
675
  }
@@ -715,17 +723,6 @@ class s2class {
715
  }
716
  } // end publish()
717
 
718
- /**
719
- Hook Subscribe2 into posts published via email
720
- */
721
- function publish_phone($id) {
722
- if ( !$id ) { return; }
723
-
724
- $post = get_post($id);
725
- $this->publish($post);
726
- return $post;
727
- } // end publish_phone()
728
-
729
  /**
730
  Send confirmation email to a public subscriber
731
  */
@@ -918,7 +915,7 @@ class s2class {
918
  } else {
919
  return false;
920
  }
921
- } //end is_barred()
922
 
923
  /**
924
  Confirm request from the link emailed to the user and email the admin
@@ -1016,6 +1013,7 @@ class s2class {
1016
  }
1017
  }
1018
  $headers = $this->headers();
 
1019
  foreach ( $recipients as $recipient ) {
1020
  @wp_mail($recipient, $subject, $message, $headers);
1021
  }
@@ -1044,7 +1042,7 @@ class s2class {
1044
  } else {
1045
  return false;
1046
  }
1047
- } // end is_public
1048
 
1049
  /**
1050
  Is the supplied email address a registered user of the blog?
@@ -1114,7 +1112,7 @@ class s2class {
1114
  return $wpdb->get_col("SELECT user_email FROM $wpdb->users");
1115
  }
1116
  }
1117
- }
1118
 
1119
  /**
1120
  Return an array of registered subscribers
@@ -1152,7 +1150,7 @@ class s2class {
1152
  // specific category subscribers
1153
  if ( '' != $r['cats'] ) {
1154
  $JOIN .= "INNER JOIN $wpdb->usermeta AS c ON a.user_id = c.user_id ";
1155
- $all = '';
1156
  foreach ( explode(',', $r['cats']) as $cat ) {
1157
  ('' == $and) ? $and = "c.meta_key='" . $this->get_usermeta_keyname('s2_cat') . "$cat'" : $and .= " OR c.meta_key='" . $this->get_usermeta_keyname('s2_cat') . "$cat'";
1158
  }
@@ -1391,7 +1389,7 @@ class s2class {
1391
 
1392
  foreach ( $user_IDs as $user_ID ) {
1393
  foreach ( $all_cats as $cat ) {
1394
- $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat->term_id);
1395
  }
1396
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats_string);
1397
  }
@@ -1649,7 +1647,7 @@ class s2class {
1649
  $remain = array_diff($old_cats, (array)$deleted_category);
1650
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1651
  }
1652
- }
1653
 
1654
  /**
1655
  Get admin data from record 1 or first user with admin rights
@@ -2111,10 +2109,9 @@ class s2class {
2111
  $scheduled_time = wp_next_scheduled('s2_digest_cron');
2112
  if ( $email_freq != $this->subscribe2_options['email_freq'] || $_POST['hour'] != date('H', $scheduled_time) ) {
2113
  // make sure the timezone strings are right
2114
- if ( date_default_timezone_get() != get_option('timezone_string') ) {
2115
  date_default_timezone_set(get_option('timezone_string'));
2116
  }
2117
-
2118
  $this->subscribe2_options['email_freq'] = $email_freq;
2119
  wp_clear_scheduled_hook('s2_digest_cron');
2120
  $scheds = (array)wp_get_schedules();
@@ -2122,6 +2119,7 @@ class s2class {
2122
  if ( $interval == 0 ) {
2123
  // if we are on per-post emails remove last_cron entry
2124
  unset($this->subscribe2_options['last_s2cron']);
 
2125
  } else {
2126
  // if we are using digest schedule the event and prime last_cron as now
2127
  $time = time() + $interval;
@@ -2627,7 +2625,6 @@ class s2class {
2627
  }
2628
 
2629
  $cats = $_POST['category'];
2630
- sort($cats);
2631
 
2632
  if ( empty($cats) || $cats == '-1' ) {
2633
  $oldcats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
@@ -2645,9 +2642,10 @@ class s2class {
2645
  }
2646
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $catids);
2647
  } else {
2648
- if ( !is_array($cats) ) {
2649
- $cats = array($_POST['category']);
2650
  }
 
2651
  $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2652
  $remove = array_diff($old_cats, $cats);
2653
  $new = array_diff($cats, $old_cats);
@@ -2982,11 +2980,11 @@ class s2class {
2982
  $j = 0;
2983
  echo "<table width=\"100%\" cellspacing=\"2\" cellpadding=\"5\" class=\"editform\">\r\n";
2984
  echo "<tr><td align=\"left\" colspan=\"2\">\r\n";
2985
- echo "<label><input type=\"checkbox\" name=\"checkall\" value=\"cat_checkall\" /> " . __('Select / Unselect All', 'subscribe2') . "</label>\r\n";
2986
  echo "</td></tr>\r\n";
2987
  echo "<tr valign=\"top\"><td width=\"50%\" align=\"left\">\r\n";
2988
  foreach ( $all_cats as $cat ) {
2989
- if ( $i >= $half && 0 == $j ){
2990
  echo "</td><td width=\"50%\" align=\"left\">\r\n";
2991
  $j++;
2992
  }
@@ -3001,13 +2999,13 @@ class s2class {
3001
  $catName .= $cat->name;
3002
 
3003
  if ( 0 == $j ) {
3004
- echo "<label><input class=\"cat_checkall\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
3005
  if ( in_array($cat->term_id, $selected) ) {
3006
  echo " checked=\"checked\"";
3007
  }
3008
  echo " /> <abbr title=\"" . $cat->slug . "\">" . $catName . "</abbr></label><br />\r\n";
3009
  } else {
3010
- echo "<label><input class=\"cat_checkall\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
3011
  if ( in_array($cat->term_id, $selected) ) {
3012
  echo " checked=\"checked\"";
3013
  }
@@ -3098,7 +3096,7 @@ class s2class {
3098
  } // end display_subscriber_dropdown()
3099
 
3100
  /**
3101
- Display a drop down lisy of administrator level users and
3102
  optionally include a choice for Post Author
3103
  */
3104
  function admin_dropdown($inc_author = false) {
@@ -3301,7 +3299,7 @@ class s2class {
3301
  }
3302
  // Not MU or not a prefixed option name
3303
  return $metaname;
3304
- }
3305
 
3306
  /**
3307
  Obtain a list of current WordPress multiuser blogs
@@ -3464,7 +3462,7 @@ class s2class {
3464
  Action subscribe requests made on comment forms when comments are approved
3465
  */
3466
  function comment_status($comment_ID = 0, $comment_status = 0){
3467
- global $wpdb;
3468
 
3469
  // get meta data
3470
  $subscribe = get_comment_meta($comment_ID, 's2_comment_request', true);
@@ -3641,7 +3639,7 @@ class s2class {
3641
  Register the form widget
3642
  */
3643
  function subscribe2_widget() {
3644
- require_once( WP_CONTENT_DIR . '/plugins/' . S2DIR . 'include/widget.php');
3645
  register_widget('S2_Form_widget');
3646
  } // end subscribe2_widget()
3647
 
@@ -3649,7 +3647,7 @@ class s2class {
3649
  Register the counter widget
3650
  */
3651
  function counter_widget() {
3652
- require_once( WP_CONTENT_DIR . '/plugins/' . S2DIR . 'include/counterwidget.php');
3653
  register_widget('S2_Counter_widget');
3654
  } // end counter_widget()
3655
 
@@ -3665,8 +3663,10 @@ class s2class {
3665
  }
3666
  } // end widget_s2_counter_css_and_js()
3667
 
 
 
 
3668
  function namechange_subscribe2_widget() {
3669
- // rename WPMU widgets without requiring user to re-enable
3670
  global $wpdb;
3671
  $blogs = $wpdb->get_col("SELECT blog_id FROM {$wpdb->blogs}");
3672
 
@@ -3724,12 +3724,12 @@ class s2class {
3724
  $path = S2URL . 'tinymce3/editor_plugin.js';
3725
  $arr['subscribe2'] = $path;
3726
  return $arr;
3727
- }
3728
 
3729
  function mce3_button($arr) {
3730
  $arr[] = 'subscribe2';
3731
  return $arr;
3732
- }
3733
 
3734
  function s2_edit_form() {
3735
  echo "<!-- Start Subscribe2 Quicktags Javascript -->\r\n";
@@ -3741,7 +3741,7 @@ class s2class {
3741
  echo "//]]>\r\n";
3742
  echo "</script>\r\n";
3743
  echo "<!-- End Subscribe2 Quicktags Javascript -->\r\n";
3744
- }
3745
 
3746
  /* ===== wp-cron functions ===== */
3747
  /**
@@ -3890,7 +3890,7 @@ class s2class {
3890
 
3891
  $excerpt = $post->post_excerpt;
3892
  if ( '' == $excerpt ) {
3893
- // no excerpt, is there a <!--more--> ?
3894
  if ( false !== strpos($post->post_content, '<!--more-->') ) {
3895
  list($excerpt, $more) = explode('<!--more-->', $post->post_content, 2);
3896
  $excerpt = strip_tags($excerpt);
@@ -3962,7 +3962,7 @@ class s2class {
3962
  $recipients = array_merge((array)$public, (array)$registered);
3963
  $this->mail($recipients, $subject, $mailtext);
3964
  }
3965
- } // end subscribe2_cron
3966
 
3967
  /* ===== Our constructor ===== */
3968
  /**
@@ -4052,6 +4052,7 @@ class s2class {
4052
  if ( '1' == $this->subscribe2_options['show_meta'] ) {
4053
  add_action('wp_meta', array(&$this, 'add_minimeta'), 0);
4054
  }
 
4055
  // Add filters for Ozh Admin Menu
4056
  if ( function_exists('wp_ozh_adminmenu') ) {
4057
  add_filter('ozh_adminmenu_icon_s2_posts', array(&$this, 'ozh_s2_icon'));
@@ -4089,8 +4090,6 @@ class s2class {
4089
  add_action('pending_to_private', array(&$this, 'publish'));
4090
  }
4091
  }
4092
- // Enable notifications for blogs made via email
4093
- add_action('publish_phone', array(&$this, 'publish_phone'));
4094
 
4095
  // add actions for comment subscribers
4096
  if ( 'no' != $this->subscribe2_options['comment_subs'] ) {
3
  Plugin Name: Subscribe2
4
  Plugin URI: http://subscribe2.wordpress.com
5
  Description: Notifies an email list when new entries are posted.
6
+ Version: 6.5
7
  Author: Matthew Robinson
8
  Author URI: http://subscribe2.wordpress.com
9
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=2387904
36
  $exit_msg = sprintf(__('This version of Subscribe2 requires WordPress 2.8 or greater. Please update %1$s or use an older version of %2$s.', 'subscribe2'), '<a href="http://codex.wordpress.org/Updating_WordPress">Wordpress</a>', '<a href="http://wordpress.org/extend/plugins/subscribe2/download/">Subscribe2</a>');
37
  exit($exit_msg);
38
  }
39
+ if ( version_compare($wp_version, '3.0', '<') ) {
40
+ global $wpmu_version;
41
+ if ( isset($wpmu_version) || strpos($wp_version, 'wordpress-mu') ) {
42
+ // Subscribe2 needs WordPress MultiSite 3.0 or above, exit if not on a compatible version
43
+ $exit_msg = sprintf(__('This version of Subscribe2 requires WordPress Multisite 3.0 or greater. Please update %1$s or use an older version of %2$s.', 'subscribe2'), '<a href="http://codex.wordpress.org/Updating_WordPress">Wordpress</a>', '<a href="http://wordpress.org/extend/plugins/subscribe2/download/">Subscribe2</a>');
44
+ }
45
  }
46
 
47
  // our version number. Don't touch this or any line below
48
  // unless you know exactly what you are doing
49
+ define( 'S2VERSION', '6.5' );
50
  define( 'S2PATH', trailingslashit(dirname(__FILE__)) );
51
  define( 'S2DIR', trailingslashit(plugin_basename(dirname(__FILE__))) );
52
  define( 'S2URL', plugin_dir_url(dirname(__FILE__)) . S2DIR );
59
 
60
  /* Include buttonsnap library by Owen Winckler */
61
  if ( !class_exists('buttonsnap') ) {
62
+ require( S2PATH . 'include/buttonsnap.php' );
63
  }
64
 
65
  $mysubscribe2 = new s2class;
167
 
168
  function user_admin_css() {
169
  wp_enqueue_style('s2_user_admin', S2URL . 'include/s2_user_admin.css', array(), '1.0');
170
+ } // end user_admin_css()
171
 
172
  function option_form_js() {
173
  wp_enqueue_script('s2_edit', S2URL . 'include/s2_edit' . $this->script_debug . '.js', array('jquery'), '1.0');
225
  } elseif ( 'text' == $check_format ) {
226
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_format'), $this->get_user_meta($user_ID, 's2_excerpt'), true);
227
  $this->delete_user_meta($user_ID, 's2_excerpt');
228
+ } elseif ( empty($check_format) ) {
229
+ // no prior settings so create them
230
+ $this->register($user_ID);
231
  }
232
  $subscribed = $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'));
233
  if ( strstr($subscribed, '-1') ) {
666
  if ( false !== strpos($content, '<!--more-->') ) {
667
  list($html_excerpt, $more) = explode('<!--more-->', $content, 2);
668
  // balance HTML tags and then strip leading and trailing whitespace
669
+ $html_excerpt = trim(balanceTags($html_excerpt, true));
670
  } else {
671
  // no <!--more-->, so grab the first 55 words
672
  $words = explode(' ', $content, $this->excerpt_length + 1);
675
  array_push($words, '[...]');
676
  $html_excerpt = implode(' ', $words);
677
  // balance HTML tags and then strip leading and trailing whitespace
678
+ $html_excerpt = trim(balanceTags($html_excerpt, true));
679
+ } else {
680
+ $html_excerpt = $content;
681
  }
682
  }
683
  }
723
  }
724
  } // end publish()
725
 
 
 
 
 
 
 
 
 
 
 
 
726
  /**
727
  Send confirmation email to a public subscriber
728
  */
915
  } else {
916
  return false;
917
  }
918
+ } // end is_barred()
919
 
920
  /**
921
  Confirm request from the link emailed to the user and email the admin
1013
  }
1014
  }
1015
  $headers = $this->headers();
1016
+ // send individual emails so we don't reveal admin emails to each other
1017
  foreach ( $recipients as $recipient ) {
1018
  @wp_mail($recipient, $subject, $message, $headers);
1019
  }
1042
  } else {
1043
  return false;
1044
  }
1045
+ } // end is_public()
1046
 
1047
  /**
1048
  Is the supplied email address a registered user of the blog?
1112
  return $wpdb->get_col("SELECT user_email FROM $wpdb->users");
1113
  }
1114
  }
1115
+ } // end get_all_registered()
1116
 
1117
  /**
1118
  Return an array of registered subscribers
1150
  // specific category subscribers
1151
  if ( '' != $r['cats'] ) {
1152
  $JOIN .= "INNER JOIN $wpdb->usermeta AS c ON a.user_id = c.user_id ";
1153
+ $and = '';
1154
  foreach ( explode(',', $r['cats']) as $cat ) {
1155
  ('' == $and) ? $and = "c.meta_key='" . $this->get_usermeta_keyname('s2_cat') . "$cat'" : $and .= " OR c.meta_key='" . $this->get_usermeta_keyname('s2_cat') . "$cat'";
1156
  }
1389
 
1390
  foreach ( $user_IDs as $user_ID ) {
1391
  foreach ( $all_cats as $cat ) {
1392
+ $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat->term_id, $cat->term_id);
1393
  }
1394
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $cats_string);
1395
  }
1647
  $remain = array_diff($old_cats, (array)$deleted_category);
1648
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), implode(',', $remain));
1649
  }
1650
+ } // end delete_category()
1651
 
1652
  /**
1653
  Get admin data from record 1 or first user with admin rights
2109
  $scheduled_time = wp_next_scheduled('s2_digest_cron');
2110
  if ( $email_freq != $this->subscribe2_options['email_freq'] || $_POST['hour'] != date('H', $scheduled_time) ) {
2111
  // make sure the timezone strings are right
2112
+ if ( function_exists('date_default_timezone_get') && date_default_timezone_get() != get_option('timezone_string') ) {
2113
  date_default_timezone_set(get_option('timezone_string'));
2114
  }
 
2115
  $this->subscribe2_options['email_freq'] = $email_freq;
2116
  wp_clear_scheduled_hook('s2_digest_cron');
2117
  $scheds = (array)wp_get_schedules();
2119
  if ( $interval == 0 ) {
2120
  // if we are on per-post emails remove last_cron entry
2121
  unset($this->subscribe2_options['last_s2cron']);
2122
+ unset($this->subscribe2_options['previous_s2cron']);
2123
  } else {
2124
  // if we are using digest schedule the event and prime last_cron as now
2125
  $time = time() + $interval;
2625
  }
2626
 
2627
  $cats = $_POST['category'];
 
2628
 
2629
  if ( empty($cats) || $cats == '-1' ) {
2630
  $oldcats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2642
  }
2643
  $this->update_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed'), $catids);
2644
  } else {
2645
+ if ( !is_array($cats) ) {
2646
+ $cats = (array)$_POST['category'];
2647
  }
2648
+ sort($cats);
2649
  $old_cats = explode(',', $this->get_user_meta($user_ID, $this->get_usermeta_keyname('s2_subscribed')));
2650
  $remove = array_diff($old_cats, $cats);
2651
  $new = array_diff($cats, $old_cats);
2980
  $j = 0;
2981
  echo "<table width=\"100%\" cellspacing=\"2\" cellpadding=\"5\" class=\"editform\">\r\n";
2982
  echo "<tr><td align=\"left\" colspan=\"2\">\r\n";
2983
+ echo "<label><input type=\"checkbox\" name=\"checkall\" value=\"checkall_cat\" /> " . __('Select / Unselect All', 'subscribe2') . "</label>\r\n";
2984
  echo "</td></tr>\r\n";
2985
  echo "<tr valign=\"top\"><td width=\"50%\" align=\"left\">\r\n";
2986
  foreach ( $all_cats as $cat ) {
2987
+ if ( $i >= $half && 0 == $j ){
2988
  echo "</td><td width=\"50%\" align=\"left\">\r\n";
2989
  $j++;
2990
  }
2999
  $catName .= $cat->name;
3000
 
3001
  if ( 0 == $j ) {
3002
+ echo "<label><input class=\"checkall_cat\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
3003
  if ( in_array($cat->term_id, $selected) ) {
3004
  echo " checked=\"checked\"";
3005
  }
3006
  echo " /> <abbr title=\"" . $cat->slug . "\">" . $catName . "</abbr></label><br />\r\n";
3007
  } else {
3008
+ echo "<label><input class=\"checkall_cat\" type=\"checkbox\" name=\"category[]\" value=\"" . $cat->term_id . "\"";
3009
  if ( in_array($cat->term_id, $selected) ) {
3010
  echo " checked=\"checked\"";
3011
  }
3096
  } // end display_subscriber_dropdown()
3097
 
3098
  /**
3099
+ Display a drop down list of administrator level users and
3100
  optionally include a choice for Post Author
3101
  */
3102
  function admin_dropdown($inc_author = false) {
3299
  }
3300
  // Not MU or not a prefixed option name
3301
  return $metaname;
3302
+ } // end get_usermeta_keyname()
3303
 
3304
  /**
3305
  Obtain a list of current WordPress multiuser blogs
3462
  Action subscribe requests made on comment forms when comments are approved
3463
  */
3464
  function comment_status($comment_ID = 0, $comment_status = 0){
3465
+ global $wpdb;
3466
 
3467
  // get meta data
3468
  $subscribe = get_comment_meta($comment_ID, 's2_comment_request', true);
3639
  Register the form widget
3640
  */
3641
  function subscribe2_widget() {
3642
+ require_once( S2PATH . 'include/widget.php');
3643
  register_widget('S2_Form_widget');
3644
  } // end subscribe2_widget()
3645
 
3647
  Register the counter widget
3648
  */
3649
  function counter_widget() {
3650
+ require_once( S2PATH . 'include/counterwidget.php');
3651
  register_widget('S2_Counter_widget');
3652
  } // end counter_widget()
3653
 
3663
  }
3664
  } // end widget_s2_counter_css_and_js()
3665
 
3666
+ /**
3667
+ Rename WPMU widgets on upgrade without requiring user to re-enable
3668
+ */
3669
  function namechange_subscribe2_widget() {
 
3670
  global $wpdb;
3671
  $blogs = $wpdb->get_col("SELECT blog_id FROM {$wpdb->blogs}");
3672
 
3724
  $path = S2URL . 'tinymce3/editor_plugin.js';
3725
  $arr['subscribe2'] = $path;
3726
  return $arr;
3727
+ } // end mce3_plugin()
3728
 
3729
  function mce3_button($arr) {
3730
  $arr[] = 'subscribe2';
3731
  return $arr;
3732
+ } // end mce3_button()
3733
 
3734
  function s2_edit_form() {
3735
  echo "<!-- Start Subscribe2 Quicktags Javascript -->\r\n";
3741
  echo "//]]>\r\n";
3742
  echo "</script>\r\n";
3743
  echo "<!-- End Subscribe2 Quicktags Javascript -->\r\n";
3744
+ } // end s2_edit_form()
3745
 
3746
  /* ===== wp-cron functions ===== */
3747
  /**
3890
 
3891
  $excerpt = $post->post_excerpt;
3892
  if ( '' == $excerpt ) {
3893
+ // no excerpt, is there a <!--more--> ?
3894
  if ( false !== strpos($post->post_content, '<!--more-->') ) {
3895
  list($excerpt, $more) = explode('<!--more-->', $post->post_content, 2);
3896
  $excerpt = strip_tags($excerpt);
3962
  $recipients = array_merge((array)$public, (array)$registered);
3963
  $this->mail($recipients, $subject, $mailtext);
3964
  }
3965
+ } // end subscribe2_cron()
3966
 
3967
  /* ===== Our constructor ===== */
3968
  /**
4052
  if ( '1' == $this->subscribe2_options['show_meta'] ) {
4053
  add_action('wp_meta', array(&$this, 'add_minimeta'), 0);
4054
  }
4055
+
4056
  // Add filters for Ozh Admin Menu
4057
  if ( function_exists('wp_ozh_adminmenu') ) {
4058
  add_filter('ozh_adminmenu_icon_s2_posts', array(&$this, 'ozh_s2_icon'));
4090
  add_action('pending_to_private', array(&$this, 'publish'));
4091
  }
4092
  }
 
 
4093
 
4094
  // add actions for comment subscribers
4095
  if ( 'no' != $this->subscribe2_options['comment_subs'] ) {
subscribe2.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-07-05 17:42+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -24,880 +24,880 @@ msgid ""
24
  "%1$s or use an older version of %2$s."
25
  msgstr ""
26
 
27
- #: subscribe2.php:41
28
  #, php-format
29
  msgid ""
30
  "This version of Subscribe2 requires WordPress Multisite 3.0 or greater. "
31
  "Please update %1$s or use an older version of %2$s."
32
  msgstr ""
33
 
34
- #: subscribe2.php:75
35
  msgid "To manage your subscription options please"
36
  msgstr ""
37
 
38
- #: subscribe2.php:75
39
  msgid "login"
40
  msgstr ""
41
 
42
- #: subscribe2.php:77 subscribe2.php:86
43
  msgid "You may manage your subscription options from your"
44
  msgstr ""
45
 
46
- #: subscribe2.php:77 subscribe2.php:86
47
  msgid "profile"
48
  msgstr ""
49
 
50
- #: subscribe2.php:82 subscribe2.php:91 subscribe2.php:1918 subscribe2.php:2017
51
- #: subscribe2.php:2841 subscribe2.php:3515 subscribe2.php:3518
52
  #: include/widget.php:96
53
  msgid "Subscribe"
54
  msgstr ""
55
 
56
- #: subscribe2.php:82 subscribe2.php:91
57
  msgid "to email notifications when this blog posts new content"
58
  msgstr ""
59
 
60
- #: subscribe2.php:95
61
  msgid "A confirmation message is on its way!"
62
  msgstr ""
63
 
64
- #: subscribe2.php:97
65
  msgid "That email address is already subscribed."
66
  msgstr ""
67
 
68
- #: subscribe2.php:99
69
  msgid "That email address is not subscribed."
70
  msgstr ""
71
 
72
- #: subscribe2.php:101
73
  msgid "Sorry, but that does not look like an email address to me."
74
  msgstr ""
75
 
76
- #: subscribe2.php:103
77
  msgid ""
78
  "Sorry, email addresses at that domain are currently barred due to spam, "
79
  "please use an alternative email address."
80
  msgstr ""
81
 
82
- #: subscribe2.php:105
83
  msgid ""
84
  "Sorry, there seems to be an error on the server. Please try again later."
85
  msgstr ""
86
 
87
- #: subscribe2.php:107
88
  msgid "You must to create a WordPress page for this plugin to work correctly."
89
  msgstr ""
90
 
91
- #: subscribe2.php:109
92
  msgid "Message sent!"
93
  msgstr ""
94
 
95
- #: subscribe2.php:111
96
  msgid ""
97
  "Message failed! Check your settings and check with your hosting provider"
98
  msgstr ""
99
 
100
- #: subscribe2.php:114
101
  msgid "No such email address is registered."
102
  msgstr ""
103
 
104
- #: subscribe2.php:116
105
  msgid "You have successfully subscribed!"
106
  msgstr ""
107
 
108
- #: subscribe2.php:118
109
  msgid "You have successfully unsubscribed."
110
  msgstr ""
111
 
112
- #: subscribe2.php:120
113
  msgid "subscribe"
114
  msgstr ""
115
 
116
- #: subscribe2.php:122
117
  msgid "unsubscribe"
118
  msgstr ""
119
 
120
- #: subscribe2.php:125
121
  msgid "Options saved!"
122
  msgstr ""
123
 
124
- #: subscribe2.php:126
125
  msgid "Options reset!"
126
  msgstr ""
127
 
128
- #: subscribe2.php:134
129
  msgid "Subscribers"
130
  msgstr ""
131
 
132
- #: subscribe2.php:137
133
  msgid "Subscribe2 Options"
134
  msgstr ""
135
 
136
- #: subscribe2.php:137 subscribe2.php:3716 include/widget.php:17
137
  msgid "Subscribe2"
138
  msgstr ""
139
 
140
- #: subscribe2.php:142
141
  msgid "Your Subscriptions"
142
  msgstr ""
143
 
144
- #: subscribe2.php:146
145
  msgid "Mail Subscribers"
146
  msgstr ""
147
 
148
- #: subscribe2.php:687
149
  msgid "Plain Text Excerpt Preview"
150
  msgstr ""
151
 
152
- #: subscribe2.php:689
153
  msgid "Plain Text Full Preview"
154
  msgstr ""
155
 
156
- #: subscribe2.php:691
157
  msgid "HTML Excerpt Preview"
158
  msgstr ""
159
 
160
- #: subscribe2.php:693
161
  msgid "HTML Full Preview"
162
  msgstr ""
163
 
164
- #: subscribe2.php:956
165
  msgid "New Subscription"
166
  msgstr ""
167
 
168
- #: subscribe2.php:958
169
  msgid "subscribed to email notifications!"
170
  msgstr ""
171
 
172
- #: subscribe2.php:994
173
  msgid "New Unsubscription"
174
  msgstr ""
175
 
176
- #: subscribe2.php:996
177
  msgid "unsubscribed from email notifications!"
178
  msgstr ""
179
 
180
- #: subscribe2.php:1726
181
  msgid "Address(es) subscribed!"
182
  msgstr ""
183
 
184
- #: subscribe2.php:1733
185
  msgid "Address(es) unsubscribed!"
186
  msgstr ""
187
 
188
- #: subscribe2.php:1737
189
  msgid "Some emails were not processed, the following were already subscribed"
190
  msgstr ""
191
 
192
- #: subscribe2.php:1740
193
  msgid "Some emails were not processed, the following were not in the database"
194
  msgstr ""
195
 
196
- #: subscribe2.php:1749
197
  msgid "Address(es) deleted!"
198
  msgstr ""
199
 
200
- #: subscribe2.php:1755 subscribe2.php:1761
201
  msgid "Status changed!"
202
  msgstr ""
203
 
204
- #: subscribe2.php:1775
205
  msgid "Reminder Email(s) Sent!"
206
  msgstr ""
207
 
208
- #: subscribe2.php:1778
209
  msgid "Registered Users Subscribed!"
210
  msgstr ""
211
 
212
- #: subscribe2.php:1781
213
  msgid "Registered Users Unsubscribed!"
214
  msgstr ""
215
 
216
- #: subscribe2.php:1784
217
  msgid "Format updated for Selected Registered Users!"
218
  msgstr ""
219
 
220
- #: subscribe2.php:1787
221
  msgid "Digest Subscription updated for Selected Registered Users!"
222
  msgstr ""
223
 
224
- #: subscribe2.php:1882
225
  msgid "Previous Page"
226
  msgstr ""
227
 
228
- #: subscribe2.php:1902
229
  msgid "Next Page"
230
  msgstr ""
231
 
232
- #: subscribe2.php:1909
233
  msgid "Manage Subscribers"
234
  msgstr ""
235
 
236
- #: subscribe2.php:1914
237
  msgid "Add/Remove Subscribers"
238
  msgstr ""
239
 
240
- #: subscribe2.php:1915
241
  msgid "Enter addresses, one per line or comma-separated"
242
  msgstr ""
243
 
244
- #: subscribe2.php:1919 subscribe2.php:2018 subscribe2.php:2820
245
- #: subscribe2.php:3513 subscribe2.php:3518 include/widget.php:96
246
  msgid "Unsubscribe"
247
  msgstr ""
248
 
249
- #: subscribe2.php:1922
250
  msgid "Current Subscribers"
251
  msgstr ""
252
 
253
- #: subscribe2.php:1924
254
  msgid "Filter"
255
  msgstr ""
256
 
257
- #: subscribe2.php:1930
258
  msgid "Search Subscribers"
259
  msgstr ""
260
 
261
- #: subscribe2.php:1933
262
  msgid "Send Reminder Email"
263
  msgstr ""
264
 
265
- #: subscribe2.php:1940
266
  msgid "Save Emails to CSV File"
267
  msgstr ""
268
 
269
- #: subscribe2.php:1946 subscribe2.php:2004
270
  msgid "Process"
271
  msgstr ""
272
 
273
- #: subscribe2.php:1959 subscribe2.php:1981
274
  msgid "Confirm this email address"
275
  msgstr ""
276
 
277
- #: subscribe2.php:1961 subscribe2.php:1974
278
  msgid "Unconfirm this email address"
279
  msgstr ""
280
 
281
- #: subscribe2.php:1963 subscribe2.php:1976 subscribe2.php:1984
282
  msgid "Delete this email address"
283
  msgstr ""
284
 
285
- #: subscribe2.php:1967 subscribe2.php:2985
286
  msgid "Select / Unselect All"
287
  msgstr ""
288
 
289
- #: subscribe2.php:1991
290
  msgid "edit"
291
  msgstr ""
292
 
293
- #: subscribe2.php:1998
294
  msgid "No matching subscribers found"
295
  msgstr ""
296
 
297
- #: subscribe2.php:2000
298
  msgid "NONE"
299
  msgstr ""
300
 
301
- #: subscribe2.php:2012
302
  msgid "Bulk Management"
303
  msgstr ""
304
 
305
- #: subscribe2.php:2014 subscribe2.php:2030
306
  msgid ""
307
  "Preferences for Registered Users selected in the filter above can be changed "
308
  "using this section."
309
  msgstr ""
310
 
311
- #: subscribe2.php:2015 subscribe2.php:2031
312
  msgid "Consider User Privacy as changes cannot be undone"
313
  msgstr ""
314
 
315
- #: subscribe2.php:2016
316
  msgid "Action to perform"
317
  msgstr ""
318
 
319
- #: subscribe2.php:2021
320
  msgid "Bulk Update Categories"
321
  msgstr ""
322
 
323
- #: subscribe2.php:2023
324
  msgid "Send email as"
325
  msgstr ""
326
 
327
- #: subscribe2.php:2024 subscribe2.php:2505 subscribe2.php:2691
328
  msgid "HTML - Full"
329
  msgstr ""
330
 
331
- #: subscribe2.php:2025 subscribe2.php:2510 subscribe2.php:2696
332
  msgid "HTML - Excerpt"
333
  msgstr ""
334
 
335
- #: subscribe2.php:2026 subscribe2.php:2515 subscribe2.php:2701
336
  msgid "Plain Text - Full"
337
  msgstr ""
338
 
339
- #: subscribe2.php:2027 subscribe2.php:2520 subscribe2.php:2706
340
  msgid "Plain Text - Excerpt"
341
  msgstr ""
342
 
343
- #: subscribe2.php:2028
344
  msgid "Bulk Update Format"
345
  msgstr ""
346
 
347
- #: subscribe2.php:2032
348
  msgid "Subscribe Selected Users to recieve a periodic digest notification"
349
  msgstr ""
350
 
351
- #: subscribe2.php:2034 subscribe2.php:2286 subscribe2.php:2298
352
- #: subscribe2.php:2309 subscribe2.php:2320 subscribe2.php:2483
353
- #: subscribe2.php:2494 subscribe2.php:2526 subscribe2.php:2542
354
- #: subscribe2.php:2714 subscribe2.php:2750
355
  msgid "Yes"
356
  msgstr ""
357
 
358
- #: subscribe2.php:2036 subscribe2.php:2291 subscribe2.php:2303
359
- #: subscribe2.php:2314 subscribe2.php:2325 subscribe2.php:2477
360
- #: subscribe2.php:2488 subscribe2.php:2499 subscribe2.php:2531
361
- #: subscribe2.php:2547 subscribe2.php:2568 subscribe2.php:2719
362
- #: subscribe2.php:2754
363
  msgid "No"
364
  msgstr ""
365
 
366
- #: subscribe2.php:2038
367
  msgid "Bulk Update Digest Subscription"
368
  msgstr ""
369
 
370
- #: subscribe2.php:2076
371
  msgid "Preview message(s) sent to logged in user"
372
  msgstr ""
373
 
374
- #: subscribe2.php:2080
375
  msgid ""
376
  "The Digest Notification email contained no post information. No email was "
377
  "sent"
378
  msgstr ""
379
 
380
- #: subscribe2.php:2082
381
  msgid "Attempt made to resend the Digest Notification email"
382
  msgstr ""
383
 
384
- #: subscribe2.php:2237
385
  msgid "Subscribe2 Settings"
386
  msgstr ""
387
 
388
- #: subscribe2.php:2238
389
  msgid "Plugin Blog"
390
  msgstr ""
391
 
392
- #: subscribe2.php:2239
393
  msgid "Make a donation via PayPal"
394
  msgstr ""
395
 
396
- #: subscribe2.php:2250 subscribe2.php:2674
397
  msgid "Notification Settings"
398
  msgstr ""
399
 
400
- #: subscribe2.php:2251
401
  msgid "Restrict the number of recipients per email to (0 for unlimited)"
402
  msgstr ""
403
 
404
- #: subscribe2.php:2253 subscribe2.php:2417
405
  msgid "Edit"
406
  msgstr ""
407
 
408
- #: subscribe2.php:2256 subscribe2.php:2420
409
  msgid "Update"
410
  msgstr ""
411
 
412
- #: subscribe2.php:2257 subscribe2.php:2421
413
  msgid "Revert"
414
  msgstr ""
415
 
416
- #: subscribe2.php:2259
417
  msgid "Send Admins notifications for new"
418
  msgstr ""
419
 
420
- #: subscribe2.php:2264
421
  msgid "Subscriptions"
422
  msgstr ""
423
 
424
- #: subscribe2.php:2269
425
  msgid "Unsubscriptions"
426
  msgstr ""
427
 
428
- #: subscribe2.php:2274
429
  msgid "Both"
430
  msgstr ""
431
 
432
- #: subscribe2.php:2279
433
  msgid "Neither"
434
  msgstr ""
435
 
436
- #: subscribe2.php:2281
437
  msgid "Include theme CSS stylesheet in HTML notifications"
438
  msgstr ""
439
 
440
- #: subscribe2.php:2293
441
  msgid "Send Emails for Pages"
442
  msgstr ""
443
 
444
- #: subscribe2.php:2304
445
  msgid "Send Emails for Password Protected Posts"
446
  msgstr ""
447
 
448
- #: subscribe2.php:2315
449
  msgid "Send Emails for Private Posts"
450
  msgstr ""
451
 
452
- #: subscribe2.php:2326
453
  msgid "Send Email From"
454
  msgstr ""
455
 
456
- #: subscribe2.php:2331
457
  msgid "Send Emails"
458
  msgstr ""
459
 
460
- #: subscribe2.php:2333
461
  msgid "For digest notifications, date order for posts is"
462
  msgstr ""
463
 
464
- #: subscribe2.php:2338
465
  msgid "Descending"
466
  msgstr ""
467
 
468
- #: subscribe2.php:2343
469
  msgid "Ascending"
470
  msgstr ""
471
 
472
- #: subscribe2.php:2347
473
  msgid "Email Templates"
474
  msgstr ""
475
 
476
- #: subscribe2.php:2351
477
  msgid "New Post email (must not be empty)"
478
  msgstr ""
479
 
480
- #: subscribe2.php:2352 subscribe2.php:2382 subscribe2.php:2387
481
  msgid "Subject Line"
482
  msgstr ""
483
 
484
- #: subscribe2.php:2357
485
  msgid "Send Email Preview"
486
  msgstr ""
487
 
488
- #: subscribe2.php:2358
489
  msgid "Message substitutions"
490
  msgstr ""
491
 
492
- #: subscribe2.php:2360
493
  msgid ""
494
  "IF THE FOLLOWING KEYWORDS ARE ALSO IN YOUR POST THEY WILL BE SUBSTITUTED"
495
  msgstr ""
496
 
497
- #: subscribe2.php:2363
498
  msgid "the post's title<br />(<i>for per-post emails only</i>)"
499
  msgstr ""
500
 
501
- #: subscribe2.php:2364
502
  msgid ""
503
  "the excerpt or the entire post<br />(<i>based on the subscriber's "
504
  "preferences</i>)"
505
  msgstr ""
506
 
507
- #: subscribe2.php:2365
508
  msgid ""
509
  "the excerpt of the post and the time it was posted<br />(<i>for digest "
510
  "emails only</i>)"
511
  msgstr ""
512
 
513
- #: subscribe2.php:2366
514
  msgid "a list of post titles<br />(<i>for digest emails only</i>)"
515
  msgstr ""
516
 
517
- #: subscribe2.php:2367
518
  msgid ""
519
  "a list of post titles followed by links to the atricles<br />(<i>for digest "
520
  "emails only</i>)"
521
  msgstr ""
522
 
523
- #: subscribe2.php:2368
524
  msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
525
  msgstr ""
526
 
527
- #: subscribe2.php:2369
528
  msgid ""
529
  "the post's permalink after conversion by TinyURL<br />(<i>for per-post "
530
  "emails only</i>)"
531
  msgstr ""
532
 
533
- #: subscribe2.php:2370
534
  msgid "the date the post was made<br />(<i>for per-post emails only</i>)"
535
  msgstr ""
536
 
537
- #: subscribe2.php:2371
538
  msgid "the time the post was made<br />(<i>for per-post emails only</i>)"
539
  msgstr ""
540
 
541
- #: subscribe2.php:2372
542
  msgid "the admin or post author's name"
543
  msgstr ""
544
 
545
- #: subscribe2.php:2373
546
  msgid "the admin or post author's email"
547
  msgstr ""
548
 
549
- #: subscribe2.php:2374
550
  msgid "the post author's name"
551
  msgstr ""
552
 
553
- #: subscribe2.php:2375
554
  msgid ""
555
  "the generated link to confirm a request<br />(<i>only used in the "
556
  "confirmation email template</i>)"
557
  msgstr ""
558
 
559
- #: subscribe2.php:2376
560
  msgid ""
561
  "Action performed by LINK in confirmation email<br />(<i>only used in the "
562
  "confirmation email template</i>)"
563
  msgstr ""
564
 
565
- #: subscribe2.php:2377
566
  msgid "the post's assigned categories"
567
  msgstr ""
568
 
569
- #: subscribe2.php:2378
570
  msgid "the post's assigned Tags"
571
  msgstr ""
572
 
573
- #: subscribe2.php:2379
574
  msgid ""
575
  "the number of posts included in the digest email<br />(<i>for digest emails "
576
  "only</i>)"
577
  msgstr ""
578
 
579
- #: subscribe2.php:2381
580
  msgid "Subscribe / Unsubscribe confirmation email"
581
  msgstr ""
582
 
583
- #: subscribe2.php:2386
584
  msgid "Reminder email to Unconfirmed Subscribers"
585
  msgstr ""
586
 
587
- #: subscribe2.php:2393
588
  msgid "Excluded Categories"
589
  msgstr ""
590
 
591
- #: subscribe2.php:2395
592
  msgid ""
593
  "Posts assigned to any Excluded Category do not generate notifications and "
594
  "are not included in digest notifications"
595
  msgstr ""
596
 
597
- #: subscribe2.php:2402
598
  msgid "Allow registered users to subscribe to excluded categories?"
599
  msgstr ""
600
 
601
- #: subscribe2.php:2405
602
  msgid "Appearance"
603
  msgstr ""
604
 
605
- #: subscribe2.php:2409
606
  msgid "Set default Subscribe2 page as ID"
607
  msgstr ""
608
 
609
- #: subscribe2.php:2415
610
  msgid "Set the number of Subscribers displayed per page"
611
  msgstr ""
612
 
613
- #: subscribe2.php:2428
614
  msgid "Show a link to your subscription page in \"meta\"?"
615
  msgstr ""
616
 
617
- #: subscribe2.php:2435
618
  msgid "Show the Subscribe2 button on the Write toolbar?"
619
  msgstr ""
620
 
621
- #: subscribe2.php:2442
622
  msgid "Enable Subscribe2 Widget?"
623
  msgstr ""
624
 
625
- #: subscribe2.php:2449
626
  msgid "Enable Subscribe2 Counter Widget?"
627
  msgstr ""
628
 
629
- #: subscribe2.php:2456
630
  msgid "Disable email notifications is checked by default on authoring pages?"
631
  msgstr ""
632
 
633
- #: subscribe2.php:2460
634
  msgid "Auto Subscribe"
635
  msgstr ""
636
 
637
- #: subscribe2.php:2462
638
  msgid "Subscribe new users registering with your blog"
639
  msgstr ""
640
 
641
- #: subscribe2.php:2467
642
  msgid "Automatically"
643
  msgstr ""
644
 
645
- #: subscribe2.php:2472
646
  msgid "Display option on Registration Form"
647
  msgstr ""
648
 
649
- #: subscribe2.php:2478
650
  msgid "Auto-subscribe includes any excluded categories"
651
  msgstr ""
652
 
653
- #: subscribe2.php:2489
654
  msgid "Registration Form option is checked by default"
655
  msgstr ""
656
 
657
- #: subscribe2.php:2500
658
  msgid "Auto-subscribe users to receive email as"
659
  msgstr ""
660
 
661
- #: subscribe2.php:2521
662
  msgid "Registered Users have the option to auto-subscribe to new categories"
663
  msgstr ""
664
 
665
- #: subscribe2.php:2536
666
  msgid "New categories are immediately excluded"
667
  msgstr ""
668
 
669
- #: subscribe2.php:2537
670
  msgid ""
671
  "Option for Registered Users to auto-subscribe to new categories is checked "
672
  "by default"
673
  msgstr ""
674
 
675
- #: subscribe2.php:2551
676
  msgid "Display checkbox to allow subscriptions from the comment form"
677
  msgstr ""
678
 
679
- #: subscribe2.php:2557
680
  msgid "Before the Comment Submit button"
681
  msgstr ""
682
 
683
- #: subscribe2.php:2563
684
  msgid "After the Comment Submit button"
685
  msgstr ""
686
 
687
- #: subscribe2.php:2573
688
  msgid "Barred Domains"
689
  msgstr ""
690
 
691
- #: subscribe2.php:2575
692
  msgid ""
693
  "Enter domains to bar from public subscriptions: <br /> (Use a new line for "
694
  "each entry and omit the \"@\" symbol, for example email.com)"
695
  msgstr ""
696
 
697
- #: subscribe2.php:2580
698
  msgid "Submit"
699
  msgstr ""
700
 
701
- #: subscribe2.php:2583
702
  msgid "Reset Default"
703
  msgstr ""
704
 
705
- #: subscribe2.php:2584
706
  msgid ""
707
  "Use this to reset all options to their defaults. This <strong><em>will not</"
708
  "em></strong> modify your list of subscribers."
709
  msgstr ""
710
 
711
- #: subscribe2.php:2586
712
  msgid "RESET"
713
  msgstr ""
714
 
715
- #: subscribe2.php:2668
716
  msgid "Subscription preferences updated."
717
  msgstr ""
718
 
719
- #: subscribe2.php:2677
720
  msgid "Editing Subscribe2 preferences for user"
721
  msgstr ""
722
 
723
- #: subscribe2.php:2686
724
  msgid "Receive email as"
725
  msgstr ""
726
 
727
- #: subscribe2.php:2709
728
  msgid "Automatically subscribe me to newly created categories"
729
  msgstr ""
730
 
731
- #: subscribe2.php:2730
732
  msgid "Unsubscribe me from this blog"
733
  msgstr ""
734
 
735
- #: subscribe2.php:2734
736
  msgid "Subscribe to all categories"
737
  msgstr ""
738
 
739
- #: subscribe2.php:2736
740
  msgid "Subscribed Categories on"
741
  msgstr ""
742
 
743
- #: subscribe2.php:2738
744
  msgid "Subscribed Categories"
745
  msgstr ""
746
 
747
- #: subscribe2.php:2744
748
  msgid "Receive periodic summaries of new posts?"
749
  msgstr ""
750
 
751
- #: subscribe2.php:2759
752
  msgid "Update Preferences"
753
  msgstr ""
754
 
755
- #: subscribe2.php:2809
756
  msgid "Subscribed Blogs"
757
  msgstr ""
758
 
759
- #: subscribe2.php:2814 subscribe2.php:2835
760
  msgid "Viewing Settings Now"
761
  msgstr ""
762
 
763
- #: subscribe2.php:2818 subscribe2.php:2839
764
  msgid "View Settings"
765
  msgstr ""
766
 
767
- #: subscribe2.php:2830
768
  msgid "Subscribe to new blogs"
769
  msgstr ""
770
 
771
- #: subscribe2.php:2906
772
  msgid "Send an email to subscribers"
773
  msgstr ""
774
 
775
- #: subscribe2.php:2914
776
  msgid "A message from"
777
  msgstr ""
778
 
779
- #: subscribe2.php:2919
780
  msgid "Subject"
781
  msgstr ""
782
 
783
- #: subscribe2.php:2922
784
  msgid "Recipients:"
785
  msgstr ""
786
 
787
- #: subscribe2.php:2926
788
  msgid "Preview"
789
  msgstr ""
790
 
791
- #: subscribe2.php:2926
792
  msgid "Send"
793
  msgstr ""
794
 
795
- #: subscribe2.php:3030
796
  msgid "All Users and Subscribers"
797
  msgstr ""
798
 
799
- #: subscribe2.php:3031
800
  msgid "Public Subscribers"
801
  msgstr ""
802
 
803
- #: subscribe2.php:3032
804
  msgid "Confirmed"
805
  msgstr ""
806
 
807
- #: subscribe2.php:3033
808
  msgid "Unconfirmed"
809
  msgstr ""
810
 
811
- #: subscribe2.php:3034
812
  msgid "All Registered Users"
813
  msgstr ""
814
 
815
- #: subscribe2.php:3035
816
  msgid "Registered Subscribers"
817
  msgstr ""
818
 
819
- #: subscribe2.php:3157
820
  msgid "For each Post"
821
  msgstr ""
822
 
823
- #: subscribe2.php:3174
824
  msgid "Send Digest Notification at"
825
  msgstr ""
826
 
827
- #: subscribe2.php:3186
828
  msgid ""
829
  "This option will be ignored if the time selected is not in the future in "
830
  "relation to the current time"
831
  msgstr ""
832
 
833
- #: subscribe2.php:3189
834
  msgid "Current UTC time is"
835
  msgstr ""
836
 
837
- #: subscribe2.php:3191
838
  msgid "Current blog time is"
839
  msgstr ""
840
 
841
- #: subscribe2.php:3193
842
  msgid "Next email notification will be sent when your blog time is after"
843
  msgstr ""
844
 
845
- #: subscribe2.php:3196
846
  msgid "Attempt to resend the last Digest Notification email"
847
  msgstr ""
848
 
849
- #: subscribe2.php:3197
850
  msgid "Resend Digest"
851
  msgstr ""
852
 
853
- #: subscribe2.php:3275
854
  msgid "Confirmed Public Subscriber"
855
  msgstr ""
856
 
857
- #: subscribe2.php:3277
858
  msgid "Unconfirmed Public Subscriber"
859
  msgstr ""
860
 
861
- #: subscribe2.php:3331
862
  msgid "Settings"
863
  msgstr ""
864
 
865
- #: subscribe2.php:3332
866
  msgid "Donate"
867
  msgstr ""
868
 
869
- #: subscribe2.php:3344
870
  msgid "Check here to Subscribe to email notifications for new posts"
871
  msgstr ""
872
 
873
- #: subscribe2.php:3353
874
  msgid ""
875
  "By registering with this blog you are also agreeing to receive email "
876
  "notifications for new posts but you can unsubscribe at anytime"
877
  msgstr ""
878
 
879
- #: subscribe2.php:3404 subscribe2.php:3405
880
  msgid "Subscribe2 Notification Override"
881
  msgstr ""
882
 
883
- #: subscribe2.php:3415
884
  msgid ""
885
  "Check here to disable sending of an email notification for this post/page"
886
  msgstr ""
887
 
888
- #: subscribe2.php:3450
889
  msgid "Check here to Subscribe to notifications for new posts"
890
  msgstr ""
891
 
892
- #: subscribe2.php:3525
893
  msgid "Your email:"
894
  msgstr ""
895
 
896
- #: subscribe2.php:3525
897
  msgid "Enter email address..."
898
  msgstr ""
899
 
900
- #: subscribe2.php:3633
901
  msgid "Subscription Confirmation"
902
  msgstr ""
903
 
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-09-08 20:28+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
24
  "%1$s or use an older version of %2$s."
25
  msgstr ""
26
 
27
+ #: subscribe2.php:43
28
  #, php-format
29
  msgid ""
30
  "This version of Subscribe2 requires WordPress Multisite 3.0 or greater. "
31
  "Please update %1$s or use an older version of %2$s."
32
  msgstr ""
33
 
34
+ #: subscribe2.php:78
35
  msgid "To manage your subscription options please"
36
  msgstr ""
37
 
38
+ #: subscribe2.php:78
39
  msgid "login"
40
  msgstr ""
41
 
42
+ #: subscribe2.php:80 subscribe2.php:89
43
  msgid "You may manage your subscription options from your"
44
  msgstr ""
45
 
46
+ #: subscribe2.php:80 subscribe2.php:89
47
  msgid "profile"
48
  msgstr ""
49
 
50
+ #: subscribe2.php:85 subscribe2.php:94 subscribe2.php:1916 subscribe2.php:2015
51
+ #: subscribe2.php:2839 subscribe2.php:3513 subscribe2.php:3516
52
  #: include/widget.php:96
53
  msgid "Subscribe"
54
  msgstr ""
55
 
56
+ #: subscribe2.php:85 subscribe2.php:94
57
  msgid "to email notifications when this blog posts new content"
58
  msgstr ""
59
 
60
+ #: subscribe2.php:98
61
  msgid "A confirmation message is on its way!"
62
  msgstr ""
63
 
64
+ #: subscribe2.php:100
65
  msgid "That email address is already subscribed."
66
  msgstr ""
67
 
68
+ #: subscribe2.php:102
69
  msgid "That email address is not subscribed."
70
  msgstr ""
71
 
72
+ #: subscribe2.php:104
73
  msgid "Sorry, but that does not look like an email address to me."
74
  msgstr ""
75
 
76
+ #: subscribe2.php:106
77
  msgid ""
78
  "Sorry, email addresses at that domain are currently barred due to spam, "
79
  "please use an alternative email address."
80
  msgstr ""
81
 
82
+ #: subscribe2.php:108
83
  msgid ""
84
  "Sorry, there seems to be an error on the server. Please try again later."
85
  msgstr ""
86
 
87
+ #: subscribe2.php:110
88
  msgid "You must to create a WordPress page for this plugin to work correctly."
89
  msgstr ""
90
 
91
+ #: subscribe2.php:112
92
  msgid "Message sent!"
93
  msgstr ""
94
 
95
+ #: subscribe2.php:114
96
  msgid ""
97
  "Message failed! Check your settings and check with your hosting provider"
98
  msgstr ""
99
 
100
+ #: subscribe2.php:117
101
  msgid "No such email address is registered."
102
  msgstr ""
103
 
104
+ #: subscribe2.php:119
105
  msgid "You have successfully subscribed!"
106
  msgstr ""
107
 
108
+ #: subscribe2.php:121
109
  msgid "You have successfully unsubscribed."
110
  msgstr ""
111
 
112
+ #: subscribe2.php:123
113
  msgid "subscribe"
114
  msgstr ""
115
 
116
+ #: subscribe2.php:125
117
  msgid "unsubscribe"
118
  msgstr ""
119
 
120
+ #: subscribe2.php:128
121
  msgid "Options saved!"
122
  msgstr ""
123
 
124
+ #: subscribe2.php:129
125
  msgid "Options reset!"
126
  msgstr ""
127
 
128
+ #: subscribe2.php:137
129
  msgid "Subscribers"
130
  msgstr ""
131
 
132
+ #: subscribe2.php:140
133
  msgid "Subscribe2 Options"
134
  msgstr ""
135
 
136
+ #: subscribe2.php:140 subscribe2.php:3716 include/widget.php:17
137
  msgid "Subscribe2"
138
  msgstr ""
139
 
140
+ #: subscribe2.php:145
141
  msgid "Your Subscriptions"
142
  msgstr ""
143
 
144
+ #: subscribe2.php:149
145
  msgid "Mail Subscribers"
146
  msgstr ""
147
 
148
+ #: subscribe2.php:695
149
  msgid "Plain Text Excerpt Preview"
150
  msgstr ""
151
 
152
+ #: subscribe2.php:697
153
  msgid "Plain Text Full Preview"
154
  msgstr ""
155
 
156
+ #: subscribe2.php:699
157
  msgid "HTML Excerpt Preview"
158
  msgstr ""
159
 
160
+ #: subscribe2.php:701
161
  msgid "HTML Full Preview"
162
  msgstr ""
163
 
164
+ #: subscribe2.php:953
165
  msgid "New Subscription"
166
  msgstr ""
167
 
168
+ #: subscribe2.php:955
169
  msgid "subscribed to email notifications!"
170
  msgstr ""
171
 
172
+ #: subscribe2.php:991
173
  msgid "New Unsubscription"
174
  msgstr ""
175
 
176
+ #: subscribe2.php:993
177
  msgid "unsubscribed from email notifications!"
178
  msgstr ""
179
 
180
+ #: subscribe2.php:1724
181
  msgid "Address(es) subscribed!"
182
  msgstr ""
183
 
184
+ #: subscribe2.php:1731
185
  msgid "Address(es) unsubscribed!"
186
  msgstr ""
187
 
188
+ #: subscribe2.php:1735
189
  msgid "Some emails were not processed, the following were already subscribed"
190
  msgstr ""
191
 
192
+ #: subscribe2.php:1738
193
  msgid "Some emails were not processed, the following were not in the database"
194
  msgstr ""
195
 
196
+ #: subscribe2.php:1747
197
  msgid "Address(es) deleted!"
198
  msgstr ""
199
 
200
+ #: subscribe2.php:1753 subscribe2.php:1759
201
  msgid "Status changed!"
202
  msgstr ""
203
 
204
+ #: subscribe2.php:1773
205
  msgid "Reminder Email(s) Sent!"
206
  msgstr ""
207
 
208
+ #: subscribe2.php:1776
209
  msgid "Registered Users Subscribed!"
210
  msgstr ""
211
 
212
+ #: subscribe2.php:1779
213
  msgid "Registered Users Unsubscribed!"
214
  msgstr ""
215
 
216
+ #: subscribe2.php:1782
217
  msgid "Format updated for Selected Registered Users!"
218
  msgstr ""
219
 
220
+ #: subscribe2.php:1785
221
  msgid "Digest Subscription updated for Selected Registered Users!"
222
  msgstr ""
223
 
224
+ #: subscribe2.php:1880
225
  msgid "Previous Page"
226
  msgstr ""
227
 
228
+ #: subscribe2.php:1900
229
  msgid "Next Page"
230
  msgstr ""
231
 
232
+ #: subscribe2.php:1907
233
  msgid "Manage Subscribers"
234
  msgstr ""
235
 
236
+ #: subscribe2.php:1912
237
  msgid "Add/Remove Subscribers"
238
  msgstr ""
239
 
240
+ #: subscribe2.php:1913
241
  msgid "Enter addresses, one per line or comma-separated"
242
  msgstr ""
243
 
244
+ #: subscribe2.php:1917 subscribe2.php:2016 subscribe2.php:2818
245
+ #: subscribe2.php:3511 subscribe2.php:3516 include/widget.php:96
246
  msgid "Unsubscribe"
247
  msgstr ""
248
 
249
+ #: subscribe2.php:1920
250
  msgid "Current Subscribers"
251
  msgstr ""
252
 
253
+ #: subscribe2.php:1922
254
  msgid "Filter"
255
  msgstr ""
256
 
257
+ #: subscribe2.php:1928
258
  msgid "Search Subscribers"
259
  msgstr ""
260
 
261
+ #: subscribe2.php:1931
262
  msgid "Send Reminder Email"
263
  msgstr ""
264
 
265
+ #: subscribe2.php:1938
266
  msgid "Save Emails to CSV File"
267
  msgstr ""
268
 
269
+ #: subscribe2.php:1944 subscribe2.php:2002
270
  msgid "Process"
271
  msgstr ""
272
 
273
+ #: subscribe2.php:1957 subscribe2.php:1979
274
  msgid "Confirm this email address"
275
  msgstr ""
276
 
277
+ #: subscribe2.php:1959 subscribe2.php:1972
278
  msgid "Unconfirm this email address"
279
  msgstr ""
280
 
281
+ #: subscribe2.php:1961 subscribe2.php:1974 subscribe2.php:1982
282
  msgid "Delete this email address"
283
  msgstr ""
284
 
285
+ #: subscribe2.php:1965 subscribe2.php:2983
286
  msgid "Select / Unselect All"
287
  msgstr ""
288
 
289
+ #: subscribe2.php:1989
290
  msgid "edit"
291
  msgstr ""
292
 
293
+ #: subscribe2.php:1996
294
  msgid "No matching subscribers found"
295
  msgstr ""
296
 
297
+ #: subscribe2.php:1998
298
  msgid "NONE"
299
  msgstr ""
300
 
301
+ #: subscribe2.php:2010
302
  msgid "Bulk Management"
303
  msgstr ""
304
 
305
+ #: subscribe2.php:2012 subscribe2.php:2028
306
  msgid ""
307
  "Preferences for Registered Users selected in the filter above can be changed "
308
  "using this section."
309
  msgstr ""
310
 
311
+ #: subscribe2.php:2013 subscribe2.php:2029
312
  msgid "Consider User Privacy as changes cannot be undone"
313
  msgstr ""
314
 
315
+ #: subscribe2.php:2014
316
  msgid "Action to perform"
317
  msgstr ""
318
 
319
+ #: subscribe2.php:2019
320
  msgid "Bulk Update Categories"
321
  msgstr ""
322
 
323
+ #: subscribe2.php:2021
324
  msgid "Send email as"
325
  msgstr ""
326
 
327
+ #: subscribe2.php:2022 subscribe2.php:2503 subscribe2.php:2689
328
  msgid "HTML - Full"
329
  msgstr ""
330
 
331
+ #: subscribe2.php:2023 subscribe2.php:2508 subscribe2.php:2694
332
  msgid "HTML - Excerpt"
333
  msgstr ""
334
 
335
+ #: subscribe2.php:2024 subscribe2.php:2513 subscribe2.php:2699
336
  msgid "Plain Text - Full"
337
  msgstr ""
338
 
339
+ #: subscribe2.php:2025 subscribe2.php:2518 subscribe2.php:2704
340
  msgid "Plain Text - Excerpt"
341
  msgstr ""
342
 
343
+ #: subscribe2.php:2026
344
  msgid "Bulk Update Format"
345
  msgstr ""
346
 
347
+ #: subscribe2.php:2030
348
  msgid "Subscribe Selected Users to recieve a periodic digest notification"
349
  msgstr ""
350
 
351
+ #: subscribe2.php:2032 subscribe2.php:2284 subscribe2.php:2296
352
+ #: subscribe2.php:2307 subscribe2.php:2318 subscribe2.php:2481
353
+ #: subscribe2.php:2492 subscribe2.php:2524 subscribe2.php:2540
354
+ #: subscribe2.php:2712 subscribe2.php:2748
355
  msgid "Yes"
356
  msgstr ""
357
 
358
+ #: subscribe2.php:2034 subscribe2.php:2289 subscribe2.php:2301
359
+ #: subscribe2.php:2312 subscribe2.php:2323 subscribe2.php:2475
360
+ #: subscribe2.php:2486 subscribe2.php:2497 subscribe2.php:2529
361
+ #: subscribe2.php:2545 subscribe2.php:2566 subscribe2.php:2717
362
+ #: subscribe2.php:2752
363
  msgid "No"
364
  msgstr ""
365
 
366
+ #: subscribe2.php:2036
367
  msgid "Bulk Update Digest Subscription"
368
  msgstr ""
369
 
370
+ #: subscribe2.php:2074
371
  msgid "Preview message(s) sent to logged in user"
372
  msgstr ""
373
 
374
+ #: subscribe2.php:2078
375
  msgid ""
376
  "The Digest Notification email contained no post information. No email was "
377
  "sent"
378
  msgstr ""
379
 
380
+ #: subscribe2.php:2080
381
  msgid "Attempt made to resend the Digest Notification email"
382
  msgstr ""
383
 
384
+ #: subscribe2.php:2235
385
  msgid "Subscribe2 Settings"
386
  msgstr ""
387
 
388
+ #: subscribe2.php:2236
389
  msgid "Plugin Blog"
390
  msgstr ""
391
 
392
+ #: subscribe2.php:2237
393
  msgid "Make a donation via PayPal"
394
  msgstr ""
395
 
396
+ #: subscribe2.php:2248 subscribe2.php:2672
397
  msgid "Notification Settings"
398
  msgstr ""
399
 
400
+ #: subscribe2.php:2249
401
  msgid "Restrict the number of recipients per email to (0 for unlimited)"
402
  msgstr ""
403
 
404
+ #: subscribe2.php:2251 subscribe2.php:2415
405
  msgid "Edit"
406
  msgstr ""
407
 
408
+ #: subscribe2.php:2254 subscribe2.php:2418
409
  msgid "Update"
410
  msgstr ""
411
 
412
+ #: subscribe2.php:2255 subscribe2.php:2419
413
  msgid "Revert"
414
  msgstr ""
415
 
416
+ #: subscribe2.php:2257
417
  msgid "Send Admins notifications for new"
418
  msgstr ""
419
 
420
+ #: subscribe2.php:2262
421
  msgid "Subscriptions"
422
  msgstr ""
423
 
424
+ #: subscribe2.php:2267
425
  msgid "Unsubscriptions"
426
  msgstr ""
427
 
428
+ #: subscribe2.php:2272
429
  msgid "Both"
430
  msgstr ""
431
 
432
+ #: subscribe2.php:2277
433
  msgid "Neither"
434
  msgstr ""
435
 
436
+ #: subscribe2.php:2279
437
  msgid "Include theme CSS stylesheet in HTML notifications"
438
  msgstr ""
439
 
440
+ #: subscribe2.php:2291
441
  msgid "Send Emails for Pages"
442
  msgstr ""
443
 
444
+ #: subscribe2.php:2302
445
  msgid "Send Emails for Password Protected Posts"
446
  msgstr ""
447
 
448
+ #: subscribe2.php:2313
449
  msgid "Send Emails for Private Posts"
450
  msgstr ""
451
 
452
+ #: subscribe2.php:2324
453
  msgid "Send Email From"
454
  msgstr ""
455
 
456
+ #: subscribe2.php:2329
457
  msgid "Send Emails"
458
  msgstr ""
459
 
460
+ #: subscribe2.php:2331
461
  msgid "For digest notifications, date order for posts is"
462
  msgstr ""
463
 
464
+ #: subscribe2.php:2336
465
  msgid "Descending"
466
  msgstr ""
467
 
468
+ #: subscribe2.php:2341
469
  msgid "Ascending"
470
  msgstr ""
471
 
472
+ #: subscribe2.php:2345
473
  msgid "Email Templates"
474
  msgstr ""
475
 
476
+ #: subscribe2.php:2349
477
  msgid "New Post email (must not be empty)"
478
  msgstr ""
479
 
480
+ #: subscribe2.php:2350 subscribe2.php:2380 subscribe2.php:2385
481
  msgid "Subject Line"
482
  msgstr ""
483
 
484
+ #: subscribe2.php:2355
485
  msgid "Send Email Preview"
486
  msgstr ""
487
 
488
+ #: subscribe2.php:2356
489
  msgid "Message substitutions"
490
  msgstr ""
491
 
492
+ #: subscribe2.php:2358
493
  msgid ""
494
  "IF THE FOLLOWING KEYWORDS ARE ALSO IN YOUR POST THEY WILL BE SUBSTITUTED"
495
  msgstr ""
496
 
497
+ #: subscribe2.php:2361
498
  msgid "the post's title<br />(<i>for per-post emails only</i>)"
499
  msgstr ""
500
 
501
+ #: subscribe2.php:2362
502
  msgid ""
503
  "the excerpt or the entire post<br />(<i>based on the subscriber's "
504
  "preferences</i>)"
505
  msgstr ""
506
 
507
+ #: subscribe2.php:2363
508
  msgid ""
509
  "the excerpt of the post and the time it was posted<br />(<i>for digest "
510
  "emails only</i>)"
511
  msgstr ""
512
 
513
+ #: subscribe2.php:2364
514
  msgid "a list of post titles<br />(<i>for digest emails only</i>)"
515
  msgstr ""
516
 
517
+ #: subscribe2.php:2365
518
  msgid ""
519
  "a list of post titles followed by links to the atricles<br />(<i>for digest "
520
  "emails only</i>)"
521
  msgstr ""
522
 
523
+ #: subscribe2.php:2366
524
  msgid "the post's permalink<br />(<i>for per-post emails only</i>)"
525
  msgstr ""
526
 
527
+ #: subscribe2.php:2367
528
  msgid ""
529
  "the post's permalink after conversion by TinyURL<br />(<i>for per-post "
530
  "emails only</i>)"
531
  msgstr ""
532
 
533
+ #: subscribe2.php:2368
534
  msgid "the date the post was made<br />(<i>for per-post emails only</i>)"
535
  msgstr ""
536
 
537
+ #: subscribe2.php:2369
538
  msgid "the time the post was made<br />(<i>for per-post emails only</i>)"
539
  msgstr ""
540
 
541
+ #: subscribe2.php:2370
542
  msgid "the admin or post author's name"
543
  msgstr ""
544
 
545
+ #: subscribe2.php:2371
546
  msgid "the admin or post author's email"
547
  msgstr ""
548
 
549
+ #: subscribe2.php:2372
550
  msgid "the post author's name"
551
  msgstr ""
552
 
553
+ #: subscribe2.php:2373
554
  msgid ""
555
  "the generated link to confirm a request<br />(<i>only used in the "
556
  "confirmation email template</i>)"
557
  msgstr ""
558
 
559
+ #: subscribe2.php:2374
560
  msgid ""
561
  "Action performed by LINK in confirmation email<br />(<i>only used in the "
562
  "confirmation email template</i>)"
563
  msgstr ""
564
 
565
+ #: subscribe2.php:2375
566
  msgid "the post's assigned categories"
567
  msgstr ""
568
 
569
+ #: subscribe2.php:2376
570
  msgid "the post's assigned Tags"
571
  msgstr ""
572
 
573
+ #: subscribe2.php:2377
574
  msgid ""
575
  "the number of posts included in the digest email<br />(<i>for digest emails "
576
  "only</i>)"
577
  msgstr ""
578
 
579
+ #: subscribe2.php:2379
580
  msgid "Subscribe / Unsubscribe confirmation email"
581
  msgstr ""
582
 
583
+ #: subscribe2.php:2384
584
  msgid "Reminder email to Unconfirmed Subscribers"
585
  msgstr ""
586
 
587
+ #: subscribe2.php:2391
588
  msgid "Excluded Categories"
589
  msgstr ""
590
 
591
+ #: subscribe2.php:2393
592
  msgid ""
593
  "Posts assigned to any Excluded Category do not generate notifications and "
594
  "are not included in digest notifications"
595
  msgstr ""
596
 
597
+ #: subscribe2.php:2400
598
  msgid "Allow registered users to subscribe to excluded categories?"
599
  msgstr ""
600
 
601
+ #: subscribe2.php:2403
602
  msgid "Appearance"
603
  msgstr ""
604
 
605
+ #: subscribe2.php:2407
606
  msgid "Set default Subscribe2 page as ID"
607
  msgstr ""
608
 
609
+ #: subscribe2.php:2413
610
  msgid "Set the number of Subscribers displayed per page"
611
  msgstr ""
612
 
613
+ #: subscribe2.php:2426
614
  msgid "Show a link to your subscription page in \"meta\"?"
615
  msgstr ""
616
 
617
+ #: subscribe2.php:2433
618
  msgid "Show the Subscribe2 button on the Write toolbar?"
619
  msgstr ""
620
 
621
+ #: subscribe2.php:2440
622
  msgid "Enable Subscribe2 Widget?"
623
  msgstr ""
624
 
625
+ #: subscribe2.php:2447
626
  msgid "Enable Subscribe2 Counter Widget?"
627
  msgstr ""
628
 
629
+ #: subscribe2.php:2454
630
  msgid "Disable email notifications is checked by default on authoring pages?"
631
  msgstr ""
632
 
633
+ #: subscribe2.php:2458
634
  msgid "Auto Subscribe"
635
  msgstr ""
636
 
637
+ #: subscribe2.php:2460
638
  msgid "Subscribe new users registering with your blog"
639
  msgstr ""
640
 
641
+ #: subscribe2.php:2465
642
  msgid "Automatically"
643
  msgstr ""
644
 
645
+ #: subscribe2.php:2470
646
  msgid "Display option on Registration Form"
647
  msgstr ""
648
 
649
+ #: subscribe2.php:2476
650
  msgid "Auto-subscribe includes any excluded categories"
651
  msgstr ""
652
 
653
+ #: subscribe2.php:2487
654
  msgid "Registration Form option is checked by default"
655
  msgstr ""
656
 
657
+ #: subscribe2.php:2498
658
  msgid "Auto-subscribe users to receive email as"
659
  msgstr ""
660
 
661
+ #: subscribe2.php:2519
662
  msgid "Registered Users have the option to auto-subscribe to new categories"
663
  msgstr ""
664
 
665
+ #: subscribe2.php:2534
666
  msgid "New categories are immediately excluded"
667
  msgstr ""
668
 
669
+ #: subscribe2.php:2535
670
  msgid ""
671
  "Option for Registered Users to auto-subscribe to new categories is checked "
672
  "by default"
673
  msgstr ""
674
 
675
+ #: subscribe2.php:2549
676
  msgid "Display checkbox to allow subscriptions from the comment form"
677
  msgstr ""
678
 
679
+ #: subscribe2.php:2555
680
  msgid "Before the Comment Submit button"
681
  msgstr ""
682
 
683
+ #: subscribe2.php:2561
684
  msgid "After the Comment Submit button"
685
  msgstr ""
686
 
687
+ #: subscribe2.php:2571
688
  msgid "Barred Domains"
689
  msgstr ""
690
 
691
+ #: subscribe2.php:2573
692
  msgid ""
693
  "Enter domains to bar from public subscriptions: <br /> (Use a new line for "
694
  "each entry and omit the \"@\" symbol, for example email.com)"
695
  msgstr ""
696
 
697
+ #: subscribe2.php:2578
698
  msgid "Submit"
699
  msgstr ""
700
 
701
+ #: subscribe2.php:2581
702
  msgid "Reset Default"
703
  msgstr ""
704
 
705
+ #: subscribe2.php:2582
706
  msgid ""
707
  "Use this to reset all options to their defaults. This <strong><em>will not</"
708
  "em></strong> modify your list of subscribers."
709
  msgstr ""
710
 
711
+ #: subscribe2.php:2584
712
  msgid "RESET"
713
  msgstr ""
714
 
715
+ #: subscribe2.php:2666
716
  msgid "Subscription preferences updated."
717
  msgstr ""
718
 
719
+ #: subscribe2.php:2675
720
  msgid "Editing Subscribe2 preferences for user"
721
  msgstr ""
722
 
723
+ #: subscribe2.php:2684
724
  msgid "Receive email as"
725
  msgstr ""
726
 
727
+ #: subscribe2.php:2707
728
  msgid "Automatically subscribe me to newly created categories"
729
  msgstr ""
730
 
731
+ #: subscribe2.php:2728
732
  msgid "Unsubscribe me from this blog"
733
  msgstr ""
734
 
735
+ #: subscribe2.php:2732
736
  msgid "Subscribe to all categories"
737
  msgstr ""
738
 
739
+ #: subscribe2.php:2734
740
  msgid "Subscribed Categories on"
741
  msgstr ""
742
 
743
+ #: subscribe2.php:2736
744
  msgid "Subscribed Categories"
745
  msgstr ""
746
 
747
+ #: subscribe2.php:2742
748
  msgid "Receive periodic summaries of new posts?"
749
  msgstr ""
750
 
751
+ #: subscribe2.php:2757
752
  msgid "Update Preferences"
753
  msgstr ""
754
 
755
+ #: subscribe2.php:2807
756
  msgid "Subscribed Blogs"
757
  msgstr ""
758
 
759
+ #: subscribe2.php:2812 subscribe2.php:2833
760
  msgid "Viewing Settings Now"
761
  msgstr ""
762
 
763
+ #: subscribe2.php:2816 subscribe2.php:2837
764
  msgid "View Settings"
765
  msgstr ""
766
 
767
+ #: subscribe2.php:2828
768
  msgid "Subscribe to new blogs"
769
  msgstr ""
770
 
771
+ #: subscribe2.php:2904
772
  msgid "Send an email to subscribers"
773
  msgstr ""
774
 
775
+ #: subscribe2.php:2912
776
  msgid "A message from"
777
  msgstr ""
778
 
779
+ #: subscribe2.php:2917
780
  msgid "Subject"
781
  msgstr ""
782
 
783
+ #: subscribe2.php:2920
784
  msgid "Recipients:"
785
  msgstr ""
786
 
787
+ #: subscribe2.php:2924
788
  msgid "Preview"
789
  msgstr ""
790
 
791
+ #: subscribe2.php:2924
792
  msgid "Send"
793
  msgstr ""
794
 
795
+ #: subscribe2.php:3028
796
  msgid "All Users and Subscribers"
797
  msgstr ""
798
 
799
+ #: subscribe2.php:3029
800
  msgid "Public Subscribers"
801
  msgstr ""
802
 
803
+ #: subscribe2.php:3030
804
  msgid "Confirmed"
805
  msgstr ""
806
 
807
+ #: subscribe2.php:3031
808
  msgid "Unconfirmed"
809
  msgstr ""
810
 
811
+ #: subscribe2.php:3032
812
  msgid "All Registered Users"
813
  msgstr ""
814
 
815
+ #: subscribe2.php:3033
816
  msgid "Registered Subscribers"
817
  msgstr ""
818
 
819
+ #: subscribe2.php:3155
820
  msgid "For each Post"
821
  msgstr ""
822
 
823
+ #: subscribe2.php:3172
824
  msgid "Send Digest Notification at"
825
  msgstr ""
826
 
827
+ #: subscribe2.php:3184
828
  msgid ""
829
  "This option will be ignored if the time selected is not in the future in "
830
  "relation to the current time"
831
  msgstr ""
832
 
833
+ #: subscribe2.php:3187
834
  msgid "Current UTC time is"
835
  msgstr ""
836
 
837
+ #: subscribe2.php:3189
838
  msgid "Current blog time is"
839
  msgstr ""
840
 
841
+ #: subscribe2.php:3191
842
  msgid "Next email notification will be sent when your blog time is after"
843
  msgstr ""
844
 
845
+ #: subscribe2.php:3194
846
  msgid "Attempt to resend the last Digest Notification email"
847
  msgstr ""
848
 
849
+ #: subscribe2.php:3195
850
  msgid "Resend Digest"
851
  msgstr ""
852
 
853
+ #: subscribe2.php:3273
854
  msgid "Confirmed Public Subscriber"
855
  msgstr ""
856
 
857
+ #: subscribe2.php:3275
858
  msgid "Unconfirmed Public Subscriber"
859
  msgstr ""
860
 
861
+ #: subscribe2.php:3329
862
  msgid "Settings"
863
  msgstr ""
864
 
865
+ #: subscribe2.php:3330
866
  msgid "Donate"
867
  msgstr ""
868
 
869
+ #: subscribe2.php:3342
870
  msgid "Check here to Subscribe to email notifications for new posts"
871
  msgstr ""
872
 
873
+ #: subscribe2.php:3351
874
  msgid ""
875
  "By registering with this blog you are also agreeing to receive email "
876
  "notifications for new posts but you can unsubscribe at anytime"
877
  msgstr ""
878
 
879
+ #: subscribe2.php:3402 subscribe2.php:3403
880
  msgid "Subscribe2 Notification Override"
881
  msgstr ""
882
 
883
+ #: subscribe2.php:3413
884
  msgid ""
885
  "Check here to disable sending of an email notification for this post/page"
886
  msgstr ""
887
 
888
+ #: subscribe2.php:3448
889
  msgid "Check here to Subscribe to notifications for new posts"
890
  msgstr ""
891
 
892
+ #: subscribe2.php:3523
893
  msgid "Your email:"
894
  msgstr ""
895
 
896
+ #: subscribe2.php:3523
897
  msgid "Enter email address..."
898
  msgstr ""
899
 
900
+ #: subscribe2.php:3631
901
  msgid "Subscription Confirmation"
902
  msgstr ""
903
 
uninstall.php CHANGED
@@ -1,8 +1,9 @@
1
  <?php
2
  if( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
 
3
  exit();
4
  } else {
5
- global $wpdb, $table_prefix, $mysubscribe2;
6
  // get name of subscribe2 table
7
  $public = $table_prefix . "subscribe2";
8
  // delete entry from wp_options table
@@ -12,20 +13,15 @@ if( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
12
  // remove and scheduled events
13
  wp_clear_scheduled_hook('s2_digest_cron');
14
  // delete usermeta data for registered users
15
- $users = $wpdb->get_col("SELECT ID FROM $wpdb->users");
16
- if ( !empty($users) ) {
17
- foreach ( $users as $user_ID ) {
18
- $cats = explode(',', $mysubscribe2->get_user_meta($user_ID, $mysubscribe2->get_usermeta_keyname('s2_subscribed')));
19
- if ($cats) {
20
- foreach ($cats as $cat) {
21
- $mysubscribe2->delete_user_meta($user_ID, $this->get_usermeta_keyname('s2_cat') . $cat);
22
- }
23
- }
24
- $mysubscribe2->delete_user_meta($user_ID, $mysubscribe2->get_usermeta_keyname('s2_subscribed'));
25
- $mysubscribe2->delete_user_meta($user_ID, $mysubscribe2->get_usermeta_keyname('s2_format'));
26
- $mysubscribe2->delete_user_meta($user_ID, $mysubscribe2->get_usermeta_keyname('s2_autosub'));
27
- }
28
- }
29
  // drop the subscribe2 table
30
  $sql = "DROP TABLE IF EXISTS `" . $public . "`";
31
  $wpdb->query($sql);
1
  <?php
2
  if( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
3
+ // Make sure not to call this file directly
4
  exit();
5
  } else {
6
+ global $wpdb, $table_prefix;
7
  // get name of subscribe2 table
8
  $public = $table_prefix . "subscribe2";
9
  // delete entry from wp_options table
13
  // remove and scheduled events
14
  wp_clear_scheduled_hook('s2_digest_cron');
15
  // delete usermeta data for registered users
16
+ // use LIKE and % wildcard as meta_key names are prepended on WPMU
17
+ // and s2_cat is appended with category ID integer
18
+ $wpdb->query("DELETE from $wpdb->usermeta WHERE meta_key LIKE '%s2_cat%'");
19
+ $wpdb->query("DELETE from $wpdb->usermeta WHERE meta_key LIKE '%s2_subscribed'");
20
+ $wpdb->query("DELETE from $wpdb->usermeta WHERE meta_key LIKE '%s2_format'");
21
+ $wpdb->query("DELETE from $wpdb->usermeta WHERE meta_key LIKE '%s2_autosub'");
22
+ // delete any postmeta data that supressed notifications
23
+ $wpdb->query("DELETE from $wpdb->postmeta WHERE meta_key = 's2mail'");
24
+
 
 
 
 
 
25
  // drop the subscribe2 table
26
  $sql = "DROP TABLE IF EXISTS `" . $public . "`";
27
  $wpdb->query($sql);