Protect Your Admin - Version 3.6.2

Version Description

Download this release

Release Info

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

Code changes from version 3.2.1 to 3.6.2

Files changed (9) hide show
  1. js/pwa-login.js +45 -0
  2. js/pwa.js +36 -0
  3. lib/disable.php +0 -19
  4. lib/hooks.php +0 -37
  5. lib/index.php +0 -4
  6. lib/pwa-deactivate.php +0 -19
  7. protect-wp-admin.php +1 -1
  8. pwa-class.php +47 -119
  9. readme.txt +28 -25
js/pwa-login.js ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function(){
2
+
3
+ let u = pwaawp_object.u;
4
+
5
+ let su = pwaawp_object.s+'/'+u.substr(3);
6
+
7
+ let b = pwaawp_object.b;
8
+ let l = pwaawp_object.l;
9
+ let c = pwaawp_object.c;
10
+
11
+ if( l != '') {
12
+ jQuery("#login h1 a").css('background', 'url(' + l + ')');
13
+ }
14
+
15
+ if( b != '') {
16
+ jQuery("body.login-action-login,html,.login .button-primary").css('background-color',b);
17
+ }
18
+
19
+ if( c != '') {
20
+ jQuery(".login #backtoblog a, .login #nav a").css('color',c);
21
+ }
22
+
23
+ jQuery("#login #login_error a").attr("href",su+'/lostpassword');
24
+ jQuery("body.login-action-resetpass p.reset-pass a").attr("href",su);
25
+ var formId= jQuery("#login form").attr("id");
26
+ if(formId=="loginform"){
27
+ jQuery("#"+formId).attr("action",su);
28
+ }else if("lostpasswordform"==formId){
29
+ jQuery("#"+formId).attr("action",pwaawp_object.u+'/lostpassword');
30
+ jQuery("#"+formId+" input:hidden[name=redirect_to]").val(pwaawp_object.u+'/?checkemail=confirm');
31
+ }else if("registerform"==formId){
32
+ jQuery("#"+formId).attr("action",pwaawp_object.u+'/register');
33
+ }
34
+ else
35
+ {
36
+ //silent
37
+ }
38
+ jQuery("#nav a").each(function(){
39
+ var linkText = jQuery(this).attr("href").match(/[^/]*(?=(\/)?$)/)[0];
40
+ if(linkText=="wp-login.php"){jQuery(this).attr("href",pwaawp_object.u);}
41
+ else if(linkText=="wp-login.php?action=register"){jQuery(this).attr("href",pwaawp_object.u+'/register');}else if(linkText=="wp-login.php?action=lostpassword"){jQuery(this).attr("href",pwaawp_object.u+'/lostpassword');}else {
42
+ //silent
43
+ }
44
+ });
45
+ });
js/pwa.js CHANGED
@@ -1,5 +1,41 @@
1
  /* admin js*/
