Changeset 3323766
- Timestamp:
- 07/07/2025 03:56:27 PM (9 months ago)
- Location:
- wp-search-insights/trunk
- Files:
-
- 4 edited
-
class-search.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
uninstall.php (modified) (1 diff)
-
wp-search-insights.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-search-insights/trunk/class-search.php
r3298215 r3323766 320 320 321 321 public function get_regular_search() { 322 322 323 global $wp_query; 323 324 … … 468 469 // Skip terms exceeding configured limit 469 470 if (strlen($search_term) > 255) { 471 return; 472 } 473 474 // Check for spam (always enabled unless constant override) 475 // Update spam filter statistics 476 WPSI::$spam_filter->update_stats('checked'); 477 478 if (WPSI::$spam_filter->is_spam($search_term)) { 479 // Update spam filter statistics 480 WPSI::$spam_filter->update_stats('blocked'); 481 482 // Allow logging of blocked spam terms 483 do_action('wpsi_spam_blocked', $search_term); 484 470 485 return; 471 486 } … … 1496 1511 ]); 1497 1512 } 1513 1498 1514 } 1499 1515 } -
wp-search-insights/trunk/readme.txt
r3298215 r3323766 7 7 Tested up to: 6.8 8 8 Requires PHP: 7.0 9 Stable tag: 2. 09 Stable tag: 2.1 10 10 11 11 Uncover exactly what visitors search for on your site. Stop guessing what content to create, fix content gaps, and boost engagement. … … 114 114 115 115 == Changelog == 116 = 2.1. = 117 * Improvement: greatly improved filtering of spammy search terms 118 116 119 = 2.0 117 120 * New: Rebranded from "WP Search Insights" to "Search Insights" with dedicated admin menu -
wp-search-insights/trunk/uninstall.php
r3298215 r3323766 49 49 'wpsi_database_postids_upgrade_completed', 50 50 'wpsi_tour_cancelled', 51 'wpsi_spam_filter_stats', 51 52 'wpsi_version_two_installation_time' 52 53 ); -
wp-search-insights/trunk/wp-search-insights.php
r3298215 r3323766 5 5 * License: GPLv2 6 6 * Description: Uncover exactly what visitors search for on your site. Make data-driven content decisions, identify content gaps, and improve user experience with privacy-focused search analytics. 7 * Version: 2. 07 * Version: 2.1 8 8 * Text Domain: wp-search-insights 9 9 * Domain Path: /languages … … 63 63 public static $help; 64 64 public static $export; 65 public static $spam_filter; 65 66 66 67 private function __construct() … … 69 70 $this->includes(); 70 71 72 self::$spam_filter = new WPSI_Spam_Filter(); 71 73 self::$search = new search(); 72 74 … … 109 111 define('wpsi_plugin_file', __FILE__); 110 112 111 define('wpsi_version', '2. 0');113 define('wpsi_version', '2.1'); 112 114 } 113 115 … … 133 135 134 136 require_once(wpsi_path . 'class-search.php'); 137 require_once(wpsi_path . 'includes/class-spam-filter.php'); 135 138 require_once(wpsi_path . 'integrations/integrations.php'); 136 139 }
Note: See TracChangeset
for help on using the changeset viewer.