Plugin Directory

Changeset 3261767


Ignore:
Timestamp:
03/25/2025 07:43:55 PM (12 months ago)
Author:
ehops32
Message:

2.2.0

  • More spam phrases added for Gravity Forms spam filter.
  • Fixing a missing apostrphe character in Javascript which would in turn cause a display issue after submitting a Gravity Form.
Location:
sackson-web-data/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sackson-web-data/trunk/README.txt

    r3257404 r3261767  
    55Requires at least: 3.0.1
    66Tested up to: 6.7.1
    7 Stable tag: 2.1.9
     7Stable tag: 2.2.0
    88Requires PHP: 8.0.30
    99License: GPLv2 or later
     
    5252
    5353== Changelog ==
     54
     55= 2.2.0 =
     56* More spam phrases added for Gravity Forms spam filter.
     57* Fixing a missing apostrphe character in Javascript which would in turn cause a display issue after submitting a Gravity Form.
    5458
    5559= 2.1.9 =
  • sackson-web-data/trunk/includes/class-sacksonweb-data-gravity-forms-spam-filter.php

    r3257404 r3261767  
    1313 */
    1414
    15 class Sacksonweb_Data_GravityFormsSpamFilter {
     15class SacksonWeb_Data_GravityFormsSpamFilter {
    1616
    1717    private $send_spam_to = 'spam@sacksonweb.com';
     18    private $trending_spam_strings = [
     19        // AI / Automation / Tech Buzz
     20        'AI-powered',
     21        'AI automation for your business',
     22        'No-code automation',
     23        'AI SEO tool',
     24        'ChatGPT content writing',
     25        'fully automated lead gen',
     26        'autopilot income',
     27   
     28        // Crypto / Financial
     29        'crypto payout',
     30        'USDT wallet',
     31        'instant bitcoin transfer',
     32        'TRC20 address',
     33        'crypto rewards',
     34        'DeFi staking platform',
     35   
     36        // Common scammy hooks
     37        'your site is losing traffic',
     38        'I tried to call you',
     39        'your business is missing out',
     40       
     41   
     42        // Marketing fluff / offer spam
     43        'skyrocket your sales',
     44        'generate qualified leads',
     45        'done-for-you funnel',
     46        'exclusive limited-time offer',
     47        'zero upfront cost',
     48        'new clients guaranteed',
     49        'viral content strategy',
     50        'leads on demand',
     51   
     52        // Testimony-based trick phrases
     53        'after using this tool, I saw amazing results',
     54        'real users report a 200% traffic increase',
     55        'my revenue doubled after working with them',
     56   
     57        // Clean-up & recovery bait
     58        'clean up your toxic backlinks',
     59        'negative SEO recovery',
     60        'fix Google penalties',
     61   
     62        // Obfuscated examples (optional)
     63        'G00gle',
     64        'cli.ck here',
     65        'cl1ck here',
     66        'AI-pow3red',
     67    ];
     68   
    1869    private $spam_strings = [ 'sales opportunity', 'janitorial quote', 'disinfection needs', 'System4', 'SEO-audit', 'search engine rankings',
    1970                                  'search engine', 'backlinks', 'badlinks', 'visitors daily', 'cutt.ly', 'AI powered traffic', 'website loads faster',
     
    101152                                  'Your business could be missing out', 'turnerfisher348382@gmail.com', 'saya ingin', 'Johndip', 'without the hassle of hiring', 'we provide Virtual Assistants',
    102153                                  'hireonline556600@outlook.com', 'TikTok for real leads', 'Ready to make TikTok', 'TikTok leads', 'TikTok for real leads', 'milano.annabelle@outlook.com',
    103                                   'support@typingagent.com'
    104 
    105 
     154                                  'support@typingagent.com', 'can you send us your full offer', 'Please send me message on Whatsapp', 'e-commerce specialist',
     155                                  'venture4help', 'TikTok for authentic', 'Try our service free', 'AI growth service', 'Franchise Development', 'Franchise Creator', 'Schedule your call here',
     156                                  '0nline casino', 'bonus777', 'et your bonus'
    106157                                ];
    107158                                // AFS,
     
    118169           
    119170            if (!empty($message)){
    120                 echo "<script>console.log(Message was not emtpy');</script>";
     171                echo "<script>console.log('Message was not emtpy');</script>";
    121172            }
    122173   
    123174            if (!empty($message)) {
    124                 foreach ($this->spam_strings as $spam_string) {
    125                     if (strpos(strtolower($message),strtolower( $spam_string)) !== false) {
     175                $all_spam_strings = array_merge($this->spam_strings, $this->trending_spam_strings);
     176                foreach ($all_spam_strings as $spam_string) {
     177                    //if (strpos(strtolower($message),strtolower( $spam_string)) !== false) {
     178                    if (str_contains(strtolower($message), strtolower($spam_string))) { /* PHP 8.0+ */
    126179                       
    127180                        $notification['to'] = $this->send_spam_to;
     
    129182   
    130183                        // return $notification;
    131                         return false; // Prevents the email from being sent
     184                        return null; // Prevents the email from being sent
    132185                    }
    133186                }
  • sackson-web-data/trunk/sacksonweb-data.php

    r3257404 r3261767  
    1010 *
    1111 * @link              http://data.sacksonweb.com/author
    12  * @since             2.1.9
     12 * @since             2.2.0
    1313 * @package           Sacksonweb_Data
    1414 *
     
    1717 * Plugin URI:        http://data.sacksonweb.com
    1818 * Description:       A tool to monitor security issues, performance issues, and Wordpress settings that should be changed.
    19  * Version:           2.1.9
     19 * Version:           2.2.0
    2020 * Author:            Eric Thornton
    2121 * Author URI:        http://data.sacksonweb.com/author
     
    3535 *
    3636 */
    37 define( 'SACKSONWEB_DATA_VERSION', '2.1.9' );
     37define( 'SACKSONWEB_DATA_VERSION', '2.2.0' );
    3838
    3939/**
Note: See TracChangeset for help on using the changeset viewer.