Title: Issues in plugin v4.0.3
Last modified: August 30, 2016

---

# Issues in plugin v4.0.3

 *  Resolved [bios4](https://wordpress.org/support/users/bios4/)
 * (@bios4)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/issues-in-plugin-v403/)
 * Just downloaded the plugin v4.0.3 package and checked the changes compared to
   v4.0.2. I think I found some issues – please check and confirm or disprove the
   points below…
 * 1) The new option “cron cleanup of the global meta table” seems to contain a 
   wrong variable assignment in the “\classes\wp-security-backup.php” file…
 * Line 303: `$max_rows_global_meta_table = apply_filters( 'aiowps_max_rows_global_meta_table',
   $global_meta_table_name );`
 * Shouldn’t this be `$max_rows_global_meta_table = apply_filters('aiowps_max_rows_global_meta_table',
   $max_rows_global_meta_table);` instead?
 * At least compared with the three other table cleanup code blocks the variable
   in the “apply_filters()”-statement is different…
 * 2.a) Regarding the new “stop users enumeration” feature: why is there a doubled`
   if (!is_admin())`-check at the beginning of the “\other-includes\wp-security-
   stop-users-enumeration.php” file? Does not make sense to me…
 * 2.b) The nonce-check fail message for the “stop users enumeration” feature is
   not properly setup in the “\admin\wp-security-misc-options-menu.php”, seems as
   a copy/paste-remains from an other message: line 185 `die("Nonce check failed
   on prevent users enumeration frame feature settings save!");` should not contain
   the word “frame” in the message.
 * Thanks,
    Mike
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [bios4](https://wordpress.org/support/users/bios4/)
 * (@bios4)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/issues-in-plugin-v403/#post-6868698)
 * 3.) File “\classes\wp-security-utility-htaccess.php”: where does the variable`
   $count` come from in function “getrules_enable_login_whitelist()” (used in lines
   504 and 505)?
 * I could not find a variable assignment within the “enable_login_whitelist()” 
   function, but just in other functions of the file mentioned ^^…
 * Will it work anyway?
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/issues-in-plugin-v403/#post-6868747)
 * Hi,
    For points 1) through to 2.b) – yes thanks there are a bunch of typos there.
   We will fix.
 * For point 3) – there is no issue with the code. This is correct usage of the 
   php function called “str_replace”, and in particular the parameter called $count
   which is an integer and holds the value of number of replacements made:
    [http://php.net/manual/en/function.str-replace.php](http://php.net/manual/en/function.str-replace.php)
 *  Thread Starter [bios4](https://wordpress.org/support/users/bios4/)
 * (@bios4)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/issues-in-plugin-v403/#post-6868764)
 * Thanks for the reply and explanation!
    Looking forward to a fixed version…
 * Regards,
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issues in plugin v4.0.3’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bios4](https://wordpress.org/support/users/bios4/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/issues-in-plugin-v403/#post-6868764)
 * Status: resolved