From ebcbdc6dd4a5057b55e8dd58ef33ad762d648e68 Mon Sep 17 00:00:00 2001 From: timse201 Date: Thu, 29 Jun 2017 18:23:13 +0200 Subject: [PATCH 01/34] spelling --- all-in-one-wp-security/admin/wp-security-brute-force-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-brute-force-menu.php b/all-in-one-wp-security/admin/wp-security-brute-force-menu.php index 7e55099..0f0271b 100644 --- a/all-in-one-wp-security/admin/wp-security-brute-force-menu.php +++ b/all-in-one-wp-security/admin/wp-security-brute-force-menu.php @@ -403,7 +403,7 @@ function render_tab2() + @@ -798,4 +798,4 @@ function render_tab5() } -} //end class \ No newline at end of file +} //end class From 458432fba07beac9e4a47f11a35605d50e86d995 Mon Sep 17 00:00:00 2001 From: timse201 Date: Thu, 29 Jun 2017 21:26:24 +0200 Subject: [PATCH 02/34] added some points --- .../admin/wp-security-user-login-menu.php | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-user-login-menu.php b/all-in-one-wp-security/admin/wp-security-user-login-menu.php index c7d499a..511917a 100644 --- a/all-in-one-wp-security/admin/wp-security-user-login-menu.php +++ b/all-in-one-wp-security/admin/wp-security-user-login-menu.php @@ -249,46 +249,46 @@ function render_tab1() : configs->get_value('aiowps_enable_login_lockdown')=='1') echo ' checked="checked"'; ?> value="1"/> - + : configs->get_value('aiowps_allow_unlock_requests')=='1') echo ' checked="checked"'; ?> value="1"/> - + : - + : - + : - + : configs->get_value('aiowps_set_generic_login_msg')=='1') echo ' checked="checked"'; ?> value="1"/> - + : configs->get_value('aiowps_enable_invalid_username_lockdown')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -337,7 +337,7 @@ function render_tab1() : configs->get_value('aiowps_lockdown_enable_whitelisting')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -522,7 +522,7 @@ function render_tab3() : configs->get_value('aiowps_enable_forced_logout')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -656,4 +656,4 @@ function render_tab5() } -} //end class \ No newline at end of file +} //end class From 03b8091cff1c79039e4e779e7297ae7cf9a1124d Mon Sep 17 00:00:00 2001 From: timse201 Date: Fri, 30 Jun 2017 04:24:29 +0200 Subject: [PATCH 03/34] spelling --- all-in-one-wp-security/admin/wp-security-filescan-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-filescan-menu.php b/all-in-one-wp-security/admin/wp-security-filescan-menu.php index 1789d6d..639ab63 100644 --- a/all-in-one-wp-security/admin/wp-security-filescan-menu.php +++ b/all-in-one-wp-security/admin/wp-security-filescan-menu.php @@ -226,7 +226,7 @@ function render_tab1()
'.__('If given an opportunity hackers can insert their code or files into your system which they can then use to carry out malicious acts on your site.', 'all-in-one-wp-security-and-firewall'). - '
'.__('Being informed of any changes in your files can be a good way to quickly prevent a hacker from causing damage to your website.', 'all-in-one-wp-security-and-firewall'). + '
'.__('Being informed of any changes on your files can be a good way to quickly prevent a hacker from causing damage to your website.', 'all-in-one-wp-security-and-firewall'). '
'.__('In general, WordPress core and plugin files and file types such as ".php" or ".js" should not change often and when they do, it is important that you are made aware when a change occurs and which file was affected.', 'all-in-one-wp-security-and-firewall'). '
'.__('The "File Change Detection Feature" will notify you of any file change which occurs on your system, including the addition and deletion of files by performing a regular automated or manual scan of your system\'s files.', 'all-in-one-wp-security-and-firewall'). '
'.__('This feature also allows you to exclude certain files or folders from the scan in cases where you know that they change often as part of their normal operation. (For example log files and certain caching plugin files may change often and hence you may choose to exclude such files from the file change detection scan)', 'all-in-one-wp-security-and-firewall').'

