Start a new topic

Code suggestions

Hi,


I was looking into the plug-in code for WordPress and ran into some small problems.

I would like to suggest these changes and i dont know how else to report this.

For now i changed this inside the plug-in itself, but after one update these changed gets lost so i hope this will be implemented into the new version.


Plug-in: Smart WooCommerce Search by Searchanise

Plug-in version: 1.0.4


smart-search-for-woocommerce/includes/class-se-search.php line 146

From:

$text_find = $searchParams['q'];

Into:

$text_find = $search_params['q'];


smart-search-for-woocommerce/includes/class-se-api.php line 881

New line:

$show_notification = false;


smart-search-for-woocommerce/includes/class-se-installer.php line 49

After this new line:

 

global $wpdb;


smart-search-for-woocommerce/extensions/qtranslate.php line 201

From:

$locales = $array_flip($this->getLocales());

Into:

$locales = array_flip($this->getLocales());


Kind regards,


Arnout Pullen

Hi,


Thank you for your feedback. We have forwarded it to our developers for examination. Probably, they will be included in one of the future updates.

Login or Signup to post a comment