Little bug in Strong Passwords
-
Hi,
There is a little bug in module Strong Passwords: on windows hosts, the script.js is included with a incorrect path.
e.g. :
[code]https://[localserver]/wp-content/plugins/better-wp-security/C:/Users/[localpath]/wp-content/plugins/better-wp-security/core/modules/strong-passwords/js/script.js?ver=4041[/code]To correct this bug, edit the code/class-itsec-core.php, and change this line (around line 79 for 5.6.0 version) :
[code]$this->plugin_dir = dirname( $plugin_file ) . '/';[/code]
to
[code]$this->plugin_dir = dirname( $plugin_file ) . DIRECTORY_SEPARATOR;[/code]Hope it’s helping.
HAve a good day!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Little bug in Strong Passwords’ is closed to new replies.