'; @@ -463,4 +463,4 @@ function display_last_scan_results()
Date: Fri, 30 Jun 2017 17:21:36 +0200 Subject: [PATCH 04/34] spelling --- all-in-one-wp-security/admin/wp-security-admin-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-admin-menu.php b/all-in-one-wp-security/admin/wp-security-admin-menu.php index 107ae53..fdd8b33 100644 --- a/all-in-one-wp-security/admin/wp-security-admin-menu.php +++ b/all-in-one-wp-security/admin/wp-security-admin-menu.php @@ -47,7 +47,7 @@ function show_msg_settings_updated() static function show_msg_record_deleted_st() { echo '

'; - _e('The selected record(s) deleted successfully!','all-in-one-wp-security-and-firewall'); + _e('The selected record(s) were deleted successfully!','all-in-one-wp-security-and-firewall'); echo '

'; } @@ -90,4 +90,4 @@ function end_buffer_and_collect() ob_end_clean(); return $output; } -} \ No newline at end of file +} From f9a39952119d2f592a8f6db3b59c313e14ac969d Mon Sep 17 00:00:00 2001 From: timse201 Date: Fri, 30 Jun 2017 23:40:24 +0200 Subject: [PATCH 05/34] dots --- .../admin/wp-security-spam-menu.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-spam-menu.php b/all-in-one-wp-security/admin/wp-security-spam-menu.php index a920c5c..dbc3826 100644 --- a/all-in-one-wp-security/admin/wp-security-spam-menu.php +++ b/all-in-one-wp-security/admin/wp-security-spam-menu.php @@ -102,7 +102,7 @@ function render_tab1() if ($res) { - $this->show_msg_updated(__('Settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('Settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } else { @@ -133,7 +133,7 @@ function render_tab1() : configs->get_value('aiowps_enable_comment_captcha')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -257,7 +257,7 @@ function render_tab2() //Save all the form values to the options $aio_wp_security->configs->set_value('aiowps_spam_ip_min_comments',absint($min_comments_per_ip)); $aio_wp_security->configs->save_config(); - $info_msg_string = sprintf( __('Displaying results for IP addresses which have posted a minimum of %s SPAM comments', 'all-in-one-wp-security-and-firewall'), $min_comments_per_ip); + $info_msg_string = sprintf( __('Displaying results for IP addresses which have posted a minimum of %s SPAM comments.', 'all-in-one-wp-security-and-firewall'), $min_comments_per_ip); $this->show_msg_updated($info_msg_string); } @@ -445,7 +445,7 @@ function render_tab3() //Recalculate points after the feature status/options have been altered $aiowps_feature_mgr->check_feature_status_and_recalculate_points(); - $this->show_msg_updated(__('Settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('Settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } ?> @@ -472,7 +472,7 @@ function render_tab3() : configs->get_value('aiowps_enable_bp_register_captcha')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -485,4 +485,4 @@ function render_tab3() } } -} //end class \ No newline at end of file +} //end class From 6e112292936497f9ed25b01eeef51b0bb30ec945 Mon Sep 17 00:00:00 2001 From: timse201 Date: Fri, 30 Jun 2017 23:43:59 +0200 Subject: [PATCH 06/34] dots --- .../admin/wp-security-user-registration-menu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-user-registration-menu.php b/all-in-one-wp-security/admin/wp-security-user-registration-menu.php index f50f337..9d529ba 100644 --- a/all-in-one-wp-security/admin/wp-security-user-registration-menu.php +++ b/all-in-one-wp-security/admin/wp-security-user-registration-menu.php @@ -96,7 +96,7 @@ function render_tab1() //Recalculate points after the feature status/options have been altered $aiowps_feature_mgr->check_feature_status_and_recalculate_points(); - $this->show_msg_updated(__('Settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('Settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } if(isset($_REQUEST['action'])) //Do list table form row action tasks @@ -293,7 +293,7 @@ function render_tab3() : configs->get_value('aiowps_enable_registration_honeypot')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -304,4 +304,4 @@ function render_tab3() Date: Fri, 30 Jun 2017 23:52:41 +0200 Subject: [PATCH 07/34] dots --- .../admin/wp-security-firewall-menu.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-firewall-menu.php b/all-in-one-wp-security/admin/wp-security-firewall-menu.php index f4c0baa..5480861 100644 --- a/all-in-one-wp-security/admin/wp-security-firewall-menu.php +++ b/all-in-one-wp-security/admin/wp-security-firewall-menu.php @@ -117,7 +117,7 @@ function render_tab1() if ($res) { - $this->show_msg_updated(__('Settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('Settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } else { @@ -250,7 +250,7 @@ function render_tab1()
'.__('WordPress has an option to turn on the debug logging to a file located in wp-content/debug.log. This file may contain sensitive information.', 'all-in-one-wp-security-and-firewall').'

'; - echo '

'.__('Using this optoin will block external access to this file. You can still access this file by logging into your site via FTP', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('Using this optoin will block external access to this file. You can still access this file by logging into your site via FTP.', 'all-in-one-wp-security-and-firewall').'

'; ?>
@@ -330,7 +330,7 @@ function render_tab2() if ($res) { - $this->show_msg_updated(__('You have successfully saved the Additional Firewall Protection configuration', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('You have successfully saved the Additional Firewall Protection configuration.', 'all-in-one-wp-security-and-firewall')); } else { @@ -653,7 +653,7 @@ function render_tab4() //Commit the config settings $aio_wp_security->configs->save_config(); - $this->show_msg_updated(__('The Internet bot settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('The Internet bot settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } ?> @@ -703,7 +703,7 @@ function render_tab4() '.__('This feature will check if the User Agent information of a bot contains the string "Googlebot".', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('It will then perform a few tests to verify if the bot is legitimately from Google and if so it will allow the bot to proceed.', 'all-in-one-wp-security-and-firewall').'

'; - echo '

'.__('If the bot fails the checks then the plugin will mark it as being a fake Googlebot and it will block it', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('If the bot fails the checks then the plugin will mark it as being a fake Googlebot and it will block it.', 'all-in-one-wp-security-and-firewall').'

'; ?> @@ -739,7 +739,7 @@ function render_tab5() if ($res) { - $this->show_msg_updated(__('Settings were successfully saved', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('Settings were successfully saved.', 'all-in-one-wp-security-and-firewall')); } else { @@ -926,7 +926,7 @@ function render_tab6() : configs->get_value('aiowps_enable_404_logging')=='1') echo ' checked="checked"'; ?> value="1"/> - + --> @@ -1088,7 +1088,7 @@ function render_tab7() : configs->get_value('aiowps_enable_custom_rules')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -1106,4 +1106,4 @@ function render_tab7() Date: Sat, 1 Jul 2017 04:00:59 +0200 Subject: [PATCH 08/34] dots --- .../classes/wp-security-file-scan.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/all-in-one-wp-security/classes/wp-security-file-scan.php b/all-in-one-wp-security/classes/wp-security-file-scan.php index 8cdf561..178d406 100644 --- a/all-in-one-wp-security/classes/wp-security-file-scan.php +++ b/all-in-one-wp-security/classes/wp-security-file-scan.php @@ -370,7 +370,7 @@ function execute_db_scan() if($delete_sql === FALSE){ echo '

'.sprintf( __('Deletion of known pharma hack entry for option_name %s failed. Please delete this entry manually!', 'all-in-one-wp-security-and-firewall'), $entry['option_name']).'

'; }else{ - echo '

'.sprintf( __('The options table entry with known pharma hack for option_id %s with option_name %s was successfully deleted', 'all-in-one-wp-security-and-firewall'), $entry['option_id'], $entry['option_name']).'

'; + echo '

'.sprintf( __('The options table entry with known pharma hack for option_id %s with option_name %s was successfully deleted.', 'all-in-one-wp-security-and-firewall'), $entry['option_id'], $entry['option_name']).'

'; } } @@ -393,7 +393,7 @@ function execute_db_scan() } if(!$sus_options_entry_found){ - echo '

'.__('No suspicious entries found in options table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in options table.', 'all-in-one-wp-security-and-firewall').'

'; } //Posts table @@ -446,7 +446,7 @@ function execute_db_scan() } if(!$sus_posts_entry_found){ - echo '

'.__('No suspicious entries found in posts table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in posts table.', 'all-in-one-wp-security-and-firewall').'

'; } //Links table @@ -498,7 +498,7 @@ function execute_db_scan() } if(!$sus_links_entry_found) { - echo '

'.__('No suspicious entries found in links table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in links table.', 'all-in-one-wp-security-and-firewall').'

'; } //Comments table @@ -549,7 +549,7 @@ function execute_db_scan() } if(!$sus_comments_entry_found) { - echo '

'.__('No suspicious entries found in comments table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in comments table.', 'all-in-one-wp-security-and-firewall').'

'; } //postmeta table @@ -577,7 +577,7 @@ function execute_db_scan() } if(!$sus_postmeta_entry_found) { - echo '

'.__('No suspicious entries found in postmeta table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in postmeta table.', 'all-in-one-wp-security-and-firewall').'

'; } //usermeta table @@ -605,7 +605,7 @@ function execute_db_scan() } if(!$sus_usermeta_entry_found) { - echo '

'.__('No suspicious entries found in usermeta table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in usermeta table.', 'all-in-one-wp-security-and-firewall').'

'; } //users table @@ -654,7 +654,7 @@ function execute_db_scan() } if(!$sus_users_entry_found) { - echo '

'.__('No suspicious entries found in users table', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('No suspicious entries found in users table.', 'all-in-one-wp-security-and-firewall').'

'; } $output = ob_get_contents(); @@ -751,4 +751,4 @@ static function get_file_change_summary($scan_result) return $scan_summary; } -} \ No newline at end of file +} From b5729683a572376cd2234f2d2e14469a95c18f01 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sat, 1 Jul 2017 04:09:18 +0200 Subject: [PATCH 09/34] translation string reduction --- .../admin/wp-security-user-accounts-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php b/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php index 4531524..ade39db 100644 --- a/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php +++ b/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php @@ -188,7 +188,7 @@ function render_tab2()

'.__('No action required.', 'all-in-one-wp-security-and-firewall').' + echo '

'.__('No action required!', 'all-in-one-wp-security-and-firewall').'
'.__('Your site does not have a user account where the display name is identical to the username.', 'all-in-one-wp-security-and-firewall').'

'; } ?> @@ -341,4 +341,4 @@ function get_all_admin_accounts($blog_id='') { } return $account_output; } -} //end class \ No newline at end of file +} //end class From a5884f56dbd556c99e29928176ab01982c149ba1 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sat, 1 Jul 2017 04:11:52 +0200 Subject: [PATCH 10/34] translation string reduction --- all-in-one-wp-security/admin/wp-security-filesystem-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-filesystem-menu.php b/all-in-one-wp-security/admin/wp-security-filesystem-menu.php index 845ea89..30ee675 100644 --- a/all-in-one-wp-security/admin/wp-security-filesystem-menu.php +++ b/all-in-one-wp-security/admin/wp-security-filesystem-menu.php @@ -435,7 +435,7 @@ function show_wp_filesystem_permission_status($name,$path,$recommended) '; } else { - echo ''.__('No Action Required', 'all-in-one-wp-security-and-firewall').''; + echo ''.__('No action required!', 'all-in-one-wp-security-and-firewall').''; } echo ""; } @@ -492,4 +492,4 @@ function display_system_logs_in_table($filepath) Date: Sat, 1 Jul 2017 19:00:15 +0200 Subject: [PATCH 11/34] translation string reduction --- .../other-includes/wp-security-rename-login-feature.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php index 62ce805..27e9f10 100644 --- a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php +++ b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php @@ -893,7 +893,7 @@ function retrieve_password() { if ( $reauth ) wp_clear_auth_cookie(); - login_header(__('Log In', 'all-in-one-wp-security-and-firewall' ), '', $errors); + login_header(__('Log in', 'all-in-one-wp-security-and-firewall' ), '', $errors); if ( isset($_POST['log']) ) $user_login = ( 'incorrect_password' == $errors->get_error_code() || 'empty_password' == $errors->get_error_code() ) ? esc_attr(wp_unslash($_POST['log'])) : ''; @@ -925,7 +925,7 @@ function retrieve_password() { ?>

- + From 9dc72161bf22b34ebe5df8ea20de5ffa23aa18d9 Mon Sep 17 00:00:00 2001 From: timse201 Date: Fri, 14 Jul 2017 21:07:13 +0200 Subject: [PATCH 12/34] typo fixed --- .../classes/grade-system/wp-security-feature-item-manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/classes/grade-system/wp-security-feature-item-manager.php b/all-in-one-wp-security/classes/grade-system/wp-security-feature-item-manager.php index 5aabd68..9324417 100644 --- a/all-in-one-wp-security/classes/grade-system/wp-security-feature-item-manager.php +++ b/all-in-one-wp-security/classes/grade-system/wp-security-feature-item-manager.php @@ -26,7 +26,7 @@ function initialize_features() $this->feature_items = array(); //Settings Menu Features //WP Generator Meta - $this->feature_items[] = new AIOWPSecurity_Feature_Item("wp-generator-meta-tag", __("Remove WP Generatore Meta Tag", "all-in-one-wp-security-and-firewall"), $this->feature_point_1, $this->sec_level_basic); + $this->feature_items[] = new AIOWPSecurity_Feature_Item("wp-generator-meta-tag", __("Remove WP Generator Meta Tag", "all-in-one-wp-security-and-firewall"), $this->feature_point_1, $this->sec_level_basic); //Prevent Image Hotlinks $this->feature_items[] = new AIOWPSecurity_Feature_Item("prevent-hotlinking", __("Prevent Image Hotlinking", "all-in-one-wp-security-and-firewall"), $this->feature_point_2, $this->sec_level_basic); @@ -804,4 +804,4 @@ function check_enable_fcd_scan_feature($item) } } -} \ No newline at end of file +} From 10eedc62789d85f628d57789bb6d347df830ee24 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 18:42:52 +0200 Subject: [PATCH 13/34] dots --- all-in-one-wp-security/admin/wp-security-blacklist-menu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-blacklist-menu.php b/all-in-one-wp-security/admin/wp-security-blacklist-menu.php index aa45312..92990ef 100644 --- a/all-in-one-wp-security/admin/wp-security-blacklist-menu.php +++ b/all-in-one-wp-security/admin/wp-security-blacklist-menu.php @@ -184,7 +184,7 @@ function render_tab1() : configs->get_value('aiowps_enable_blacklisting')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -219,7 +219,7 @@ function render_tab1() echo '

'.__('Each user agent string must be on a new line.', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Example 1 - A single user agent string to block:', 'all-in-one-wp-security-and-firewall').'

'; echo '

SquigglebotBot

'; - echo '

'.__('Example 2 - A list of more than 1 user agent strings to block', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('Example 2 - A list of more than 1 user agent strings to block:', 'all-in-one-wp-security-and-firewall').'

'; echo '

baiduspider
SquigglebotBot
SurveyBot
VoidEYE
webcrawl.net
YottaShopping_Bot

'; ?> @@ -261,4 +261,4 @@ function validate_user_agent_list() $_POST['aiowps_banned_user_agents'] = ''; //Clear the post variable for the banned address list return 1; } -} //end class \ No newline at end of file +} //end class From bb5ac13090b28dee7b5d5e01fe8168ad1caa4bf1 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 18:53:41 +0200 Subject: [PATCH 14/34] dots --- .../admin/wp-security-brute-force-menu.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-brute-force-menu.php b/all-in-one-wp-security/admin/wp-security-brute-force-menu.php index 0f0271b..493c830 100644 --- a/all-in-one-wp-security/admin/wp-security-brute-force-menu.php +++ b/all-in-one-wp-security/admin/wp-security-brute-force-menu.php @@ -202,7 +202,7 @@ function render_tab1() : configs->get_value('aiowps_enable_rename_login_page')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -260,7 +260,7 @@ function render_tab2() if (!$error) { $aio_wp_security->configs->set_value('aiowps_brute_force_secret_word',$brute_force_feature_secret_word); - $msg = '

'.__('You have successfully enabled the cookie based brute force prevention feature', 'all-in-one-wp-security-and-firewall').'

'; + $msg = '

'.__('You have successfully enabled the cookie based brute force prevention feature.', 'all-in-one-wp-security-and-firewall').'

'; $msg .= '

'.__('From now on you will need to log into your WP Admin using the following URL:', 'all-in-one-wp-security-and-firewall').'

'; $msg .= '

'.AIOWPSEC_WP_URL.'/?'.$brute_force_feature_secret_word.'=1

'; $msg .= '

'.__('It is important that you save this URL value somewhere in case you forget it, OR,', 'all-in-one-wp-security-and-firewall').'

'; @@ -550,7 +550,7 @@ function render_tab3() : configs->get_value('aiowps_enable_login_captcha')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -587,7 +587,7 @@ function render_tab3() : configs->get_value('aiowps_enable_lost_password_captcha')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -697,7 +697,7 @@ function render_tab4() : configs->get_value('aiowps_enable_whitelisting')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -721,7 +721,7 @@ function render_tab4() echo '

'.__('Example 1: 195.47.89.*', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Example 2: 195.47.*.*', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Example 3: 195.*.*.*', 'all-in-one-wp-security-and-firewall').'

'; - echo '

'.__('Or you can enter an IPv6 address (NOTE: ranges/wildcards are currently not supported for ipv6)', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('Or you can enter an IPv6 address (NOTE: ranges/wildcards are currently not supported for ipv6):', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Example 4: 4102:0:3ea6:79fd:b:46f8:230f:bb05', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Example 5: 2205:0:1ca2:810d::', 'all-in-one-wp-security-and-firewall').'

'; ?> @@ -786,7 +786,7 @@ function render_tab5() : configs->get_value('aiowps_enable_login_honeypot')=='1') echo ' checked="checked"'; ?> value="1"/> - + From 99dc721785bf026b4243c6f19fb966170254653c Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 20:34:41 +0200 Subject: [PATCH 15/34] dots --- .../admin/wp-security-dashboard-menu.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-dashboard-menu.php b/all-in-one-wp-security/admin/wp-security-dashboard-menu.php index 4e0d2a6..a047b6d 100644 --- a/all-in-one-wp-security/admin/wp-security-dashboard-menu.php +++ b/all-in-one-wp-security/admin/wp-security-dashboard-menu.php @@ -241,7 +241,7 @@ function drawChart() {
feature_items; $username_admin_feature = $feature_mgr->get_feature_item_by_id("user-accounts-change-admin-user"); echo '
'; @@ -369,7 +369,7 @@ function drawChart() {
configs->get_value('aiowps_site_lockout') == '1') { - echo '

' . __('Maintenance mode is currently enabled. Remember to turn it off when you are done', 'all-in-one-wp-security-and-firewall') . '

'; + echo '

' . __('Maintenance mode is currently enabled. Remember to turn it off when you are done!', 'all-in-one-wp-security-and-firewall') . '

'; } else { echo '

' . __('Maintenance mode is currently off.', 'all-in-one-wp-security-and-firewall') . '

'; } @@ -486,7 +486,7 @@ function drawChart() { $num_users = count($logged_in_users); if ($num_users > 1) { echo '

' . __('Number of users currently logged in site-wide is:', 'all-in-one-wp-security-and-firewall') . ' ' . $num_users . '

'; - $info_msg = '

' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '

'; + $info_msg = '

' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '

'; echo $info_msg . '
'; } else { echo '

' . __('There are no other site-wide users currently logged in.', 'all-in-one-wp-security-and-firewall') . '

'; @@ -500,7 +500,7 @@ function drawChart() { } if ($num_users > 1) { echo '

' . __('Number of users currently logged into your site (including you) is:', 'all-in-one-wp-security-and-firewall') . ' ' . $num_users . '

'; - $info_msg = '

' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '

'; + $info_msg = '

' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '

'; echo $info_msg . '
'; } else { echo '

' . __('There are no other users currently logged in.', 'all-in-one-wp-security-and-firewall') . '

'; @@ -528,7 +528,7 @@ function drawChart() { } else { $num_ips = count($locked_ips); echo '

' . __('Number of temporarily locked out IP addresses: ', 'all-in-one-wp-security-and-firewall') . ' ' . $num_ips . '

'; - $info_msg = '

' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $locked_ips_link) . '

'; + $info_msg = '

' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $locked_ips_link) . '

'; echo $info_msg . '
'; } @@ -848,7 +848,7 @@ function render_tab5() + class="description"> @@ -914,4 +914,4 @@ class="button-primary"/> Date: Sun, 16 Jul 2017 20:43:19 +0200 Subject: [PATCH 16/34] dots --- .../admin/wp-security-database-menu.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-database-menu.php b/all-in-one-wp-security/admin/wp-security-database-menu.php index be632bf..24094cc 100644 --- a/all-in-one-wp-security/admin/wp-security-database-menu.php +++ b/all-in-one-wp-security/admin/wp-security-database-menu.php @@ -153,7 +153,7 @@ function render_tab1()
DB Backup'; - $info_msg = '

'.sprintf( __('It is recommended that you perform a %s before using this feature', 'all-in-one-wp-security-and-firewall'), $backup_tab_link).'

'; + $info_msg = '

'.sprintf( __('It is recommended that you perform a %s before using this feature.', 'all-in-one-wp-security-and-firewall'), $backup_tab_link).'

'; echo $info_msg; ?>
@@ -322,7 +322,7 @@ function render_tab2() : configs->get_value('aiowps_enable_automated_backups')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -333,22 +333,22 @@ function render_tab2() - + : - + : configs->get_value('aiowps_send_backup_email_address')=='1') echo ' checked="checked"'; ?> value="1"/> - +
- + @@ -422,7 +422,7 @@ function change_db_prefix($table_old_prefix, $table_new_prefix) if ( false === $wpdb->query($sql) ) { $error = 1; - echo '

'.sprintf( __('%s table name update failed', 'all-in-one-wp-security-and-firewall'), ''.$table_old_name.'').'

'; + echo '

'.sprintf( __('%s table name update failed!', 'all-in-one-wp-security-and-firewall'), ''.$table_old_name.'').'

'; $aio_wp_security->debug_logger->log_debug("DB Security Feature - Unable to change prefix of table ".$table_old_name,4); } else { $table_count++; @@ -602,4 +602,4 @@ function alter_table_views($old_db_prefix, $new_db_prefix) return; } -} //end class \ No newline at end of file +} //end class From 302e56b47bc812fa24d906cd9d1f7916df110c8c Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 20:48:53 +0200 Subject: [PATCH 17/34] dots --- all-in-one-wp-security/admin/wp-security-filescan-menu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-filescan-menu.php b/all-in-one-wp-security/admin/wp-security-filescan-menu.php index 639ab63..5792cd9 100644 --- a/all-in-one-wp-security/admin/wp-security-filescan-menu.php +++ b/all-in-one-wp-security/admin/wp-security-filescan-menu.php @@ -275,7 +275,7 @@ function render_tab1() : configs->get_value('aiowps_enable_automated_fcd_scan')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -286,7 +286,7 @@ function render_tab1() - + @@ -326,7 +326,7 @@ function render_tab1() : configs->get_value('aiowps_send_fcd_scan_email')=='1') echo ' checked="checked"'; ?> value="1"/> - +

From 5e5afc15f21031d56f60202fd241def6155bdce5 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 20:52:22 +0200 Subject: [PATCH 18/34] dots --- .../admin/wp-security-filesystem-menu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-filesystem-menu.php b/all-in-one-wp-security/admin/wp-security-filesystem-menu.php index 30ee675..330a5d5 100644 --- a/all-in-one-wp-security/admin/wp-security-filesystem-menu.php +++ b/all-in-one-wp-security/admin/wp-security-filesystem-menu.php @@ -94,7 +94,7 @@ function render_tab1() $perm_result = @chmod($_POST['aiowps_permission_chg_file'], $rec_perm_dec); if ($perm_result === true) { - $msg = sprintf( __('The permissions for %s were succesfully changed to %s', 'all-in-one-wp-security-and-firewall'), $folder_or_file, $rec_perm_oct_string); + $msg = sprintf( __('The permissions for %s were succesfully changed to %s!', 'all-in-one-wp-security-and-firewall'), $folder_or_file, $rec_perm_oct_string); $this->show_msg_updated($msg); }else if($perm_result === false) { @@ -232,7 +232,7 @@ function render_tab2() : configs->get_value('aiowps_disable_file_editing')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -352,7 +352,7 @@ function render_tab4()

Please click the button below to view the latest system logs:

-
: +
:
From 12f7badb6257f5141f4229d58a42d60c27ba2e1a Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:02:43 +0200 Subject: [PATCH 19/34] dots --- .../admin/wp-security-firewall-menu.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-firewall-menu.php b/all-in-one-wp-security/admin/wp-security-firewall-menu.php index 5480861..09a5dd4 100644 --- a/all-in-one-wp-security/admin/wp-security-firewall-menu.php +++ b/all-in-one-wp-security/admin/wp-security-firewall-menu.php @@ -205,7 +205,7 @@ function render_tab1() '.__('This setting will add a directive in your .htaccess to disable access to the WordPress xmlrpc.php file which is responsible for the XML-RPC functionality in WordPress.', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Hackers can exploit various vulnerabilities in the WordPress XML-RPC API in a number of ways such as:', 'all-in-one-wp-security-and-firewall').'

'; - echo '

'.__('1) Denial of Service (DoS) attacks', 'all-in-one-wp-security-and-firewall').'

'; + echo '

'.__('1) Denial of Service (DoS) attacks.', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('2) Hacking internal routers.', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('3) Scanning ports in internal networks to get info from various hosts.', 'all-in-one-wp-security-and-firewall').'

'; echo '

'.__('Apart from the security protection benefit, this feature may also help reduce load on your server, particularly if your site currently has a lot of unwanted traffic hitting the XML-RPC API on your installation.', 'all-in-one-wp-security-and-firewall').'

'; @@ -381,7 +381,7 @@ function render_tab2() echo '
'; _e('This feature will prevent the listing of contents for all directories.', 'all-in-one-wp-security-and-firewall'); echo '
'; - _e('NOTE: In order for this feature to work "AllowOverride" of the Indexes directive must be enabled in your httpd.conf file. Ask your hosting provider to check this if you don\'t have access to httpd.conf', 'all-in-one-wp-security-and-firewall'); + _e('NOTE: In order for this feature to work "AllowOverride" of the Indexes directive must be enabled in your httpd.conf file. Ask your hosting provider to check this if you don\'t have access to httpd.conf.', 'all-in-one-wp-security-and-firewall'); ?>

@@ -549,7 +549,7 @@ function render_tab3() if ($res) { - $this->show_msg_updated(__('You have successfully saved the 5G/6G Firewall Protection configuration', 'all-in-one-wp-security-and-firewall')); + $this->show_msg_updated(__('You have successfully saved the 5G/6G Firewall Protection configuration.', 'all-in-one-wp-security-and-firewall')); // Recalculate points after the feature status/options have been altered $aiowps_feature_mgr->check_feature_status_and_recalculate_points(); } @@ -933,7 +933,7 @@ function render_tab6() : - + +

@@ -1024,7 +1024,7 @@ function render_tab7() //Save settings if (isset($_POST["aiowps_enable_custom_rules"]) && empty($_POST['aiowps_custom_rules'])) { - $this->show_msg_error('You must enter some .htaccess directives code in the text box below','all-in-one-wp-security-and-firewall'); + $this->show_msg_error('You must enter some .htaccess directives code in the text box below.','all-in-one-wp-security-and-firewall'); } else { From a9844c57236ceea41d995e1a9db6426e151993b0 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:06:50 +0200 Subject: [PATCH 20/34] dots --- all-in-one-wp-security/admin/wp-security-list-404.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-404.php b/all-in-one-wp-security/admin/wp-security-list-404.php index ce8648e..0216f7d 100644 --- a/all-in-one-wp-security/admin/wp-security-list-404.php +++ b/all-in-one-wp-security/admin/wp-security-list-404.php @@ -115,7 +115,7 @@ function get_bulk_actions() { function process_bulk_action() { if ('bulk_block_ip' === $this->current_action()) {//Process delete bulk actions if (!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes', 'all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.', 'all-in-one-wp-security-and-firewall')); } else { $this->block_ip(($_REQUEST['item'])); } @@ -123,14 +123,14 @@ function process_bulk_action() { if ('bulk_blacklist_ip' === $this->current_action()) {//Process delete bulk actions if (!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes', 'all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.', 'all-in-one-wp-security-and-firewall')); } else { $this->blacklist_ip_address(($_REQUEST['item'])); } } if ('delete' === $this->current_action()) {//Process delete bulk actions if (!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes', 'all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.', 'all-in-one-wp-security-and-firewall')); } else { $this->delete_404_event_records(($_REQUEST['item'])); } @@ -318,4 +318,4 @@ function prepare_items($ignore_pagination=false) { $this->items = $new_data; } -} \ No newline at end of file +} From 1b02c4048eda7af88d6daae2387a006b3e4e56fc Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:07:37 +0200 Subject: [PATCH 21/34] dots --- all-in-one-wp-security/admin/wp-security-list-acct-activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-acct-activity.php b/all-in-one-wp-security/admin/wp-security-list-acct-activity.php index 03db845..db92ccc 100644 --- a/all-in-one-wp-security/admin/wp-security-list-acct-activity.php +++ b/all-in-one-wp-security/admin/wp-security-list-acct-activity.php @@ -80,7 +80,7 @@ function process_bulk_action() { if(!isset($_REQUEST['item'])) { $error_msg = '

'; - $error_msg .= __('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall'); + $error_msg .= __('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall'); $error_msg .= '

'; _e($error_msg); } else{ From 0f9a29e1e73c4e4d0345a268a1eae9f6bea0e7bd Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:08:29 +0200 Subject: [PATCH 22/34] dots --- .../admin/wp-security-list-comment-spammer-ip.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-comment-spammer-ip.php b/all-in-one-wp-security/admin/wp-security-list-comment-spammer-ip.php index c78f2e7..e2500c8 100644 --- a/all-in-one-wp-security/admin/wp-security-list-comment-spammer-ip.php +++ b/all-in-one-wp-security/admin/wp-security-list-comment-spammer-ip.php @@ -89,7 +89,7 @@ function process_bulk_action() { if(!isset($_REQUEST['item'])) { $error_msg = '

'; - $error_msg .= __('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall'); + $error_msg .= __('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall'); $error_msg .= '

'; _e($error_msg); } else { @@ -207,7 +207,7 @@ function block_spammer_ip_records_old($entries) { $blacklist_settings_link = 'Ban Users'; $info_msg = '

'.__('NOTE: The .htaccess file was not modified because you have disabled the "Enable IP or User Agent Blacklisting" check box.', 'all-in-one-wp-security-and-firewall'). - '
'.sprintf( __('To block these IP addresses you will need to enable the above flag in the %s menu', 'all-in-one-wp-security-and-firewall'), $blacklist_settings_link).'

'; + '
'.sprintf( __('To block these IP addresses you will need to enable the above flag in the %s menu.', 'all-in-one-wp-security-and-firewall'), $blacklist_settings_link).'

'; AIOWPSecurity_Admin_Menu::show_msg_updated_st($info_msg); } } @@ -269,4 +269,4 @@ function prepare_items() 'total_pages' => ceil($total_items / $per_page) //WE have to calculate the total number of pages )); } -} \ No newline at end of file +} From f67d6b42eed0d31f971e6c059bc77c783a719af2 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:09:14 +0200 Subject: [PATCH 23/34] dots --- all-in-one-wp-security/admin/wp-security-list-locked-ip.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-locked-ip.php b/all-in-one-wp-security/admin/wp-security-list-locked-ip.php index 35878b2..1a18618 100644 --- a/all-in-one-wp-security/admin/wp-security-list-locked-ip.php +++ b/all-in-one-wp-security/admin/wp-security-list-locked-ip.php @@ -87,7 +87,7 @@ function process_bulk_action() { {//Process delete bulk actions if(!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall')); }else { $this->delete_lockdown_records(($_REQUEST['item'])); @@ -98,7 +98,7 @@ function process_bulk_action() { {//Process unlock bulk actions if(!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall')); }else { $this->unlock_ip_range(($_REQUEST['item'])); @@ -227,4 +227,4 @@ function prepare_items() { 'total_pages' => ceil($total_items/$per_page) //WE have to calculate the total number of pages ) ); } -} \ No newline at end of file +} From e05f900425a238d0cb1ee95988eb4b9cf5fa081c Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:10:42 +0200 Subject: [PATCH 24/34] dots --- all-in-one-wp-security/admin/wp-security-list-login-fails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-login-fails.php b/all-in-one-wp-security/admin/wp-security-list-login-fails.php index c3b50f8..8e1de67 100644 --- a/all-in-one-wp-security/admin/wp-security-list-login-fails.php +++ b/all-in-one-wp-security/admin/wp-security-list-login-fails.php @@ -79,7 +79,7 @@ function process_bulk_action() { if(!isset($_REQUEST['item'])) { $error_msg = '

'; - $error_msg .= __('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall'); + $error_msg .= __('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall'); $error_msg .= '

'; _e($error_msg); } else{ From 4969e1c9beb24d88eb5708dc8363b2b65817cae9 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:11:15 +0200 Subject: [PATCH 25/34] dots --- .../admin/wp-security-list-permanent-blocked-ip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-permanent-blocked-ip.php b/all-in-one-wp-security/admin/wp-security-list-permanent-blocked-ip.php index d794307..fd7daf0 100644 --- a/all-in-one-wp-security/admin/wp-security-list-permanent-blocked-ip.php +++ b/all-in-one-wp-security/admin/wp-security-list-permanent-blocked-ip.php @@ -90,7 +90,7 @@ function process_bulk_action() { if ('unblock' === $this->current_action()) {//Process unlock bulk actions if (!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes', 'all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.', 'all-in-one-wp-security-and-firewall')); } else { $this->unblock_ip_address(($_REQUEST['item'])); } @@ -176,4 +176,4 @@ function prepare_items() 'total_pages' => ceil($total_items / $per_page) //WE have to calculate the total number of pages )); } -} \ No newline at end of file +} From ab341a9d5a1f4beee05423c6a221dc9e6cbc3987 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:13:52 +0200 Subject: [PATCH 26/34] dots --- .../admin/wp-security-list-registered-users.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-list-registered-users.php b/all-in-one-wp-security/admin/wp-security-list-registered-users.php index aa6c273..e050ce1 100644 --- a/all-in-one-wp-security/admin/wp-security-list-registered-users.php +++ b/all-in-one-wp-security/admin/wp-security-list-registered-users.php @@ -98,7 +98,7 @@ function process_bulk_action() { {//Process approve bulk actions if(!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall')); }else { $this->approve_selected_accounts(($_REQUEST['item'])); @@ -109,7 +109,7 @@ function process_bulk_action() { {//Process delete bulk actions if(!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall')); }else { $this->delete_selected_accounts(($_REQUEST['item'])); @@ -120,7 +120,7 @@ function process_bulk_action() { {//Process block bulk actions if(!isset($_REQUEST['item'])) { - AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes','all-in-one-wp-security-and-firewall')); + AIOWPSecurity_Admin_Menu::show_msg_error_st(__('Please select some records using the checkboxes.','all-in-one-wp-security-and-firewall')); }else { $this->block_selected_ips(($_REQUEST['item'])); @@ -154,8 +154,8 @@ function approve_selected_accounts($entries) }else{ $email_msg = ''; $to_email_address = $user->user_email; - $subject = '['.get_option('siteurl').'] '. __('Your account is now active','all-in-one-wp-security-and-firewall'); - $email_msg .= __('Your account with user ID:','all-in-one-wp-security-and-firewall').$user->ID.__(' is now active','all-in-one-wp-security-and-firewall')."\n"; + $subject = '['.get_option('siteurl').'] '. __('Your account is now active.','all-in-one-wp-security-and-firewall'); + $email_msg .= __('Your account with user ID:','all-in-one-wp-security-and-firewall').$user->ID.__(' is now active.','all-in-one-wp-security-and-firewall')."\n"; $site_title = get_bloginfo( 'name' ); $from_name = empty($site_title)?'WordPress':$site_title; $email_header = 'From: '.$from_name.' <'.get_bloginfo('admin_email').'>' . "\r\n\\"; @@ -184,8 +184,8 @@ function approve_selected_accounts($entries) $user = get_user_by('id', $entries); $to_email_address = $user->user_email; $email_msg = ''; - $subject = '['.get_option('siteurl').'] '. __('Your account is now active','all-in-one-wp-security-and-firewall'); - $email_msg .= __('Your account with username: ','all-in-one-wp-security-and-firewall').$user->user_login.__(' is now active','all-in-one-wp-security-and-firewall')."\n"; + $subject = '['.get_option('siteurl').'] '. __('Your account is now active.','all-in-one-wp-security-and-firewall'); + $email_msg .= __('Your account with username: ','all-in-one-wp-security-and-firewall').$user->user_login.__(' is now active.','all-in-one-wp-security-and-firewall')."\n"; $site_title = get_bloginfo( 'name' ); $from_name = empty($site_title)?'WordPress':$site_title; $email_header = 'From: '.$from_name.' <'.get_bloginfo('admin_email').'>' . "\r\n\\"; @@ -330,4 +330,4 @@ function get_registered_user_data($status='') } return $final_data; } -} \ No newline at end of file +} From 425c080cb3b9d93d227f9ab1a04b91a5a45c247b Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:19:36 +0200 Subject: [PATCH 27/34] dots --- all-in-one-wp-security/admin/wp-security-settings-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-settings-menu.php b/all-in-one-wp-security/admin/wp-security-settings-menu.php index b46101d..4781f8a 100644 --- a/all-in-one-wp-security/admin/wp-security-settings-menu.php +++ b/all-in-one-wp-security/admin/wp-security-settings-menu.php @@ -536,7 +536,7 @@ function render_tab4() : configs->get_value('aiowps_remove_wp_generator_meta_info')=='1') echo ' checked="checked"'; ?> value="1"/> - + @@ -791,4 +791,4 @@ function check_if_valid_aiowps_settings_file($wp_file) } -} //end class \ No newline at end of file +} //end class From 4d9e16fe74b9b58333311f24f2fe2109cf09ddfb Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:23:05 +0200 Subject: [PATCH 28/34] dots --- all-in-one-wp-security/admin/wp-security-user-accounts-menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php b/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php index ade39db..7142e3e 100644 --- a/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php +++ b/all-in-one-wp-security/admin/wp-security-user-accounts-menu.php @@ -173,7 +173,7 @@ function render_tab2() $login_nick_name_accounts = AIOWPSecurity_Utility::check_identical_login_and_nick_names(); if ($login_nick_name_accounts) { echo '