2
  jQuery(document).ready(function(){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  /* add image upload image button */
4
  jQuery(".upload_image").click(function() {
5
  inputfieldId = jQuery(this).attr("data-id");
1
  /* admin js*/
2
  jQuery(document).ready(function(){
3
+ jQuery(".pwa-tab").hide();
4
+ jQuery("#div-pwa-general").show();
5
+ jQuery(".pwa-tab-links").click(function(){
6
+ var divid=jQuery(this).attr("id");
7
+ jQuery(".pwa-tab-links").removeClass("active");
8
+ jQuery(".pwa-tab").hide();
9
+ jQuery("#"+divid).addClass("active");
10
+ jQuery("#div-"+divid).fadeIn();
11
+ });
12
+ console.log(pwa_admin_object.st+'ffff');
13
+ jQuery("#pwa-settings-form-admin .button-primary").click(function(){
14
+ var $el = jQuery("#pwa_active");
15
+ var $vlue = jQuery("#pwa_rewrite_text").val();
16
+ var pwaActive = pwa_admin_object.st;
17
+ if( ( $el[0].checked ) && $vlue=="" ) {
18
+ jQuery("#pwa_rewrite_text").css("border","1px solid red");
19
+ jQuery("#adminurl").append(" <span style=\'color:red;display:block;\'>Please enter new admin slug</span>");
20
+ return false;
21
+ }
22
+
23
+ var seoUrlVal=jQuery("#check_permalink").val();
24
+ var htaccessWriteable = pwa_admin_object.ht;
25
+ var hostIP =pwa_admin_object.ip;
26
+ // alert(hostIP);
27
+ if(seoUrlVal=="no")
28
+ {
29
+ alert("Please update permalinks before activate the plugin. permalinks option should not be default!.");
30
+ window.open(pwa_admin_object.ur,"_blank");
31
+ return false;
32
+ }
33
+ else
34
+ {
35
+ return true;
36
+ }
37
+ });
38
+
39
  /* add image upload image button */
40
  jQuery(".upload_image").click(function() {
41
  inputfieldId = jQuery(this).attr("data-id");
lib/disable.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
- /*
3
- * Protect WP-Admin (C)
4
- * Deactivate plugin using URL
5
- * */
6
- ?>
7
- <?php
8
- if ( ! defined( 'ABSPATH' ) && !isset($_GET['action']) ) exit; // Exit if accessed directly
9
- if(isset($_GET['action']))
10
- {
11
- require_once('../../../../wp-load.php' );
12
- $array = get_option('active_plugins');
13
- $array_without_strawberries = array_diff($array, array('protect-wp-admin/protect-wp-admin.php'));
14
- update_option( 'active_plugins', $array_without_strawberries );
15
- echo "<strong>protect-wp-admin</strong> plugin has been disabled";
16
- flush_rewrite_rules();
17
- wp_die();
18
- }
19
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/hooks.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
- /*
3
- * Protect WP-Admin (C)
4
- * define all hooks
5
- * */
6
- /************************************
7
- * Hooks to overide option value before save it into database
8
- * ************************************/
9
- function pwa_update_field_rewrite_text( $new_value, $old_value ) {
10
- $new_value = ($new_value==$old_value) ? $old_value : $new_value;
11
- $new_value = str_replace('/','-',trim(stripslashes(strip_tags($new_value))));
12
- return $new_value;
13
- }
14
- add_filter( 'pre_update_option_pwa_rewrite_text', 'pwa_update_field_rewrite_text', 10, 2 );
15
- add_filter( 'login_url', 'my_login_page', 10, 2 );
16
- function my_login_page( $login_url, $redirect ) {
17
- $enable = get_option('pwa_active');
18
- $newurl = get_option('pwa_rewrite_text');
19
- if($enable && $newurl!='')
20
- {
21
- $login_url = str_replace("wp-login.php",$newurl,$login_url);
22
- }
23
- return $login_url;
24
- }
25
-
26
- add_action( 'login_form', 'replace_login_submit_form',1);
27
- function replace_login_submit_form() {
28
- $enable = get_option('pwa_active');
29
- $newurl = get_option('pwa_rewrite_text');
30
- if($enable && $newurl!='')
31
- {
32
- $your_content = ob_get_contents();
33
- $your_content = str_replace("wp-login.php",$newurl,$your_content);
34
- ob_get_clean();
35
- echo $your_content;
36
- }
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/index.php DELETED
@@ -1,4 +0,0 @@
1
- <?php
2
- /**
3
- * Nothing to see here.
4
- */
 
 
 
 
lib/pwa-deactivate.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
- /*
3
- * Protect WP-Admin (C)
4
- * Deactivate plugin using URL
5
- * */
6
- ?>
7
- <?php
8
- if ( ! defined( 'ABSPATH' ) && !isset($_GET['disable_pwa']) ) exit; // Exit if accessed directly
9
- if(isset($_GET['disable_pwa']))
10
- {
11
- require_once('../../../../wp-load.php' );
12
- $array = get_option('active_plugins');
13
- $array_without_strawberries = array_diff($array, array('protect-wp-admin/protect-wp-admin.php'));
14
- update_option( 'active_plugins', $array_without_strawberries );
15
- echo "<strong>protect-wp-admin</strong> plugin has been disabled";
16
- flush_rewrite_rules();
17
- wp_die();
18
- }
19
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.1
9
  */
10
 
11
  /*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
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.6.2
9
  */
10
 
11
  /*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
pwa-class.php CHANGED
@@ -28,8 +28,6 @@ if(isset($getPwaOptions['pwa_active']) && '1'==$getPwaOptions['pwa_active'])
28
  add_action('login_enqueue_scripts','pwa_load_jquery');
29
  add_action('init', 'init_pwa_admin_rewrite_rules' );
30
  add_action('init', 'pwa_admin_url_redirect_conditions' );
31
- add_action('login_head', 'pwa_update_login_page_logo');
32
- add_action('login_footer','pwa_custom_script',5);
33
  add_action('login_enqueue_scripts','check_login_status',20);
34
 
35
  if(isset($getPwaOptions['pwa_logout']))
@@ -100,59 +98,12 @@ wp_enqueue_script("jquery");
100
  }
101
  endif;
102
 
103
- if(!function_exists('pwa_custom_script')):
104
- function pwa_custom_script()
105
- {
106
- $getPwaOptions=get_pwa_setting_options();
107
- if(isset($getPwaOptions['pwa_active']) && ''!=$getPwaOptions['pwa_rewrite_text']){
108
-
109
- echo '<script>jQuery(document).ready(function(){
110
- jQuery("#login #login_error a").attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
111
- jQuery("body.login-action-resetpass p.reset-pass a").attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/').'");
112
- var formId= jQuery("#login form").attr("id");
113
- if(formId=="loginform"){
114
- jQuery("#"+formId).attr("action","'.site_url($getPwaOptions["pwa_rewrite_text"]).'");
115
- }else if("lostpasswordform"==formId){
116
- jQuery("#"+formId).attr("action","'.site_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
117
- jQuery("#"+formId+" input:hidden[name=redirect_to]").val("'.site_url($getPwaOptions["pwa_rewrite_text"].'/?checkemail=confirm').'");
118
- }else if("registerform"==formId){
119
- jQuery("#"+formId).attr("action","'.site_url($getPwaOptions["pwa_rewrite_text"].'/register').'");
120
- }
121
- else
122
- {
123
- //silent
124
- }
125
- //alert(jQuery("#nav a").slice(0).attr("href"));
126
- ';
127
- $currentUrl = pwa_get_current_page_url($_SERVER);
128
- echo 'jQuery("#nav a").each(function(){
129
- /* var linkText=jQuery(this).attr("href");
130
-
131
- if(linkText.indexOf("?action=register") >= 0)
132
- {
133
- //jQuery(this).attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/register').'");
134
- }
135
-
136
- if(linkText.indexOf("?action=lostpassword") >= 0)
137
- {
138
- // jQuery(this).attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
139
- }
140
- */
141
- var linkText = jQuery(this).attr("href").match(/[^/]*(?=(\/)?$)/)[0];
142
- if(linkText=="wp-login.php"){jQuery(this).attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"]).'");}
143
- else if(linkText=="wp-login.php?action=register"){jQuery(this).attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/register').'");}else if(linkText=="wp-login.php?action=lostpassword"){jQuery(this).attr("href","'.site_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");}else {
144
- //silent
145
- }
146
- });});</script>';
147
- }
148
-
149
- }
150
- endif;
151
-
152
- if(!function_exists('pwa_admin_url_redirect_conditions')):
153
- function pwa_admin_url_redirect_conditions()
154
- {
155
  $getPwaOptions=get_pwa_setting_options();
 
156
  $pwaActualURLAry =array
157
  (
158
  site_url('/wp-login.php'),
@@ -164,15 +115,18 @@ function pwa_admin_url_redirect_conditions()
164
  );
165
  $request_url = pwa_get_current_page_url($_SERVER);
166
  $newUrl = explode('?',$request_url);
167
- //print_r($pwaActualURLAry); echo $newUrl[0];exit;
168
- if(! is_user_logged_in() && in_array($newUrl[0],$pwaActualURLAry) )
169
- {
170
- if(wp_doing_ajax() && $newUrl[0]==site_url('/wp-admin/admin-ajax.php'))
171
- return true;
 
 
 
172
  /** is forgot password link */
173
  if( isset($_GET['login']) && isset($_GET['action']) && $_GET['action']=='rp' && $_GET['login']!='')
174
  {
175
- $username = $_GET['login'];
176
  if(username_exists($username))
177
  {
178
  //silent
@@ -253,47 +207,47 @@ function pwa_current_path_protocol($s, $use_forwarded_host=false)
253
  return $pwa_protocol . '://' . $host;
254
  }
255
  endif;
256
- if(!function_exists('pwa_get_current_page_url')):
257
- function pwa_get_current_page_url($s, $use_forwarded_host=false)
258
- {
259
- return pwa_current_path_protocol($s, $use_forwarded_host) . $s['REQUEST_URI'];
260
- }
 
 
 
 
 
261
  endif;
 
 
262
  /* Change Wordpress Default Logo */
263
  if(!function_exists('pwa_update_login_page_logo')):
264
  function pwa_update_login_page_logo()
265
  {
266
-
267
- $getPwaOptions=get_pwa_setting_options();
268
- // get logo height and width
269
- $imagelogo = $getPwaOptions['pwa_logo_path'];
270
- echo '<style type="text/css"> /* Protect WP-Admin Style*/';
271
- if(!empty($imagelogo))
272
- {
273
- ob_start();
274
- $data = getimagesize($imagelogo);
275
- $resize_warning = ob_get_clean();
276
- if(!empty($resize_warning)) {
277
- $logwigdth = '100px !important;';
278
- $logheight = '100px !important;';
279
- $logbgsize = '100px !important';
280
- } else {
281
- $logwigdth =$data[0].'px !important;';
282
- $logheight = $data[1].'px !important;';
283
- $logbgsize ='inherit !important;';
284
- }
285
 
286
- if(isset($getPwaOptions['pwa_logo_path']) && $getPwaOptions['pwa_logo_path']!=''){
287
- echo ' h1 a { background-image:url('.$getPwaOptions['pwa_logo_path'].') !important; width:'.$logwigdth.'height:'.$logheight.'background-size:'.$logbgsize.'}';
288
- }
289
- }
290
- if(isset($getPwaOptions['pwa_login_page_bg_color']) && $getPwaOptions['pwa_login_page_bg_color']!='')
291
- echo ' body.login-action-login,html{ background:'.$getPwaOptions['pwa_login_page_bg_color'].' !important; height: 100% !important;}.login .button-primary{background:'.$getPwaOptions['pwa_login_page_bg_color'].' !important;}.login #backtoblog a, .login #nav a { color: '.$getPwaOptions['pwa_login_page_color'].'; }';
292
- echo '</style>';
293
-
294
-
295
  }
296
  endif;
 
 
 
 
 
 
297
  /*************************************************************
298
  Hooks to overide option value before save it into database
299
  * ************************************************************/
@@ -302,29 +256,3 @@ $new_value = str_replace('/','-',trim(stripslashes(strip_tags($new_value))));
302
  return $new_value;
303
  }
304
  add_filter( 'pre_update_option_pwa_rewrite_text', 'pwa_update_field_rewrite_text', 10, 2 );
305
- /*************************************************************
306
- Hooks to overide login page url
307
- *************************************************************/
308
- remove_filter( 'login_url', 'pwa_hooks_login_page', 10, 2 );
309
- function pwa_hooks_login_page( $login_url, $redirect ) {
310
- $enable = get_option('pwa_active');
311
- $newurl = get_option('pwa_rewrite_text');
312
- if($enable && $newurl!='')
313
- {
314
- $login_url = str_replace("wp-login.php",$newurl,$login_url);
315
- }
316
- return $login_url;
317
- }
318
-
319
- remove_action( 'login_form', 'pwa_hooks_replace_login_submit_form',1);
320
- function pwa_hooks_replace_login_submit_form() {
321
- $enable = get_option('pwa_active');
322
- $newurl = get_option('pwa_rewrite_text');
323
- if($enable && $newurl!='')
324
- {
325
- $your_content = ob_get_contents();
326
- $your_content = str_replace("wp-login.php",$newurl,$your_content);
327
- ob_get_clean();
328
- echo $your_content;
329
- }
330
- }
28
  add_action('login_enqueue_scripts','pwa_load_jquery');
29
  add_action('init', 'init_pwa_admin_rewrite_rules' );
30
  add_action('init', 'pwa_admin_url_redirect_conditions' );
 
 
31
  add_action('login_enqueue_scripts','check_login_status',20);
32
 
33
  if(isset($getPwaOptions['pwa_logout']))
98
  }
99
  endif;
100
 
101
+ if( !function_exists( 'pwa_admin_url_redirect_conditions') ):
102
+
103
+ function pwa_admin_url_redirect_conditions() {
104
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  $getPwaOptions=get_pwa_setting_options();
106
+
107
  $pwaActualURLAry =array
108
  (
109
  site_url('/wp-login.php'),
115
  );
116
  $request_url = pwa_get_current_page_url($_SERVER);
117
  $newUrl = explode('?',$request_url);
118
+ // print_r($pwaActualURLAry); echo $newUrl[0];exit;
119
+
120
+ if(! is_user_logged_in() && in_array($newUrl[0],$pwaActualURLAry) ) {
121
+
122
+ if(wp_doing_ajax() && $newUrl[0]==site_url('/wp-admin/admin-ajax.php')) {
123
+ return true;
124
+ }
125
+
126
  /** is forgot password link */
127
  if( isset($_GET['login']) && isset($_GET['action']) && $_GET['action']=='rp' && $_GET['login']!='')
128
  {
129
+ $username = sanitize_text_field($_GET['login']);
130
  if(username_exists($username))
131
  {
132
  //silent
207
  return $pwa_protocol . '://' . $host;
208
  }
209
  endif;
210
+
211
+ if( !function_exists( 'pwa_get_current_page_url' ) ):
212
+ function pwa_get_current_page_url( $s, $use_forwarded_host=false ) {
213
+
214
+ $requesturl = preg_replace('/(\/+)/','/',$s['REQUEST_URI']); // remove more then 1 slash from url
215
+
216
+ $url = pwa_current_path_protocol($s, $use_forwarded_host) . $requesturl;
217
+
218
+ return $url;
219
+ }
220
  endif;
221
+
222
+ add_action( 'login_enqueue_scripts', 'pwa_update_login_page_logo' );
223
  /* Change Wordpress Default Logo */
224
  if(!function_exists('pwa_update_login_page_logo')):
225
  function pwa_update_login_page_logo()
226
  {
227
+ wp_enqueue_script( 'pwa-login', plugin_dir_url( __FILE__ ) . 'js/pwa-login.js' );
228
+ $newadmin = 'nwp'.get_option("pwa_rewrite_text");
229
+ $bg = get_option("pwa_login_page_bg_color");
230
+ $color = get_option("pwa_login_page_color");
231
+ $logo = get_option("pwa_logo_path");
232
+ $su = site_url();
233
+ wp_localize_script( 'pwa-login', 'pwaawp_object',
234
+ array(
235
+ 'u' => $newadmin,
236
+ 's' => $su,
237
+ 'l' => $logo,
238
+ 'b' => $bg,
239
+ 'c' => $color,
240
+ )
241
+ );
 
 
 
 
242
 
 
 
 
 
 
 
 
 
 
243
  }
244
  endif;
245
+
246
+ function pwa_login_logo_url() {
247
+ return home_url();
248
+ }
249
+ add_filter( 'login_headerurl', 'pwa_login_logo_url' );
250
+
251
  /*************************************************************
252
  Hooks to overide option value before save it into database
253
  * ************************************************************/
256
  return $new_value;
257
  }
258
  add_filter( 'pre_update_option_pwa_rewrite_text', 'pwa_update_field_rewrite_text', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,21 +1,18 @@
1
- === Protect Your Admin ===
2
  Contributors: wpexpertsin, india-web-developer
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A
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
 
11
  == Description ==
12
 
13
- 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.
14
 
15
  If you run a WordPress website, you should absolutely use "protect-wp-admin" to secure it against hackers.
16
 
17
  Protect WP-Admin fixes a glaring security hole in the WordPress community: the well-known problem of the admin panel URL.
18
- Everyone knows where the admin panel, and this includes hackers as well.
19
 
20
  Protect WP-Admin solves this problem by allowing administrators to customize their admin panel URL and blocking the default links.
21
 
@@ -23,8 +20,6 @@ Administrators will be able to change default login page url "sitename.com/wp-ad
23
 
24
  The plugin also comes with some access filters, allowing Administrator to restrict guest and registered users access to wp-admin, just in case you want some of your editors to log in the classic way.
25
 
26
- It is extremely important to back up your database before beginning the activate plugin. If, for some reason, you find it necessary to restore your database from these backups. Plugin will not work for IIS SERVER.
27
-
28
 
29
  https://youtu.be/Mxr2MLDNACE
30
 
@@ -33,27 +28,27 @@ https://youtu.be/Mxr2MLDNACE
33
 
34
  = Features =
35
 
36
-  * Define custom wp-admin url(i.e http://yourdomain.com/myadmin)
37
-  * Define custom Logo OR change default logo on login page
38
-  * Define Login page background color
39
-  * Define Login page text color
40
-  * Restrict guest users for access to wp-admin
41
-  * Restrict registered non-admin users from wp-admin
42
-  * Allow admin access to non-admin users by define comma separate multiple ids
43
 
44
  = Add-on Features =
45
 
46
  We have also released an add-on for Protect-WP-Admin which not only demonstrates the flexibility of Protect-WP-Admin, but also adds some important features
47
 
48
-  * Rename wordpress wp-admin URL
49
-  * Enable Login Tracker
50
-  * Set Number of Login Attempt
51
-  * Change username of any existing user
52
-  * Define login page logo URL
53
-  * Manage login page style from admin
54
-  * Define custom redirect url for default wp-admin url
55
-  * Track user login history.
56
-  * Faster support
57
 
58
   **[ Click here to download add-on](https://www.wp-experts.in/products/protect-wp-admin-pro)**
59
   
@@ -131,6 +126,14 @@ Here we are using new admin slug as "myadmin" so as per your new admin slug you
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
1
+ === Protect WP Admin ===
2
  Contributors: wpexpertsin, india-web-developer
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A
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.8.2
7
+ Stable tag: 3.6.2
 
 
8
 
9
  == Description ==
10
 
11
+ WP Protect Admin Plugin has Provide Extra Secutiry Layer to Protect Your WordPress Admin Area. Using this plugin you can safe your site using necessary features like change default admin login url (/wp-admin) user name & login history log.
12
 
13
  If you run a WordPress website, you should absolutely use "protect-wp-admin" to secure it against hackers.
14
 
15
  Protect WP-Admin fixes a glaring security hole in the WordPress community: the well-known problem of the admin panel URL.
 
16
 
17
  Protect WP-Admin solves this problem by allowing administrators to customize their admin panel URL and blocking the default links.
18
 
20
 
21
  The plugin also comes with some access filters, allowing Administrator to restrict guest and registered users access to wp-admin, just in case you want some of your editors to log in the classic way.
22
 
 
 
23
 
24
  https://youtu.be/Mxr2MLDNACE
25
 
28
 
29
  = Features =
30
 
31
+  * Define Custom WP Admin Login URL (i.e http://yourdomain.com/myadmin)
32
+  * Define Logo Image for Login Page
33
+  * Define Background Color for Login Page
34
+  * Define Text Color for Login Page
35
+  * Restrict Guest Users to Access Admin Dashboard
36
+  * Restrict Registered Non-Admin Users to Acces Admin Dashboard
37
+  * Allow Admin Dashboard Access Bt Defining Comma Separated Multiple Ids
38
 
39
  = Add-on Features =
40
 
41
  We have also released an add-on for Protect-WP-Admin which not only demonstrates the flexibility of Protect-WP-Admin, but also adds some important features
42
 
43
+  * Rename wordpress wp-admin URL.
44
+  * Enable Login Tracker.
45
+  * Allow Number of Login Attempt.
46
+  * Change Username of any Existing Users.
47
+  * Define Login Page Logo URL.
48
+  * Manage Login Page Style From Admin.
49
+  * Define Custom Redirect URL for Default wp-admin URL.
50
+  * Track User Login History.
51
+  * Faster Support.
52
 
53
   **[ Click here to download add-on](https://www.wp-experts.in/products/protect-wp-admin-pro)**
54
   
126
 
127
  == Changelog ==
128
 
129
+ = 3.6 =
130
+  * Optimized the code and security things
131
+  * Tested with wordpress version 5.8.2
132
+
133
+ = 3.5 =
134
+  * Tested with new wordpress version 5.8
135
+  * Fixed double slash url access issue wp-login
136
+
137
  = 3.4 =
138
   * Tested with new wordpress version 5.5.1
139
   * added condition to show admin menu bar only for admin