Stop Spammers - Version 7.0.6

Version Description

  • fixed issue with menu icon
  • removed debug submission form (not needed)
  • added link to new FAQs (https://github.com/bhadaway/stop-spammers/wiki/faqs)
Download this release

Release Info

Developer bhadaway
Plugin Icon 128x128 Stop Spammers
Version 7.0.6
Comparing to
See all releases

Code changes from version 7.0.5 to 7.0.6

css/admin.css CHANGED
@@ -1,6 +1,6 @@
1
  .green{color:#4aa863}
2
 
3
- #toplevel_page_stop_spammers .wp-menu-image img{max-height:20px;padding:7px 0 0}
4
 
5
  #ss-plugin *{box-sizing:border-box}
6
 
@@ -12,6 +12,8 @@
12
 
13
  #ss-plugin fieldset{width:100%;padding:15px;border:1px solid #4aa863;margin:30px 0 0}
14
 
 
 
15
  #ss-plugin td{padding:10px}
16
 
17
  #ss-plugin .stat-box{padding:5px 10px;border:1px solid #4aa863;margin:5px;float:left}
1
  .green{color:#4aa863}
2
 
3
+ #toplevel_page_stop_spammers .wp-menu-image img, #oam_toplevel_page_stop_spammers .wp-menu-image{max-height:20px;padding:7px 0 0}
4
 
5
  #ss-plugin *{box-sizing:border-box}
6
 
12
 
13
  #ss-plugin fieldset{width:100%;padding:15px;border:1px solid #4aa863;margin:30px 0 0}
14
 
15
+ #ss-plugin .phpinfodisplay table{width:100%}
16
+
17
  #ss-plugin td{padding:10px}
18
 
19
  #ss-plugin .stat-box{padding:5px 10px;border:1px solid #4aa863;margin:5px;float:left}
readme.txt CHANGED
@@ -23,6 +23,8 @@ In cases where spam is detected, users are offered a second chance to post their
23
 
24
  ***If you also love this plugin and want to see it live on, you can help me maintain it [on GitHub](https://github.com/bhadaway/stop-spammers).***
25
 
 
 
26
  == Installation ==
27
 
28
  Go to "Add New" from your WP admin menu, search for Stop Spammers, and install.
@@ -36,6 +38,11 @@ OR
36
 
37
  == Changelog ==
38
 
 
 
 
 
 
39
  = 7.0.5 =
40
  * fixed SFS reporting
41
 
23
 
24
  ***If you also love this plugin and want to see it live on, you can help me maintain it [on GitHub](https://github.com/bhadaway/stop-spammers).***
25
 
26
+ ***Need help? Read the [FAQs page](https://github.com/bhadaway/stop-spammers/wiki/faqs) first.***
27
+
28
  == Installation ==
29
 
30
  Go to "Add New" from your WP admin menu, search for Stop Spammers, and install.
38
 
39
  == Changelog ==
40
 
41
+ = 7.0.6 =
42
+ * fixed issue with menu icon
43
+ * removed debug submission form (not needed)
44
+ * added link to new FAQs (https://github.com/bhadaway/stop-spammers/wiki/faqs)
45
+
46
  = 7.0.5 =
47
  * fixed SFS reporting
48
 
settings/ss_diagnostics.php CHANGED
@@ -164,6 +164,7 @@ echo "<br />Memory used, peak: $m1, $m2<br />";
164
  }
165
  ?>
166
  </fieldset>
 
167
  <div style="width:50%;float:left">
168
  <h2>Display All Options</h2>
169
  <p>You can dump all options here (useful for debugging): </p>
@@ -236,30 +237,11 @@ $to=get_option('admin_email');
236
  $f=file_get_contents($dfile);
237
  $ff=wordwrap($f,70,"\r\n");
238
  ?>
239
- <p>The plugin displays a log of errors that it has found.
240
- It appears that you have generated some errors.
241
- You can use this to debug problems or notify the plugin author that the plugin has problems on your system.</p>
242
- <fieldset>
243
- <legend><span style="font-weight:bold;font-size:1.2em">Send Debug Report</span></legend>
244
- <p>This is an email form and should bring up your email client when clicked. If it doesn't you can copy the report
245
- information and paste it into an email message and send to bhadaway@gmail.com. This form will not work
246
- with all browsers and configurations.</p>
247
- <form method="get" target="_blank" action="mailto:bhadaway@gmail.com">
248
- <input type="hidden" name="subject" value="Debug Report">
249
- <table>
250
- <tr><td>From:</td><td><input type="text" name="from" value="<?php echo $to; ?>"></td></tr>
251
- <tr><td>Log File:</td><td><textarea rows="12" cols="71" name="body"><?php echo $ff; ?></textarea></td></tr>
252
- </table>
253
- <input type="submit" value="Send"><br />
254
- <p><em>(If pressing enter does nothing, either your email client cannot handle the form submit, or the log file is too big. If
255
- this is the case, you will have to copy the log file and paste it into an email to bhadaway@gmail.com.)</em></p>
256
- </form>
257
- </fieldset>
258
  <?php
259
  if (array_key_exists('ss_stop_spammers_control',$_POST)) $nonce=$_POST['ss_stop_spammers_control'];
260
  if (!empty($nonce) && wp_verify_nonce($nonce,'ss_stopspam_update')) {
261
  if (array_key_exists('showdebug',$_POST)) {
262
- echo "<h3>debug output</h3><pre>$f</pre><h3>end of file</h3>";
263
  }
264
  }
265
  $nonce=wp_create_nonce('ss_stopspam_update');
@@ -278,7 +260,7 @@ $nonce=wp_create_nonce('ss_stopspam_update');
278
  <p class="submit"><input class="button-primary" name="killdebug" value="Delete Debug File" type="submit" /></p>
279
  </form>
280
  </div>
281
- <br style="clear:both" />
282
  <?php
283
  }
284
  $ini='';
@@ -292,7 +274,7 @@ $pinf=false;
292
  }
293
  if ($pinf) {
294
  ?>
295
- <a href="" onclick="document.getElementById('shpinf').style.display='block';return false;">Show phpinfo</a>
296
  <?php
297
  ob_start();
298
  phpinfo();
164
  }
165
  ?>
166
  </fieldset>
167
+ <br />
168
  <div style="width:50%;float:left">
169
  <h2>Display All Options</h2>
170
  <p>You can dump all options here (useful for debugging): </p>
237
  $f=file_get_contents($dfile);
238
  $ff=wordwrap($f,70,"\r\n");
239
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  <?php
241
  if (array_key_exists('ss_stop_spammers_control',$_POST)) $nonce=$_POST['ss_stop_spammers_control'];
242
  if (!empty($nonce) && wp_verify_nonce($nonce,'ss_stopspam_update')) {
243
  if (array_key_exists('showdebug',$_POST)) {
244
+ echo "<p><strong>Debug Output:</strong></p><pre>$f</pre><p><strong>end of file (if empty, there are no errors to display)</p></strong>";
245
  }
246
  }
247
  $nonce=wp_create_nonce('ss_stopspam_update');
260
  <p class="submit"><input class="button-primary" name="killdebug" value="Delete Debug File" type="submit" /></p>
261
  </form>
262
  </div>
263
+ <br style="clear:both" /><br />
264
  <?php
265
  }
266
  $ini='';
274
  }
275
  if ($pinf) {
276
  ?>
277
+ <a href="" onclick="document.getElementById('shpinf').style.display='block';return false;" class="button-primary">Show PHP Info</a>
278
  <?php
279
  ob_start();
280
  phpinfo();
settings/ss_summary.php CHANGED
@@ -344,7 +344,7 @@ echo $summry;
344
  </form>
345
  </fieldset>
346
  <h2>Get Support and Help Improve Stop Spammers</h2>
347
- <p>Please post all issues, bugs, typos, questions, suggestions, requests, and complaints <a href="https://github.com/bhadaway/stop-spammers/issues" target="_blank">on GitHub</a>. Thank you.</p>
348
  <h2>Plugin Options</h2>
349
  <ul>
350
  <li><a href="?page=stop_spammers">Summary</a>: This checks to see if there may be problems from your current incoming IP address and displays a summary of events.</li>
344
  </form>
345
  </fieldset>
346
  <h2>Get Support and Help Improve Stop Spammers</h2>
347
+ <p>First, <a href="https://github.com/bhadaway/stop-spammers/wiki/faqs" target="_blank">read the FAQs page</a>. Then, please post all issues, bugs, typos, questions, suggestions, requests, and complaints <a href="https://github.com/bhadaway/stop-spammers/issues" target="_blank">on GitHub</a>. Thank you.</p>
348
  <h2>Plugin Options</h2>
349
  <ul>
350
  <li><a href="?page=stop_spammers">Summary</a>: This checks to see if there may be problems from your current incoming IP address and displays a summary of events.</li>
stop-spammer-registrations-new.php CHANGED
@@ -5,11 +5,11 @@ Plugin URI: https://wordpress.org/plugins/stop-spammer-registrations-plugin/
5
  Description: The Stop Spammers plugin blocks spammers from leaving comments or logging in. It protects sites from robot registrations and malicious attacks.
6
  Author: Bryan Hadaway
7
  Author URI: https://calmestghost.com/
8
- Version: 7.0.5
9
  License: https://www.gnu.org/licenses/gpl.html
10
  */
11
  // networking requires a couple of globals
12
- define('SS_VERSION', '7.0.5');
13
  define('SS_PLUGIN_URL', plugin_dir_url( __FILE__ ));
14
  define('SS_PLUGIN_FILE', plugin_dir_path( __FILE__ ));
15
  define('SS_PLUGIN_DATA', plugin_dir_path( __FILE__ ).'data/');
5
  Description: The Stop Spammers plugin blocks spammers from leaving comments or logging in. It protects sites from robot registrations and malicious attacks.
6
  Author: Bryan Hadaway
7
  Author URI: https://calmestghost.com/
8
+ Version: 7.0.6
9
  License: https://www.gnu.org/licenses/gpl.html
10
  */
11
  // networking requires a couple of globals
12
+ define('SS_VERSION', '7.0.6');
13
  define('SS_PLUGIN_URL', plugin_dir_url( __FILE__ ));
14
  define('SS_PLUGIN_FILE', plugin_dir_path( __FILE__ ));
15
  define('SS_PLUGIN_DATA', plugin_dir_path( __FILE__ ).'data/');