nkot
Forum Replies Created
-
Well now that I tested it again it seems to be fixed somehow, although I made no changes!
Thank you anyway!Hello I have ticked for the info to be displayed in shipped messages! However the info is not sent when I send the email from woocommerce default order system!
Forum: Plugins
In reply to: [Ivory Search - WordPress Search Plugin] Difficulties with nordic lettersHello again,
I tried resetting the search. It does not work for me! Is there anything else I can do?Forum: Plugins
In reply to: [Ivory Search - WordPress Search Plugin] Difficulties with nordic lettersI am having similar issues when using the Greek alphabet on one of my projects and the search being case sensitive.
When searching for ΕΝΑ, if a product that contains this string in its title will be returned, but products with ενα will not. I thought Ivory was based on the wp default search which is case insensitive.While searching through the code of the plugin (it is important to note that I own a license for the plugin) I discovered that in the directory wp-content/plugins/add-search-to-menu-premium/admin/class-is-editor.php on line 18, there is a preg_match field.
I tried changing the default code from:
function is_name( $string ) { return preg_match( '/^[A-Za-z][-A-Za-z0-9_:.]*$/', utf8_encode($string) ); }
To:
function is_name( $string ) { return preg_match( "/^[A-Za-z0-9α-ωΑ-Ω ???????????-]*$/", strtolower($string) ); //return preg_match( '/^[A-Za-z][-A-Za-z0-9_:.]*$/', $string ); }
But with no luck. The search remains case sensitive.
- This reply was modified 5 years, 1 month ago by nkot.