Redirect 404 To Homepage - Version 1.0.11

Version Description

  • updated plugin meta
Download this release

Release Info

Developer littlebizzy
Plugin Icon 128x128 Redirect 404 To Homepage
Version 1.0.11
Comparing to
See all releases

Code changes from version 1.0.10 to 1.0.11

Files changed (3) hide show
  1. 404-to-homepage.php +2 -2
  2. admin-notices.php +7 -4
  3. readme.txt +9 -5
404-to-homepage.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: 404 To Homepage
4
  Plugin URI: https://www.littlebizzy.com/plugins/404-to-homepage
5
  Description: Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
6
- Version: 1.0.10
7
  Author: LittleBizzy
8
  Author URI: https://www.littlebizzy.com
9
  License: GPLv3
@@ -31,7 +31,7 @@ if (!function_exists('add_action'))
31
  // Plugin constants
32
  define('NTFTHP_FILE', __FILE__);
33
  define('NTFTHP_PATH', dirname(NTFTHP_FILE));
34
- define('NTFTHP_VERSION', '1.0.10');
35
 
36
 
37
  /* 404 hooks */
3
  Plugin Name: 404 To Homepage
4
  Plugin URI: https://www.littlebizzy.com/plugins/404-to-homepage
5
  Description: Redirects all 404 (Not Found) errors to the homepage for a better user experience, less abuse from bots, and 100% elimination of Google GSC warnings.
6
+ Version: 1.0.11
7
  Author: LittleBizzy
8
  Author URI: https://www.littlebizzy.com
9
  License: GPLv3
31
  // Plugin constants
32
  define('NTFTHP_FILE', __FILE__);
33
  define('NTFTHP_PATH', dirname(NTFTHP_FILE));
34
+ define('NTFTHP_VERSION', '1.0.11');
35
 
36
 
37
  /* 404 hooks */
admin-notices.php CHANGED
@@ -18,10 +18,13 @@ final class NTFTHP_Admin_Notices {
18
  /**
19
  * Rate Us
20
  */
21
- private $days_before_display_rate_us = 3; // 3 days delay
22
- private $days_dismissing_rate_us = 270; // 9 months reappear
23
- private $rate_us_url = 'https://wordpress.org/support/plugin/404-to-homepage-littlebizzy/reviews/#new-post';
24
- private $rate_us_message = 'Thanks for using <strong>%plugin%</strong>. Please support our free work by rating this plugin with 5 stars on WordPress.org. <a href="%url%" target="_blank">Click here to rate us.</a>';
 
 
 
25
 
26
 
27
 
18
  /**
19
  * Rate Us
20
  */
21
+ private $days_before_display_rate_us = 2; // 2 days delay
22
+ private $days_dismissing_rate_us = 180; // 6 months reappear
23
+ private $rate_us_url = 'https://wordpress.org/support/plugin/404-to-homepage-littlebizzy/reviews/?rate=5#new-post';
24
+ private $rate_us_url2 = 'https://www.facebook.com/groups/littlebizzy/';
25
+ private $rate_us_url3 = 'https://www.littlebizzy.com/services/speed-boost?utm_source=wpnotice';
26
+ private $rate_us_url4 = 'https://codex.wordpress.org/Plugin_API/Action_Reference/admin_notices#Disable_Nag_Notices';
27
+ private $rate_us_message = 'Howdy, friend :)<br><br>Thanks for using <strong>%plugin%</strong>. Please support our free work by rating this plugin with 5 stars on <a href="%url%" target="_blank">WordPress.org</a>.<br><br>You may also join our free <a href="%url2%" target="_blank">Facebook group</a> to post any questions or comments!<br><br>Cheers, Jesse<br><br>P.S. Use coupon code <code>SPEED20</code> to get $20 off our popular <a href="%url3%" target="_blank">Speed Boost</a> service at LittleBizzy.com.<br><br><small><em><a href="%url4%" target="_blank">Hide these notices</a></em></small>';
28
 
29
 
30
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Requires at least: 4.4
7
  Tested up to: 4.9
8
  Requires PHP: 7.0
9
  Multisite support: No
10
- Stable tag: 1.0.10
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
  Prefix: NTFTHP
@@ -176,6 +176,9 @@ Please avoid leaving negative reviews in order to get a feature implemented. Ins
176
 
177
  == Changelog ==
178
 
 
 
 
179
  = 1.0.10 =
180
  * added warning for Multisite installations
181
  * updated recommended plugins
@@ -185,14 +188,14 @@ Please avoid leaving negative reviews in order to get a feature implemented. Ins
185
 
186
  = 1.0.8 =
187
  * tested with WP 4.9
 
188
  * updated plugin meta
189
  * updated recommended plugins
190
- * partial support for `define('DISABLE_NAG_NOTICES', true);`
191
 
192
  = 1.0.7 =
193
  * optimized plugin code
 
194
  * updated recommended plugins
195
- * added rating request
196
 
197
  = 1.0.6 =
198
  * added filter to "skip" WP Admin, WP Cron, and XML-RPC requests
@@ -202,17 +205,18 @@ Please avoid leaving negative reviews in order to get a feature implemented. Ins
202
  * updated recommended plugins
203
 
204
  = 1.0.4 =
205
- * minor code tweaks
206
 
207
  = 1.0.3 =
208
  * added recommended plugin notices
209
 
210
  = 1.0.2 =
211
- * updated plugin meta
212
  * tested with WP 4.8
 
213
 
214
  = 1.0.1 =
215
  * updated plugin meta
216
 
217
  = 1.0.0 =
218
  * initial release
 
7
  Tested up to: 4.9
8
  Requires PHP: 7.0
9
  Multisite support: No
10
+ Stable tag: 1.0.11
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
  Prefix: NTFTHP
176
 
177
  == Changelog ==
178
 
179
+ = 1.0.11 =
180
+ * updated plugin meta
181
+
182
  = 1.0.10 =
183
  * added warning for Multisite installations
184
  * updated recommended plugins
188
 
189
  = 1.0.8 =
190
  * tested with WP 4.9
191
+ * partial support for `define('DISABLE_NAG_NOTICES', true);`
192
  * updated plugin meta
193
  * updated recommended plugins
 
194
 
195
  = 1.0.7 =
196
  * optimized plugin code
197
+ * added rating request notice
198
  * updated recommended plugins
 
199
 
200
  = 1.0.6 =
201
  * added filter to "skip" WP Admin, WP Cron, and XML-RPC requests
205
  * updated recommended plugins
206
 
207
  = 1.0.4 =
208
+ * optimized plugin code
209
 
210
  = 1.0.3 =
211
  * added recommended plugin notices
212
 
213
  = 1.0.2 =
 
214
  * tested with WP 4.8
215
+ * updated plugin meta
216
 
217
  = 1.0.1 =
218
  * updated plugin meta
219
 
220
  = 1.0.0 =
221
  * initial release
222
+ * tested with PHP 7.0