Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spelling #85

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions all-in-one-wp-security/admin/wp-security-admin-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function show_msg_settings_updated()
static function show_msg_record_deleted_st()
{
echo '<div id="message" class="updated fade"><p><strong>';
_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 '</strong></p></div>';
}

Expand Down Expand Up @@ -90,4 +90,4 @@ function end_buffer_and_collect()
ob_end_clean();
return $output;
}
}
}
6 changes: 3 additions & 3 deletions all-in-one-wp-security/admin/wp-security-blacklist-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function render_tab1()
<th scope="row"><?php _e('Enable IP or User Agent Blacklisting', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_blacklisting" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_blacklisting')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to enable the banning (or blacklisting) of selected IP addresses and/or user agents specified in the settings below', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to enable the banning (or blacklisting) of selected IP addresses and/or user agents specified in the settings below.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
<tr valign="top">
Expand Down Expand Up @@ -219,7 +219,7 @@ function render_tab1()
echo '<p class="description">'.__('Each user agent string must be on a new line.', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 1 - A single user agent string to block:', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">SquigglebotBot</p>';
echo '<p class="description">'.__('Example 2 - A list of more than 1 user agent strings to block', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 2 - A list of more than 1 user agent strings to block:', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">baiduspider<br />SquigglebotBot<br />SurveyBot<br />VoidEYE<br />webcrawl.net<br />YottaShopping_Bot</p>';
?>
</div>
Expand Down Expand Up @@ -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
} //end class
18 changes: 9 additions & 9 deletions all-in-one-wp-security/admin/wp-security-brute-force-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function render_tab1()
<th scope="row"><?php _e('Enable Rename Login Page Feature', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_rename_login_page" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_rename_login_page')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to enable the rename login page feature', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to enable the rename login page feature.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
<tr valign="top">
Expand Down Expand Up @@ -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 = '<p>'.__('You have successfully enabled the cookie based brute force prevention feature', 'all-in-one-wp-security-and-firewall').'</p>';
$msg = '<p>'.__('You have successfully enabled the cookie based brute force prevention feature.', 'all-in-one-wp-security-and-firewall').'</p>';
$msg .= '<p>'.__('From now on you will need to log into your WP Admin using the following URL:', 'all-in-one-wp-security-and-firewall').'</p>';
$msg .= '<p><strong>'.AIOWPSEC_WP_URL.'/?'.$brute_force_feature_secret_word.'=1</strong></p>';
$msg .= '<p>'.__('It is important that you save this URL value somewhere in case you forget it, OR,', 'all-in-one-wp-security-and-firewall').'</p>';
Expand Down Expand Up @@ -403,7 +403,7 @@ function render_tab2()
<td><input type="text" size="40" name="aiowps_cookie_based_brute_force_redirect_url" value="<?php echo $aio_wp_security->configs->get_value('aiowps_cookie_based_brute_force_redirect_url'); ?>" />
<span class="description">
<?php
_e('Specify a URL to redirect a hacker to when they try to access your WordPress login page.', 'all-in-one-wp-security-and-firewall');
_e('Specify a URL to redirect hackers to when they try to access your WordPress login page.', 'all-in-one-wp-security-and-firewall');
?>
</span>
<span class="aiowps_more_info_anchor"><span class="aiowps_more_info_toggle_char">+</span><span class="aiowps_more_info_toggle_text"><?php _e('More Info', 'all-in-one-wp-security-and-firewall'); ?></span></span>
Expand Down Expand Up @@ -550,7 +550,7 @@ function render_tab3()
<th scope="row"><?php _e('Enable Captcha On Login Page', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_login_captcha" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_login_captcha')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to insert a captcha form on the login page', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to insert a captcha form on the login page.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
</table>
Expand Down Expand Up @@ -587,7 +587,7 @@ function render_tab3()
<th scope="row"><?php _e('Enable Captcha On Lost Password Page', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_lost_password_captcha" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_lost_password_captcha')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to insert a captcha form on the lost password page', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to insert a captcha form on the lost password page.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
</table>
Expand Down Expand Up @@ -697,7 +697,7 @@ function render_tab4()
<th scope="row"><?php _e('Enable IP Whitelisting', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_whitelisting" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_whitelisting')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to enable the whitelisting of selected IP addresses specified in the settings below', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to enable the whitelisting of selected IP addresses specified in the settings below.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
<tr valign="top">
Expand All @@ -721,7 +721,7 @@ function render_tab4()
echo '<p class="description">'.__('Example 1: 195.47.89.*', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 2: 195.47.*.*', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 3: 195.*.*.*', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Or you can enter an IPv6 address (NOTE: ranges/wildcards are currently not supported for ipv6)', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Or you can enter an IPv6 address (NOTE: ranges/wildcards are currently not supported for ipv6):', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 4: 4102:0:3ea6:79fd:b:46f8:230f:bb05', 'all-in-one-wp-security-and-firewall').'</p>';
echo '<p class="description">'.__('Example 5: 2205:0:1ca2:810d::', 'all-in-one-wp-security-and-firewall').'</p>';
?>
Expand Down Expand Up @@ -786,7 +786,7 @@ function render_tab5()
<th scope="row"><?php _e('Enable Honeypot On Login Page', 'all-in-one-wp-security-and-firewall')?>:</th>
<td>
<input name="aiowps_enable_login_honeypot" type="checkbox"<?php if($aio_wp_security->configs->get_value('aiowps_enable_login_honeypot')=='1') echo ' checked="checked"'; ?> value="1"/>
<span class="description"><?php _e('Check this if you want to enable the honeypot feature for the login page', 'all-in-one-wp-security-and-firewall'); ?></span>
<span class="description"><?php _e('Check this if you want to enable the honeypot feature for the login page.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
</table>
Expand All @@ -798,4 +798,4 @@ function render_tab5()
}


} //end class
} //end class
14 changes: 7 additions & 7 deletions all-in-one-wp-security/admin/wp-security-dashboard-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function drawChart() {
<div class="inside">

<?php
_e('Below is the current status of the critical features that you should activate on your site to achieve a minimum level of recommended security', 'all-in-one-wp-security-and-firewall');
_e('Below is the current status of the critical features that you should activate on your site to achieve a minimum level of recommended security.', 'all-in-one-wp-security-and-firewall');
$feature_items = $feature_mgr->feature_items;
$username_admin_feature = $feature_mgr->get_feature_item_by_id("user-accounts-change-admin-user");
echo '<div class="aiowps_feature_status_container">';
Expand Down Expand Up @@ -369,7 +369,7 @@ function drawChart() {
<div class="inside">
<?php
if ($aio_wp_security->configs->get_value('aiowps_site_lockout') == '1') {
echo '<p>' . __('Maintenance mode is currently enabled. Remember to turn it off when you are done', 'all-in-one-wp-security-and-firewall') . '</p>';
echo '<p>' . __('Maintenance mode is currently enabled. Remember to turn it off when you are done!', 'all-in-one-wp-security-and-firewall') . '</p>';
} else {
echo '<p>' . __('Maintenance mode is currently off.', 'all-in-one-wp-security-and-firewall') . '</p>';
}
Expand Down Expand Up @@ -486,7 +486,7 @@ function drawChart() {
$num_users = count($logged_in_users);
if ($num_users > 1) {
echo '<div class="aio_red_box"><p>' . __('Number of users currently logged in site-wide is:', 'all-in-one-wp-security-and-firewall') . ' <strong>' . $num_users . '</strong></p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '</p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '</p>';
echo $info_msg . '</div>';
} else {
echo '<div class="aio_green_box"><p>' . __('There are no other site-wide users currently logged in.', 'all-in-one-wp-security-and-firewall') . '</p></div>';
Expand All @@ -500,7 +500,7 @@ function drawChart() {
}
if ($num_users > 1) {
echo '<div class="aio_red_box"><p>' . __('Number of users currently logged into your site (including you) is:', 'all-in-one-wp-security-and-firewall') . ' <strong>' . $num_users . '</strong></p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '</p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $users_online_link) . '</p>';
echo $info_msg . '</div>';
} else {
echo '<div class="aio_green_box"><p>' . __('There are no other users currently logged in.', 'all-in-one-wp-security-and-firewall') . '</p></div>';
Expand Down Expand Up @@ -528,7 +528,7 @@ function drawChart() {
} else {
$num_ips = count($locked_ips);
echo '<div class="aio_red_box"><p>' . __('Number of temporarily locked out IP addresses: ', 'all-in-one-wp-security-and-firewall') . ' <strong>' . $num_ips . '</strong></p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details', 'all-in-one-wp-security-and-firewall'), $locked_ips_link) . '</p>';
$info_msg = '<p>' . sprintf(__('Go to the %s menu to see more details.', 'all-in-one-wp-security-and-firewall'), $locked_ips_link) . '</p>';
echo $info_msg . '</div>';
}

Expand Down Expand Up @@ -848,7 +848,7 @@ function render_tab5()
</option>
</select>
<span
class="description"><?php _e('Select one of the log files to view the contents', 'all-in-one-wp-security-and-firewall'); ?></span>
class="description"><?php _e('Select one of the log files to view the contents.', 'all-in-one-wp-security-and-firewall'); ?></span>
</td>
</tr>
</table>
Expand Down Expand Up @@ -914,4 +914,4 @@ class="button-primary"/>
<?php
}

} //end class
} //end class
Loading