engray95
Forum Replies Created
-
Thanks, I’ve just sent an email
@wfpeter and other users that might have same issue – I was finally able to hide .user.ini. To do it, I replaced
<Files ".user.ini"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files>with simpler condition:
<Files ".user.ini"> Order allow,deny Deny from all </Files>website and WF are seem to be working properly after the change.
Thanks for checking that for me @wfpeter !
I checked and indeed my .htaccess file contains below:
# Wordfence WAF <Files ".user.ini"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> # END Wordfence WAFI checked with my hosting provider – unfortunately, it’s impossible to set anything in php.ini as it’s shared hosting. It’s only possible to modify php settings via .user.ini
Any ideas on how to hide this file? 😀
Thanks for getting in touch! Nope, it’s not from me, maybe it didn’t go through because I was doing it using smartphone.
I’ve just now manually sent an email containing mentioned txt debug file, it should be delivered by now.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi breaks get_posts ‘s’ paramHi @msaari thanks for quick and meaningful response, I used your code and it worked, thanks!
What came as surprise to me it’s that main page search still works quite the same as before adding those 2 lines. Results seem to be the same, but order of search results is different, which is fine. If I may know, what exactly happens after applying above code? It’s not the same as disabling Relevanssi plugin, am I correct?Forum: Plugins
In reply to: [Polylang Theme Strings] register_uninstall_hook was called incorrectlyI’ve managed to fix it. You just need to replace 2 lines of code 🙂
I did PR at github, but I don’t know whether this repo is still active:
https://github.com/wp-plugins/polylang-theme-strings/pull/1/filesIf you want to fix it manually, you just need to go to
`/wp-content/plugins/polylang-theme-strings/mw-polylang-theme-strings.php’, and change line 89 and 90 from:
register_activation_hook($this->Path_Get('plugin_file_index'), array($this, 'Install'));
register_uninstall_hook($this->Path_Get('plugin_file_index'), array($this, 'Uninstall'));
to:
register_activation_hook($this->Path_Get('plugin_file_index'), 'Install');
register_uninstall_hook($this->Path_Get('plugin_file_index'), 'Uninstall');BTW do you know how I can propose this changes to the author in more dev way? 🙂