Title: Suggestions for function.php
Last modified: December 4, 2025

---

# Suggestions for function.php

 *  [bcoua](https://wordpress.org/support/users/bcoua/)
 * (@bcoua)
 * [6 months ago](https://wordpress.org/support/topic/suggestions-for-function-php/)
 * Ajax Search is an excellent search plugin for WordPress.
 * Here’s a small suggestion, especially for users of PHP 8.2 and above: Line 575
   of functions.php in ajax-search-lite uses the `mb_convert_encoding` function.
   Since this function is deprecated in PHP 8.2 and above and will trigger a PHP
   warning, it’s recommended to replace `mb_convert_encoding` with the `htmlentities`
   function.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ernest Marcinko](https://wordpress.org/support/users/ernestmarcinko/)
 * (@ernestmarcinko)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/suggestions-for-function-php/#post-18753711)
 * Hi,
 * Sorry for the late response. Thank you! I will look into it for the upcoming 
   release 🙂
 * All the best,
   Ernest

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsuggestions-for-function-php%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ernest Marcinko](https://wordpress.org/support/users/ernestmarcinko/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/suggestions-for-function-php/#post-18753711)
 * Status: not resolved