'.__('Your site currently has the following accounts which have an identical login name and display name.', 'all-in-one-wp-security-and-firewall').' - ('.__('Click on the link to edit the settings of that particular user account', 'all-in-one-wp-security-and-firewall').'

'; + ('.__('Click on the link to edit the settings of that particular user account.', 'all-in-one-wp-security-and-firewall').'

'; ?> Date: Sun, 16 Jul 2017 21:26:40 +0200 Subject: [PATCH 29/34] dots --- all-in-one-wp-security/admin/wp-security-user-login-menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/admin/wp-security-user-login-menu.php b/all-in-one-wp-security/admin/wp-security-user-login-menu.php index 511917a..9796368 100644 --- a/all-in-one-wp-security/admin/wp-security-user-login-menu.php +++ b/all-in-one-wp-security/admin/wp-security-user-login-menu.php @@ -310,7 +310,7 @@ function render_tab1() configs->get_value('aiowps_enable_email_notify')=='1') echo ' checked="checked"'; ?> value="1"/>
- +
From 259038e3a4c9b996a1b6fc388f12d8d6dad02e9f Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:30:32 +0200 Subject: [PATCH 30/34] dots --- .../other-includes/wp-security-unlock-request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/other-includes/wp-security-unlock-request.php b/all-in-one-wp-security/other-includes/wp-security-unlock-request.php index f207559..959271b 100644 --- a/all-in-one-wp-security/other-includes/wp-security-unlock-request.php +++ b/all-in-one-wp-security/other-includes/wp-security-unlock-request.php @@ -47,7 +47,7 @@ $email = trim($_POST['aiowps_unlock_request_email']); if (empty($email) || !is_email($email)) { - $errors .= '

'.__('Please enter a valid email address','all-in-one-wp-security-and-firewall').'

'; + $errors .= '

'.__('Please enter a valid email address.','all-in-one-wp-security-and-firewall').'

'; } if($errors){ @@ -115,4 +115,4 @@ function display_unlock_form($email='') $output = ob_get_contents(); ob_end_clean(); return $output; -} \ No newline at end of file +} From 69e1a68f34b577cfdbb7ff7584e230adb557c783 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:32:41 +0200 Subject: [PATCH 31/34] dots --- .../other-includes/wp-security-rename-login-feature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php index 27e9f10..f6db655 100644 --- a/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php +++ b/all-in-one-wp-security/other-includes/wp-security-rename-login-feature.php @@ -338,7 +338,7 @@ function retrieve_password() { $allow = apply_filters( 'allow_password_reset', true, $user_data->ID ); if ( ! $allow ) { - return new WP_Error( 'no_password_reset', __('Password reset is not allowed for this user', 'all-in-one-wp-security-and-firewall' ) ); + return new WP_Error( 'no_password_reset', __('Password reset is not allowed for this user.', 'all-in-one-wp-security-and-firewall' ) ); } elseif ( is_wp_error( $allow ) ) { return $allow; } From 3826910534f51206ed3f82cb99e0be5f71bbe51c Mon Sep 17 00:00:00 2001 From: timse201 Date: Sun, 16 Jul 2017 21:41:07 +0200 Subject: [PATCH 32/34] dots --- all-in-one-wp-security/classes/wp-security-file-scan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/classes/wp-security-file-scan.php b/all-in-one-wp-security/classes/wp-security-file-scan.php index 178d406..b5ac727 100644 --- a/all-in-one-wp-security/classes/wp-security-file-scan.php +++ b/all-in-one-wp-security/classes/wp-security-file-scan.php @@ -59,7 +59,7 @@ function aiowps_send_file_change_alert_email($scan_result) $headers = 'From: ' . $from_name . ' <' . get_option('admin_email') . '>' . PHP_EOL; $subject = __( 'All In One WP Security - File change detected!', 'all-in-one-wp-security-and-firewall' ) . ' ' . date( 'l, F jS, Y \a\\t g:i a', current_time( 'timestamp' ) ); //$attachment = array(); - $message = __( 'A file change was detected on your system for site URL', 'all-in-one-wp-security-and-firewall' ) . ' ' . get_option( 'siteurl' ) . __( '. Scan was generated on', 'all-in-one-wp-security-and-firewall' ) . ' ' . date( 'l, F jS, Y \a\\t g:i a', current_time( 'timestamp' ) ); + $message = __( 'A file change was detected on your system for site URL.', 'all-in-one-wp-security-and-firewall' ) . ' ' . get_option( 'siteurl' ) . __( '. Scan was generated on', 'all-in-one-wp-security-and-firewall' ) . ' ' . date( 'l, F jS, Y \a\\t g:i a', current_time( 'timestamp' ) ); $message .= "\r\n\r\n".__( 'A summary of the scan results is shown below:', 'all-in-one-wp-security-and-firewall' ); $message .= "\r\n\r\n"; $message .= self::get_file_change_summary($scan_result); From c1f01153f730d877a6734c106e09a01742a772bb Mon Sep 17 00:00:00 2001 From: timse201 Date: Mon, 24 Jul 2017 19:53:44 +0200 Subject: [PATCH 33/34] Update wp-security-database-menu.php --- all-in-one-wp-security/admin/wp-security-database-menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/all-in-one-wp-security/admin/wp-security-database-menu.php b/all-in-one-wp-security/admin/wp-security-database-menu.php index 24094cc..331875a 100644 --- a/all-in-one-wp-security/admin/wp-security-database-menu.php +++ b/all-in-one-wp-security/admin/wp-security-database-menu.php @@ -348,7 +348,7 @@ function render_tab2() configs->get_value('aiowps_send_backup_email_address')=='1') echo ' checked="checked"'; ?> value="1"/>
- + From 6ddb169e09c130c5136cc0632883b4ba8e175dc1 Mon Sep 17 00:00:00 2001 From: timse201 Date: Sat, 29 Jul 2017 13:24:04 +0200 Subject: [PATCH 34/34] Update wp-security-database-menu.php --- all-in-one-wp-security/admin/wp-security-database-menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/all-in-one-wp-security/admin/wp-security-database-menu.php b/all-in-one-wp-security/admin/wp-security-database-menu.php index 331875a..3f22f2c 100644 --- a/all-in-one-wp-security/admin/wp-security-database-menu.php +++ b/all-in-one-wp-security/admin/wp-security-database-menu.php @@ -162,7 +162,7 @@ function render_tab1() - + - +
: prefix; ?>
: configs->get_value('aiowps_enable_random_prefix')=='1') echo ' checked="checked"'; ?> value="1"/>