Version Description
Download this release
Release Info
Developer | india-web-developer |
Plugin | Protect Your Admin |
Version | 3.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.2
- css/pwa-admin-min.css +1 -1
- protect-wp-admin.php +17 -12
- readme.txt +2 -2
css/pwa-admin-min.css
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
* Protect WP-Admin (C)
|
3 |
* @MR Web Solution
|
4 |
* */
|
5 |
-
#pwa-tab-menu {width:auto; padding:1%;}#pwa-tab-menu a {background: none repeat scroll 0 0 #DCA808; border: 0 none;color: #FFFFFF;display: inline-block;font-size: 14px;font-weight: bold;padding: 12px 20px;opacity:0.5;}#pwa-tab-menu a:hover{cursor:pointer;background: none repeat scroll 0 0 #DCA808;opacity:1;}#pwa-tab-menu a.active{ background: #0073aa;opacity:1;}#pwa-settings-form-admin .submit-btn {width: 100%; display: inline-block; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #DCA808;}#pwa-settings-form-admin .submit-btn .button-primary{cursor:pointer;height:35px;}#pwa-settings-form-admin .csbwfs-setting p label {min-width:75px;display:inline-block;}#div-pwa-support img {width:50%px; height:auto;}#pwa-settings-form-admin ul {list-style:inside}#pwa-settings-form-admin #div-pwa-support .contact-author{background: none repeat scroll 0 0 #0472aa;border: 0 none;color: #FFFFFF;display: inline-block;font-size: 12px; font-weight: bold;padding: 2px 5px;text-decoration: none;}
|
2 |
* Protect WP-Admin (C)
|
3 |
* @MR Web Solution
|
4 |
* */
|
5 |
+
.offer-announcement .wpexperts.dashicons-before:before{font-size: 48px;padding-right: 2rem;top: -5px;position: relative;color:#eb423f;}.offer-announcement a{color: green;font-size: 22px;text-decoration:none;}.offer-announcement .tagline{color: red; text-align: center; display: block; font-size: 14px;}#pwa-tab-menu {width:auto; padding:1%;}#pwa-tab-menu a {background: none repeat scroll 0 0 #DCA808; border: 0 none;color: #FFFFFF;display: inline-block;font-size: 14px;font-weight: bold;padding: 12px 20px;opacity:0.5;}#pwa-tab-menu a:hover{cursor:pointer;background: none repeat scroll 0 0 #DCA808;opacity:1;}#pwa-tab-menu a.active{ background: #0073aa;opacity:1;}#pwa-settings-form-admin .submit-btn {width: 100%; display: inline-block; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #DCA808;}#pwa-settings-form-admin .submit-btn .button-primary{cursor:pointer;height:35px;}#pwa-settings-form-admin .csbwfs-setting p label {min-width:75px;display:inline-block;}#div-pwa-support img {width:50%px; height:auto;}#pwa-settings-form-admin ul {list-style:inside}#pwa-settings-form-admin #div-pwa-support .contact-author{background: none repeat scroll 0 0 #0472aa;border: 0 none;color: #FFFFFF;display: inline-block;font-size: 12px; font-weight: bold;padding: 2px 5px;text-decoration: none;}
|
protect-wp-admin.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
Plugin Name: Protect WP-Admin
|
4 |
-
Plugin URI:
|
5 |
Description: Give extra protection to your site admin and make secure your website against hackers!!
|
6 |
Author: WP Experts Team
|
7 |
-
Author URI:
|
8 |
-
Version: 3.
|
9 |
*/
|
10 |
|
11 |
/*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
|
@@ -132,21 +132,24 @@ function init_pwa_admin_option_page(){
|
|
132 |
<h2>Advance Settings</h2>
|
133 |
|
134 |
<p><input type="checkbox" id="pwa_restrict" name="pwa_restrict" value='1' <?php if(get_option('pwa_restrict')!=''){ echo ' checked="checked"'; }?>/> <label>Restrict registered non-admin users from wp-admin :</label></p>
|
135 |
-
<!-- <p><input type="checkbox" id="pwa_logout" name="pwa_logout" value='1' <?php if(get_option('pwa_logout')==''){ echo ''; }else{echo 'checked="checked"';}?>/> <label>Logout Admin After Add/Update New Admin URL(Optional) :</label> (This is only for security purpose)</p> -->
|
136 |
<p><label>Allow access to non-admin users:<br></label><input type="text" id="pwa_allow_custom_users" name="pwa_allow_custom_users" value="<?php echo esc_attr(get_option('pwa_allow_custom_users')); ?>" placeholder="1,2,3"> <br>(<i>Add comma seprated ids</i>)</p>
|
137 |
|
138 |
</td>
|
139 |
<td valign="top" style="border-left:2px solid #ccc; padding-left:10px;">
|
|
|
140 |
<h3>Pro Addon Features:</h3>
|
141 |
-
<ol>
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
|
|
|
|
|
|
|
|
|
|
147 |
</ol>
|
148 |
-
<p style="font-size:16px;">Want to know about all features of addon? Watch given below video</p>
|
149 |
-
<iframe width="560" height="315" src="https://www.youtube.com/embed/sXywBe0XWy0?rel=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
150 |
<h2><a href="https://www.wp-experts.in/products/protect-wp-admin-pro" target="_blank" style=" background: #0472aa; padding: 10px 20px; margin: 10px 0px; text-decoration: none; color: #fff; font-size: 24px; "><strong>Click here to Buy Addon</strong></a></h2>
|
151 |
</td>
|
152 |
</tr>
|
@@ -194,6 +197,8 @@ function init_pwa_admin_option_page(){
|
|
194 |
<li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
|
195 |
</ol>
|
196 |
</p></td>
|
|
|
|
|
197 |
</tr>
|
198 |
</table>
|
199 |
|
1 |
<?php
|
2 |
/**
|
3 |
Plugin Name: Protect WP-Admin
|
4 |
+
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.2
|
9 |
*/
|
10 |
|
11 |
/*** WP Experts Team Copyright 2017-2020 (email : raghunath.0087@gmail.com)
|
132 |
<h2>Advance Settings</h2>
|
133 |
|
134 |
<p><input type="checkbox" id="pwa_restrict" name="pwa_restrict" value='1' <?php if(get_option('pwa_restrict')!=''){ echo ' checked="checked"'; }?>/> <label>Restrict registered non-admin users from wp-admin :</label></p>
|
|
|
135 |
<p><label>Allow access to non-admin users:<br></label><input type="text" id="pwa_allow_custom_users" name="pwa_allow_custom_users" value="<?php echo esc_attr(get_option('pwa_allow_custom_users')); ?>" placeholder="1,2,3"> <br>(<i>Add comma seprated ids</i>)</p>
|
136 |
|
137 |
</td>
|
138 |
<td valign="top" style="border-left:2px solid #ccc; padding-left:10px;">
|
139 |
+
<div class="offer-announcement"><h2><i class="wpexperts dashicons-before dashicons-megaphone"></i><a href="https://www.wp-experts.in/products/protect-wp-admin-pro">FLAT 20% DISCOUNT ON PLUGIN ADD-ON</a></h2><em class="tagline">No Coupon Code Required. Hurry! Limited Time Offer!</em></div>
|
140 |
<h3>Pro Addon Features:</h3>
|
141 |
+
<ol class="hand right-click twocolumn">
|
142 |
+
<li>Rename wordpress wp-admin URL</li>
|
143 |
+
<li>Enable Login Tracker</li>
|
144 |
+
<li>Set Number of Login Attempt</li>
|
145 |
+
<li>Change username of any existing user</li>
|
146 |
+
<li>Define login page logo URL</li>
|
147 |
+
<li>Manage login page style from admin</li>
|
148 |
+
<li>Define custom redirect url for default wp-admin url</li>
|
149 |
+
<li>Change wordpress admin URL</li>
|
150 |
+
<li>Track user login history.</li>
|
151 |
+
<li>Faster support</li>
|
152 |
</ol>
|
|
|
|
|
153 |
<h2><a href="https://www.wp-experts.in/products/protect-wp-admin-pro" target="_blank" style=" background: #0472aa; padding: 10px 20px; margin: 10px 0px; text-decoration: none; color: #fff; font-size: 24px; "><strong>Click here to Buy Addon</strong></a></h2>
|
154 |
</td>
|
155 |
</tr>
|
197 |
<li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
|
198 |
</ol>
|
199 |
</p></td>
|
200 |
+
<td><p style="font-size:16px;">Want to know about all features of addon? Watch given below video</p>
|
201 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/sXywBe0XWy0?rel=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></td>
|
202 |
</tr>
|
203 |
</table>
|
204 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
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:
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.4.1
|
7 |
-
Stable tag: 3.
|
8 |
|
9 |
Hide your WP Admin URL using a secret term and secure your website against hackers!!
|
10 |
|
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.4.1
|
7 |
+
Stable tag: 3.2
|
8 |
|
9 |
Hide your WP Admin URL using a secret term and secure your website against hackers!!
|
10 |
|