Protect Your Admin - Version 1.6

Version Description

  • Fixed wp-login.php issue for www url
Download this release

Release Info

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

Code changes from version 1.5 to 1.6

Files changed (3) hide show
  1. protect-wp-admin.php +4 -4
  2. pwa-class.php +198 -170
  3. readme.txt +6 -4
protect-wp-admin.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.mrwebsolution.in/
5
  Description: "protect-wp-admin" is a very help full plugin to make wordpress admin more secure. Protect WP-Admin plugin is provide the options for change the wp-admin url and make the login page private(directly user can't access the login page).
6
  Author: Raghunath
7
  Author URI: http://www.mrwebsolution.in/
8
- Version: 1.5
9
  */
10
 
11
  /*** Copyright 2014 Raghunath (email : raghunath.0087@gmail.com)
@@ -84,7 +84,7 @@ function init_pwa_admin_option_page(){
84
  <!-- Start Options Form -->
85
  <form action="options.php" method="post" id="pwa-settings-form-admin">
86
  <input type="hidden" id="check_permalink" value="<?php echo count($tt);?>">
87
- <div id="pwa-tab-menu"><a id="pwa-general" class="pwa-tab-links active" >General</a> <a id="pwa-admin-style" class="pwa-tab-links">Admin Style</a> <a id="pwa-advance" class="pwa-tab-links">Advance Settings</a> <a id="pwa-support" class="pwa-tab-links">Support</a> </div>
88
 
89
  <div class="pwa-setting">
90
  <!-- General Setting -->
@@ -96,7 +96,7 @@ function init_pwa_admin_option_page(){
96
 
97
  <!-- Admin Style -->
98
  <div class="last author pwa-tab" id="div-pwa-admin-style">
99
- <h2>Admin Style Settings</h2>
100
  <p id="adminurl"><label>Define Logo Path: </label><input type="text" id="pwa_logo_path" name="pwa_logo_path" value="<?php echo esc_attr(get_option('pwa_logo_path')); ?>" placeholder="Add Custom Logo Image Path" size="30">(<i>Change WordPress Default Login Logo </i>)</p>
101
  <p id="adminurl"><label>Body Background Color: </label><input type="text" id="pwa_login_page_bg_color" name="pwa_login_page_bg_color" value="<?php echo esc_attr(get_option('pwa_login_page_bg_color')); ?>" placeholder="#444444" size="30"></p>
102
  </div>
@@ -123,7 +123,7 @@ function init_pwa_admin_option_page(){
123
  <p><strong>My Other Plugins:</strong><br>
124
  <ul>
125
  <li><a href="https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar" target="_blank">Custom Share Buttons with Floating Sidebar</a></li>
126
- <li><a href="https://wordpress.org/plugins/wp-testimonial" target="_blank">Simple Testimonial Rutator</a></li>
127
  <li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
128
  <li><a href="https://wordpress.org/plugins/wp-social-buttons/" target="_blank">WP Social Buttons</a></li>
129
  <li><a href="https://wordpress.org/plugins/wp-youtube-gallery/" target="_blank">WP Youtube Gallery</a></li>
5
  Description: "protect-wp-admin" is a very help full plugin to make wordpress admin more secure. Protect WP-Admin plugin is provide the options for change the wp-admin url and make the login page private(directly user can't access the login page).
6
  Author: Raghunath
7
  Author URI: http://www.mrwebsolution.in/
8
+ Version: 1.6
9
  */
10
 
11
  /*** Copyright 2014 Raghunath (email : raghunath.0087@gmail.com)
84
  <!-- Start Options Form -->
85
  <form action="options.php" method="post" id="pwa-settings-form-admin">
86
  <input type="hidden" id="check_permalink" value="<?php echo count($tt);?>">
87
+ <div id="pwa-tab-menu"><a id="pwa-general" class="pwa-tab-links active" >General</a> <a id="pwa-admin-style" class="pwa-tab-links">LoginPage Style</a> <a id="pwa-advance" class="pwa-tab-links">Advance Settings</a> <a id="pwa-support" class="pwa-tab-links">Support</a> </div>
88
 
89
  <div class="pwa-setting">
90
  <!-- General Setting -->
96
 
97
  <!-- Admin Style -->
98
  <div class="last author pwa-tab" id="div-pwa-admin-style">
99
+ <h2>Admin Login Page Style Settings</h2>
100
  <p id="adminurl"><label>Define Logo Path: </label><input type="text" id="pwa_logo_path" name="pwa_logo_path" value="<?php echo esc_attr(get_option('pwa_logo_path')); ?>" placeholder="Add Custom Logo Image Path" size="30">(<i>Change WordPress Default Login Logo </i>)</p>
101
  <p id="adminurl"><label>Body Background Color: </label><input type="text" id="pwa_login_page_bg_color" name="pwa_login_page_bg_color" value="<?php echo esc_attr(get_option('pwa_login_page_bg_color')); ?>" placeholder="#444444" size="30"></p>
102
  </div>
123
  <p><strong>My Other Plugins:</strong><br>
124
  <ul>
125
  <li><a href="https://wordpress.org/plugins/custom-share-buttons-with-floating-sidebar" target="_blank">Custom Share Buttons with Floating Sidebar</a></li>
126
+ <li><a href="https://wordpress.org/plugins/wp-testimonial" target="_blank">WP Testimonial</a></li>
127
  <li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
128
  <li><a href="https://wordpress.org/plugins/wp-social-buttons/" target="_blank">WP Social Buttons</a></li>
129
  <li><a href="https://wordpress.org/plugins/wp-youtube-gallery/" target="_blank">WP Youtube Gallery</a></li>
pwa-class.php CHANGED
@@ -1,170 +1,198 @@
1
- <?php
2
- /*
3
- * Protect WP-Admin (C)
4
- * @register_install_hook()
5
- * @register_uninstall_hook()
6
- * */
7
- ?>
8
- <?php
9
- /** Get all options value */
10
- function get_pwa_setting_options() {
11
- global $wpdb;
12
- $pwaOptions = $wpdb->get_results("SELECT option_name, option_value FROM $wpdb->options WHERE option_name LIKE 'pwa_%'");
13
-
14
- foreach ($pwaOptions as $option) {
15
- $pwaOptions[$option->option_name] = $option->option_value;
16
- }
17
- return $pwaOptions;
18
- }
19
- $getPwaOptions=get_pwa_setting_options();
20
- if(isset($getPwaOptions['pwa_active']) && '1'==$getPwaOptions['pwa_active'])
21
- {
22
- add_action('init', 'init_pwa_admin_rewrite_rules' );
23
- add_action('init', 'pwa_admin_url_redirect_conditions' );
24
- }
25
- if(isset($getPwaOptions['pwa_logout']))
26
- {
27
- add_action('admin_init', 'pwa_logout_user_after_settings_save');
28
- add_action('admin_init', 'pwa_logout_user_after_settings_save');
29
- }
30
- function pwa_logout_user_after_settings_save()
31
- {
32
- $getPwaOptions=get_pwa_setting_options();
33
- if(isset($_GET['settings-updated']) && $_GET['settings-updated'] && isset($_GET['page']) && $_GET['page']=='pwa-settings')
34
- {
35
- flush_rewrite_rules();
36
- }
37
-
38
- if(isset($_GET['settings-updated']) && $_GET['settings-updated'] && isset($_GET['page']) && $_GET['page']=='pwa-settings' && isset($getPwaOptions['pwa_logout']) && $getPwaOptions['pwa_logout']==1)
39
- {
40
- $URL=str_replace('&amp;','&',wp_logout_url());
41
- if(isset($getPwaOptions['pwa_rewrite_text']) && isset($getPwaOptions['pwa_logout']) && $getPwaOptions['pwa_logout']==1 && $getPwaOptions['pwa_rewrite_text']!=''){
42
- wp_redirect(home_url('/'.$getPwaOptions['pwa_rewrite_text']));
43
- }else
44
- {
45
- //silent
46
- }
47
- //wp_redirect($URL);
48
- }
49
- }
50
- /** Create a new rewrite rule for change to wp-admin url */
51
- function init_pwa_admin_rewrite_rules() {
52
- $getPwaOptions=get_pwa_setting_options();
53
- if(isset($getPwaOptions['pwa_active']) && ''!=$getPwaOptions['pwa_rewrite_text']){
54
- $newurl=strip_tags($getPwaOptions['pwa_rewrite_text']);
55
- add_rewrite_rule( $newurl.'/?$', 'wp-login.php', 'top' );
56
- add_rewrite_rule( $newurl.'/register/?$', 'wp-login.php?action=register', 'top' );
57
- add_rewrite_rule( $newurl.'/lostpassword/?$', 'wp-login.php?action=lostpassword', 'top' );
58
- }
59
- }
60
- /**
61
- * Update Login, Register & Forgot password link as per new admin url
62
- * */
63
- add_action('login_head','csbwfs_custom_script');
64
- function csbwfs_custom_script()
65
- {
66
- $getPwaOptions=get_pwa_setting_options();
67
- if(isset($getPwaOptions['pwa_active']) && ''!=$getPwaOptions['pwa_rewrite_text']){
68
- echo '<script>jQuery(window).load(function(){var formId= jQuery("#login form").attr("id");
69
- if(formId=="loginform"){
70
- jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"]).'");
71
- }else if("lostpasswordform"==formId){
72
- jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
73
- }else if("registerform"==formId){
74
- jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"].'/register').'");
75
- }else
76
- {
77
- //silent
78
- }
79
- jQuery("#nav a").each(function(){
80
- var linkText=jQuery(this).text();
81
- if(linkText=="Log in"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"]).'");}
82
- else if(linkText=="Register"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"].'/register').'");}else if(linkText=="Lost your password?"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");}else {
83
- //silent
84
- }
85
- });});</script>';
86
- }
87
- }
88
- function pwa_admin_url_redirect_conditions()
89
- {
90
- $getPwaOptions=get_pwa_setting_options();
91
- $pwaActualURLAry =array
92
- (
93
- str_replace('www.','',home_url('/wp-login.php')),
94
- str_replace('www.','',home_url('/wp-login.php/')),
95
- str_replace('www.','',home_url('/wp-login')),
96
- str_replace('www.','',home_url('/wp-login/')),
97
- str_replace('www.','',home_url('/wp-admin')),
98
- str_replace('www.','',home_url('/wp-admin/')),
99
- );
100
- $request_url = pwa_get_current_page_url($_SERVER);
101
- $newUrl = explode('?',$request_url);
102
- // print_r($pwaActualURLAry); echo str_replace('www.','',$newUrl[0]);exit;
103
- $pwa_requestUrl=str_replace('www.','',$newUrl[0]);
104
- if(! is_user_logged_in() && in_array($pwa_requestUrl,$pwaActualURLAry) )
105
- {
106
- wp_redirect(home_url('/'),301);
107
- //exit;
108
- }
109
- else if(isset($getPwaOptions['pwa_restrict']) && $getPwaOptions['pwa_restrict']==1 && is_user_logged_in())
110
- {
111
- global $current_user;
112
- $user_roles = $current_user->roles;
113
- $user_ID = $current_user->ID;
114
- $user_role = array_shift($user_roles);
115
- if(isset($getPwaOptions['pwa_allow_custom_users']) && $getPwaOptions['pwa_allow_custom_users']!='')
116
- {
117
- $userids=explode(',' ,$getPwaOptions['pwa_allow_custom_users']);
118
- if(is_array($userids))
119
- {
120
- $userids=explode(',' ,$getPwaOptions['pwa_allow_custom_users']);
121
- }else
122
- {
123
- $userids[]=$getPwaOptions['pwa_allow_custom_users'];
124
- }
125
- }else
126
- {
127
- $userids=array();
128
- }
129
-
130
- if($user_role=='administrator' || in_array($user_ID,$userids))
131
- {
132
- //silent is gold
133
- }else
134
- {
135
- wp_redirect(home_url('/'));
136
- }
137
- }else
138
- {
139
- //silent is gold
140
- }
141
- }
142
- /** Get the current url*/
143
- function pwa_current_path_protocol($s, $use_forwarded_host=false)
144
- {
145
- $pwahttp = (!empty($s['HTTPS']) && $s['HTTPS'] == 'on') ? true:false;
146
- $pwasprotocal = strtolower($s['SERVER_PROTOCOL']);
147
- $pwa_protocol = substr($pwasprotocal, 0, strpos($pwasprotocal, '/')) . (($pwahttp) ? 's' : '');
148
- $port = $s['SERVER_PORT'];
149
- $port = ((!$pwahttp && $port=='80') || ($pwahttp && $port=='443')) ? '' : ':'.$port;
150
- $host = ($use_forwarded_host && isset($s['HTTP_X_FORWARDED_HOST'])) ? $s['HTTP_X_FORWARDED_HOST'] : (isset($s['HTTP_HOST']) ? $s['HTTP_HOST'] : null);
151
- $host = isset($host) ? $host : $s['SERVER_NAME'] . $port;
152
- return $pwa_protocol . '://' . $host;
153
- }
154
- function pwa_get_current_page_url($s, $use_forwarded_host=false)
155
- {
156
- return pwa_current_path_protocol($s, $use_forwarded_host) . $s['REQUEST_URI'];
157
- }
158
- //if(isset($getPwaOptions['pwa_logo_path'])):
159
- /* Change Wordpress Default Logo */
160
- function pwa_update_login_page_logo() {
161
- $getPwaOptions=get_pwa_setting_options();
162
- echo '<style type="text/css"> /* Protect WP-Admin Style*/';
163
- if(isset($getPwaOptions['pwa_logo_path']) && $getPwaOptions['pwa_logo_path']!='')
164
- echo ' h1 a { background-image:url('.$getPwaOptions['pwa_logo_path'].') !important; }';
165
- if(isset($getPwaOptions['pwa_login_page_bg_color']) && $getPwaOptions['pwa_login_page_bg_color']!='')
166
- echo ' body.login-action-login,html{ background:'.$getPwaOptions['pwa_login_page_bg_color'].' !important; height: 100% !important;}';
167
- echo '</style>';
168
- }
169
- add_action('login_head', 'pwa_update_login_page_logo');
170
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Protect WP-Admin (C)
4
+ * @register_install_hook()
5
+ * @register_uninstall_hook()
6
+ * */
7
+ ?>
8
+ <?php
9
+
10
+ /** Get all options value */
11
+ function get_pwa_setting_options() {
12
+ global $wpdb;
13
+ $pwaOptions = $wpdb->get_results("SELECT option_name, option_value FROM $wpdb->options WHERE option_name LIKE 'pwa_%'");
14
+
15
+ foreach ($pwaOptions as $option) {
16
+ $pwaOptions[$option->option_name] = $option->option_value;
17
+ }
18
+
19
+ return $pwaOptions;
20
+ }
21
+
22
+
23
+ $getPwaOptions=get_pwa_setting_options();
24
+
25
+ if(isset($getPwaOptions['pwa_active']) && '1'==$getPwaOptions['pwa_active'])
26
+ {
27
+
28
+ add_action('init', 'init_pwa_admin_rewrite_rules' );
29
+ add_action('init', 'pwa_admin_url_redirect_conditions' );
30
+
31
+ }
32
+
33
+
34
+ if(isset($getPwaOptions['pwa_logout']))
35
+ {
36
+ add_action('admin_init', 'pwa_logout_user_after_settings_save');
37
+ add_action('admin_init', 'pwa_logout_user_after_settings_save');
38
+ }
39
+
40
+ function pwa_logout_user_after_settings_save()
41
+ {
42
+ $getPwaOptions=get_pwa_setting_options();
43
+ if(isset($_GET['settings-updated']) && $_GET['settings-updated'] && isset($_GET['page']) && $_GET['page']=='pwa-settings')
44
+ {
45
+ flush_rewrite_rules();
46
+ }
47
+
48
+ if(isset($_GET['settings-updated']) && $_GET['settings-updated'] && isset($_GET['page']) && $_GET['page']=='pwa-settings' && isset($getPwaOptions['pwa_logout']) && $getPwaOptions['pwa_logout']==1)
49
+ {
50
+ $URL=str_replace('&amp;','&',wp_logout_url());
51
+ if(isset($getPwaOptions['pwa_rewrite_text']) && isset($getPwaOptions['pwa_logout']) && $getPwaOptions['pwa_logout']==1 && $getPwaOptions['pwa_rewrite_text']!=''){
52
+ wp_redirect(home_url('/'.$getPwaOptions['pwa_rewrite_text']));
53
+ }else
54
+ {
55
+ //silent
56
+ }
57
+ //wp_redirect($URL);
58
+ }
59
+
60
+ }
61
+ /** Create a new rewrite rule for change to wp-admin url */
62
+ function init_pwa_admin_rewrite_rules() {
63
+ $getPwaOptions=get_pwa_setting_options();
64
+ if(isset($getPwaOptions['pwa_active']) && ''!=$getPwaOptions['pwa_rewrite_text']){
65
+ $newurl=strip_tags($getPwaOptions['pwa_rewrite_text']);
66
+ add_rewrite_rule( $newurl.'/?$', 'wp-login.php', 'top' );
67
+ add_rewrite_rule( $newurl.'/register/?$', 'wp-login.php?action=register', 'top' );
68
+ add_rewrite_rule( $newurl.'/lostpassword/?$', 'wp-login.php?action=lostpassword', 'top' );
69
+
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Update Login, Register & Forgot password link as per new admin url
75
+ * */
76
+ add_action('login_head','csbwfs_custom_script');
77
+ function csbwfs_custom_script()
78
+ {
79
+ $getPwaOptions=get_pwa_setting_options();
80
+ if(isset($getPwaOptions['pwa_active']) && ''!=$getPwaOptions['pwa_rewrite_text']){
81
+ echo '<script>jQuery(window).load(function(){
82
+ jQuery("#login #login_error a").attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
83
+ var formId= jQuery("#login form").attr("id");
84
+ if(formId=="loginform"){
85
+ jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"]).'");
86
+ }else if("lostpasswordform"==formId){
87
+ jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");
88
+ }else if("registerform"==formId){
89
+ jQuery("#"+formId).attr("action","'.home_url($getPwaOptions["pwa_rewrite_text"].'/register').'");
90
+ }else
91
+ {
92
+ //silent
93
+ }
94
+ jQuery("#nav a").each(function(){
95
+ var linkText=jQuery(this).text();
96
+ if(linkText=="Log in"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"]).'");}
97
+ else if(linkText=="Register"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"].'/register').'");}else if(linkText=="Lost your password?"){jQuery(this).attr("href","'.home_url($getPwaOptions["pwa_rewrite_text"].'/lostpassword').'");}else {
98
+ //silent
99
+ }
100
+ });});</script>';
101
+ }
102
+
103
+ }
104
+
105
+ function pwa_admin_url_redirect_conditions()
106
+ {
107
+ $getPwaOptions=get_pwa_setting_options();
108
+ $pwaActualURLAry =array
109
+ (
110
+ home_url('/wp-login.php'),
111
+ home_url('/wp-login.php/'),
112
+ home_url('/wp-login'),
113
+ home_url('/wp-login/'),
114
+ home_url('/wp-admin'),
115
+ home_url('/wp-admin/'),
116
+ );
117
+ $request_url = pwa_get_current_page_url($_SERVER);
118
+ $newUrl = explode('?',$request_url);
119
+ //print_r($pwaActualURLAry); echo $newUrl[0];exit;
120
+ if(! is_user_logged_in() && in_array($newUrl[0],$pwaActualURLAry) )
121
+ {
122
+ wp_redirect(home_url('/'),301);
123
+ //exit;
124
+ }
125
+ else if(isset($getPwaOptions['pwa_restrict']) && $getPwaOptions['pwa_restrict']==1 && is_user_logged_in())
126
+ {
127
+ global $current_user;
128
+ $user_roles = $current_user->roles;
129
+ $user_ID = $current_user->ID;
130
+ $user_role = array_shift($user_roles);
131
+
132
+ if(isset($getPwaOptions['pwa_allow_custom_users']) && $getPwaOptions['pwa_allow_custom_users']!='')
133
+ {
134
+ $userids=explode(',' ,$getPwaOptions['pwa_allow_custom_users']);
135
+
136
+ if(is_array($userids))
137
+ {
138
+ $userids=explode(',' ,$getPwaOptions['pwa_allow_custom_users']);
139
+ }else
140
+ {
141
+ $userids[]=$getPwaOptions['pwa_allow_custom_users'];
142
+ }
143
+ }else
144
+ {
145
+ $userids=array();
146
+ }
147
+
148
+ if($user_role=='administrator' || in_array($user_ID,$userids))
149
+ {
150
+ //silent is gold
151
+ }else
152
+ {
153
+ wp_redirect(home_url('/'));
154
+ }
155
+ }else
156
+ {
157
+ //silent is gold
158
+ }
159
+
160
+ }
161
+
162
+ /** Get the current url*/
163
+ function pwa_current_path_protocol($s, $use_forwarded_host=false)
164
+ {
165
+ $pwahttp = (!empty($s['HTTPS']) && $s['HTTPS'] == 'on') ? true:false;
166
+ $pwasprotocal = strtolower($s['SERVER_PROTOCOL']);
167
+ $pwa_protocol = substr($pwasprotocal, 0, strpos($pwasprotocal, '/')) . (($pwahttp) ? 's' : '');
168
+ $port = $s['SERVER_PORT'];
169
+ $port = ((!$pwahttp && $port=='80') || ($pwahttp && $port=='443')) ? '' : ':'.$port;
170
+ $host = ($use_forwarded_host && isset($s['HTTP_X_FORWARDED_HOST'])) ? $s['HTTP_X_FORWARDED_HOST'] : (isset($s['HTTP_HOST']) ? $s['HTTP_HOST'] : null);
171
+ $host = isset($host) ? $host : $s['SERVER_NAME'] . $port;
172
+ return $pwa_protocol . '://' . $host;
173
+ }
174
+ function pwa_get_current_page_url($s, $use_forwarded_host=false)
175
+ {
176
+ return pwa_current_path_protocol($s, $use_forwarded_host) . $s['REQUEST_URI'];
177
+ }
178
+
179
+
180
+ //if(isset($getPwaOptions['pwa_logo_path'])):
181
+
182
+ /* Change Wordpress Default Logo */
183
+ function pwa_update_login_page_logo() {
184
+ $getPwaOptions=get_pwa_setting_options();
185
+
186
+ echo '<style type="text/css"> /* Protect WP-Admin Style*/';
187
+
188
+ if(isset($getPwaOptions['pwa_logo_path']) && $getPwaOptions['pwa_logo_path']!='')
189
+ echo ' h1 a { background-image:url('.$getPwaOptions['pwa_logo_path'].') !important; }';
190
+
191
+ if(isset($getPwaOptions['pwa_login_page_bg_color']) && $getPwaOptions['pwa_login_page_bg_color']!='')
192
+ echo ' body.login-action-login,html{ background:'.$getPwaOptions['pwa_login_page_bg_color'].' !important; height: 100% !important;}';
193
+
194
+ echo '</style>';
195
+
196
+ }
197
+ add_action('login_head', 'pwa_update_login_page_logo');
198
+ ?>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Protect Your Admin ===
2
  Contributors:india-web-developer
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WN785E5V492L4
4
  Tags: Protect WP-Admin,wp-admin,Protect wordpress admin,Secure Admin,Admin,Scure Wordpress Admin,Rename Admin URL, Rename Wordpress Admin URL,Change wp-admin url,Change Admin URL,Change Admin Path,Restrict wp-admin
