Skip to content

Commit

Permalink
do not bypass spam detection
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Dec 22, 2023
1 parent cb91352 commit 8ecd403
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/class-receiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public static function auto_approve( $approved, $commentdata ) {
return 1;
}

return self::is_source_allowed( $commentdata['source'] ) ? 1 : 0;
return self::is_source_allowed( $commentdata['source'] ) ? 1 : $approved;
}

/**
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
Requires at least: 4.9
Tested up to: 6.4
Stable tag: 5.1.9
Stable tag: 5.1.10
Requires PHP: 5.6
License: MIT
License URI: https://opensource.org/licenses/MIT
Expand Down Expand Up @@ -99,6 +99,10 @@ While not all display options can be settings, we are looking to provide some si

Project and support maintained on github at [pfefferle/wordpress-webmention](https://github.com/pfefferle/wordpress-webmention).

= 5.1.10 =

* Do not bypass the spam filters

= 5.1.9 =

* Replace `comment_link` only for Webmentions and only in the frontend
Expand Down
2 changes: 1 addition & 1 deletion webmention.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Webmention support for WordPress posts
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* Version: 5.1.9
* Version: 5.1.10
* License: MIT
* License URI: https://opensource.org/licenses/MIT
* Text Domain: webmention
Expand Down

0 comments on commit 8ecd403

Please sign in to comment.