Protect Your Admin - Version 3.2.1

Version Description

Download this release

Release Info

Developer india-web-developer
Plugin Icon 128x128 Protect Your Admin
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.3 to 3.2.1

css/index.php CHANGED
File without changes
images/index.php CHANGED
File without changes
images/mrweb.jpg CHANGED
File without changes
index.php CHANGED
File without changes
js/index.php CHANGED
File without changes
js/pwa.js CHANGED
File without changes
lib/disable.php CHANGED
File without changes
lib/hooks.php CHANGED
File without changes
lib/index.php CHANGED
File without changes
lib/pwa-deactivate.php CHANGED
File without changes
protect-wp-admin.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.wp-experts.in/
5
  Description: Give extra protection to your site admin and make secure your website against hackers!!
6
  Author: WP Experts Team
7
  Author URI: https://www.wp-experts.in/
8
- Version: 3.3
9
  */
10
 
11
  /*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
@@ -41,6 +41,9 @@ endif;
41
  */
42
  add_action( 'admin_bar_menu', 'toolbar_link_to_pwa', 999 );
43
  function toolbar_link_to_pwa( $wp_admin_bar ) {
 
 
 
44
  $args = array(
45
  'id' => 'pwa_menu_bar',
46
  'title' => 'Protect WP Admin',
@@ -284,7 +287,7 @@ echo $script='<script type="text/javascript">
284
  return false;
285
  }
286
 
287
- if(($el[0].checked) && pwaActive==""){
288
  //alert(pwaActive);
289
  if (confirm("1. Have you updated permalink settings to SEO friendly URL\n\nIf your answer is YES then Click OK to continue")){
290
  return true;
@@ -293,7 +296,7 @@ echo $script='<script type="text/javascript">
293
  location.href="'.admin_url('options-permalink.php').'";
294
  return false;
295
  }
296
- }
297
  var seoUrlVal=jQuery("#check_permalink").val();
298
  var htaccessWriteable ="'.$htaccessWriteable.'";
299
  var hostIP ="'.$localHostIP.'";
5
  Description: Give extra protection to your site admin and make secure your website against hackers!!
6
  Author: WP Experts Team
7
  Author URI: https://www.wp-experts.in/
8
+ Version: 3.3.1
9
  */
10
 
11
  /*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
41
  */
42
  add_action( 'admin_bar_menu', 'toolbar_link_to_pwa', 999 );
43
  function toolbar_link_to_pwa( $wp_admin_bar ) {
44
+ $user = wp_get_current_user();
45
+ if (!current_user_can('administrator') && is_admin()) return;
46
+
47
  $args = array(
48
  'id' => 'pwa_menu_bar',
49
  'title' => 'Protect WP Admin',
287
  return false;
288
  }
289
 
290
+ /*if(($el[0].checked) && pwaActive==""){
291
  //alert(pwaActive);
292
  if (confirm("1. Have you updated permalink settings to SEO friendly URL\n\nIf your answer is YES then Click OK to continue")){
293
  return true;
296
  location.href="'.admin_url('options-permalink.php').'";
297
  return false;
298
  }
299
+ }*/
300
  var seoUrlVal=jQuery("#check_permalink").val();
301
  var htaccessWriteable ="'.$htaccessWriteable.'";
302
  var hostIP ="'.$localHostIP.'";
pwa-class.php CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: secure website, secure wordpress, protect wp admin, protection,security, wordpress protection, wordpress security, prevent hacking, hack, secure login, website security, change username, rename username, admin url, secure admin, username, protect admin, login, secure wordpress admin, admin login, admin, rename admin url
5
  Requires at least: 5.0
6
  Tested up to: 5.5.1
7
- Stable tag: 3.3
8
 
9
  Give extra protection to your wordpress admin by rename default wordpress admin url i.e /wp-admin and set numbers of unsuccessful attempts. WP Protect Admin wordpress plugin will safe your site from hackers and give you extra features like (change existing user name and track user login history log) to make secure your website.
10
 
@@ -131,6 +131,10 @@ Here we are using new admin slug as "myadmin" so as per your new admin slug you
131
 
132
  == Changelog ==
133
 
 
 
 
 
134
  = 3.3 =
135
   * Tested with new wordpress version 5.4.2
136
   * Fixed new admin url page not found issue when you setup wordpress in subdirectory.
4
  Tags: secure website, secure wordpress, protect wp admin, protection,security, wordpress protection, wordpress security, prevent hacking, hack, secure login, website security, change username, rename username, admin url, secure admin, username, protect admin, login, secure wordpress admin, admin login, admin, rename admin url
5
  Requires at least: 5.0
6
  Tested up to: 5.5.1
7
+ Stable tag: 3.3.1
8
 
9
  Give extra protection to your wordpress admin by rename default wordpress admin url i.e /wp-admin and set numbers of unsuccessful attempts. WP Protect Admin wordpress plugin will safe your site from hackers and give you extra features like (change existing user name and track user login history log) to make secure your website.
10
 
131
 
132
  == Changelog ==
133
 
134
+ = 3.4 =
135
+  * Tested with new wordpress version 5.5.1
136
+  * added condition to show admin menu bar only for admin
137
+
138
  = 3.3 =
139
   * Tested with new wordpress version 5.4.2
140
   * Fixed new admin url page not found issue when you setup wordpress in subdirectory.