Highlight Search Terms

Changelog

1.8.3

2024-04-05
* Update to WP coding standards
* WP 6.5 compatibility tested

1.8.2

Date 2022-03-01

  • Fix T_TRY error

1.8.1

Date 2022-01-31

  • Fix possible missing is_plugin_active error

1.8.0

Date 2022-01-30

  • NEW: Woocommerce compatibility
  • NEW: Search Filter Pro compatibility

1.7.0

Date 2021-12-04

  • Switch to mark.js, https://markjs.io/
  • Include HTML5 main tag
  • Dropped futile search engine support
  • FIX: Possible double inline script
  • FIX: wptexturized search results not highlighted
  • NEW: filter hlst_events

1.6.1

Date 2021-08-18

  • FIX: NinjaFirewall incompatibility, thanks @danielrufde

1.6

Date 2021-06-22

  • NEW: Vanilla Javascript, no more jQuery dependency!
  • NEW: Arabic character normalization map. Thanks @khakan
  • NEW: Jetpack Infinite Scroll support

1.5.8

Date 2021-06-20

  • NEW: filters hlst_query_vars, hlst_inline_script and hlst_input_get_args

1.5.7

Date 2021-06-10

  • FIX: broken comment pagination links, thanks @tooni

1.5.6

Date 2021-01-13

  • FIX: jQuery 3 incompatibility

1.5.5

Date 2020-04-07

  • FIX: XSS vulnerability revisited

1.5.4

Date 2020-04-02

  • Prevent click-through search highlighting from menu items or widgets

1.5.3

Date 2019-12-20

  • Third party search plugins compatibility improvement

1.5.2

Date 2019-03-07

  • FIX: cyrillic case sensitive results, thanks @dimmez
  • Script compression

1.5

Date 2018-03-10

  • Move to wp_add_inline_script

1.4.7

Date 2017-12-22

  • Fix possible vulnerability in append_search_query()
  • Prepare translation text domain

1.4.5

Date 2017-11-23

  • FIX: Prevent bbp_is_search() on admin triggered by Gravity Forms, reported by @dicoeenvoud

1.4.4

Date 2017-02-24

  • FIX: XSS vulnerability reported by Ben Bidner @ Automattic

1.4.3

Date 2017-01-31
Dev time: 3h

  • BUGFIX: [] operator not supported for strings in PHP 7, thanks @seppsoft
  • Drop pre WP 3.7 support
  • Improved bbPress support

1.4.2

Date 2016-10-04
Dev time: 3h

  • BUGFIX: use filtered search terms for click through highlighting

1.4.1

Date 2016-07-20
Dev time: 2h

  • BUGFIX: incompatibility with Relevanssi and other search plugins

1.4

Date 2016-04-10
Dev time: 6h

  • Better search results click though highlighting
  • Improved bbPress compatibility
  • Renamed Minified js

1.3.9.1

Date 2015-10-13
Dev time: 1h

  • FIX: Missing terms not wrapped in P tag (reported by zmokin)

1.3.9

Date 2014-09-04
Dev time: 5h

  • WordPress 3.8 search compatibility allowing less fuzzy search with quotes
  • ?sentence=1 query parameter compat
  • FIX: XSS vulnerability found by Rodolfo Godalle, Jr.

1.3

Date 2013-09-02
Dev time: 2h

  • BuddyPress and bbPress highlighting within forum searches
  • FIX: jQuery 1.10 compatibility

1.2.5

Date 2013-07-28
Dev time: 1h

  • FIX: Combine-JS compatibility (Thanks to Joshua Hoke)
  • More possible classes and ids to look for

1.2.4

Date 2012-12-16
Dev time: 1h

  • BUGFIX: non-western languages in URL not decoded

1.2.3

Date 2012-12-06
Dev time: 1h

  • BUGFIX: javascript infinite loop

1.2.2

Date 2012-10-11
Dev time: 6h

  • Search terms wrapped in double quotes now considered as single term
  • Caching compatible
  • Second click highlighting: not only on the search results page but also inside any of the found pages
  • Speed improvement
  • More search engines supported
  • BUGFIX: Undefined variable: cache_compat

1.2.1

Date 2012-07-27
Dev time: 1h

  • BUGFIX: non HTML5 browser (IE8 and older) support failing

1.2

Date 2012-07-25
Dev time: 8h

  • NEW: Caching (WP Super Cache) compatibility
  • NEW: Highlights not only on WP search results page but also one click deeper inside any of the found pages
  • NEW: Search terms wrapped in double quotes now considered as single term
  • support many more search engines: AOL, Dogpile, Search.com, Goodsearch.com, Mywebsearch.com, Webcrawler.com, Info.com
  • rebuilt as Class
  • plugin speed improvements

0.8

Date 2012-04-18
Dev time: 2h

  • HTML5 mark tag support
  • No more word boundary limit for non-latin based languages compatibility

0.7

Date: 2011-01-03
Dev time: 1h

  • BUGFIX: conflict with Cufon script

0.6

Date: 2010-09-06
Dev time: 2h

  • limit highlighted search terms to word boundary
  • added Bing, Ask, Baidu and Youdao search engines
  • now automatically check for and highlights in multiple theme div areas
  • BUGFIX: cloning first result excerpt to all excerpts

0.5

Date: 2010-08-07
Dev time: 2h

  • using jQuery in no-conflict mode and $hlst instead of $ to avoid conflict with prototype
  • split variables and moved js extension in compacted form to static file
  • moved jQuery and extention to footer + only when actually needed for faster page load

0.4

Date: 2010-04-07
Dev time: 1h

  • fixed Regular Expression to allow parts of words to be highlighted
  • search term wrapping limited to .hentry divs

0.3

Date: 2009-04-16
Dev time: 1h

  • Bugfix for Firefox 2+ (forcefully highlights now limited to div#content)

0.2

Date: 2009-04-15
Dev time: 1h

  • Allowing for multiple search term styling
  • Bugfix for IE7 / IE8, thanks to Jason

0.1

Date: 2009-04-14
Dev time: 3h

  • Basic plugin aimed at low impact / low resource demand on your WP installation using client side javascript.

Plugin Website
Visit website

Version:
1.8.3
Last Updated
April 2, 2026
Active Installs
7000
Requires
WordPress 3.7
Tested Up To
WordPress 6.8.5
Requires PHP
5.6

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.