5
  Requires at least: 3.3
6
- Tested up to: 4.2
7
- Stable tag: 1.5
8
 
9
  Protect Your Website Admin Against Hackers and Modify Login Page Style
10
 
@@ -82,7 +82,9 @@ Don not forgot to update the "newadmin" slug with your new admin slug (that you
82
 
83
 
84
  == Changelog ==
85
-
 
 
86
  = 1.5 =
87
  * Fixed wp-login url issue
88
  * Fixed wp-admin url issue
1
  === Protect Your Admin ===
2
  Contributors:india-web-developer
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A
4
  Tags: Protect WP-Admin,wp-admin,Protect wordpress admin,Secure Admin,Admin,Scure Wordpress Admin,Rename Admin URL, Rename Wordpress Admin URL,Change wp-admin url,Change Admin URL,Change Admin Path,Restrict wp-admin
5
  Requires at least: 3.3
6
+ Tested up to: 4.3
7
+ Stable tag: 1.6
8
 
9
  Protect Your Website Admin Against Hackers and Modify Login Page Style
10
 
82
 
83
 
84
  == Changelog ==
85
+ = 1.6 =
86
+ * Fixed wp-login.php issue for www url
87
+
88
  = 1.5 =
89
  * Fixed wp-login url issue
90
  * Fixed wp-admin url issue