404page – your smart custom 404 error page - Version 11.2.6

Version Description

Plugin Foundation updated to PPF06

Download this release

Release Info

Developer petersplugins
Plugin Icon 128x128 404page – your smart custom 404 error page
Version 11.2.6
Comparing to
See all releases

Code changes from version 11.2.5 to 11.2.6

404page.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: 404page - your smart custom 404 error page
10
  * Plugin URI: https://petersplugins.com/404page/
11
  * Description: Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with (almost) every Theme.
12
- * Version: 11.2.5
13
  * Author: Peter Raschendorfer
14
  * Author URI: https://petersplugins.com
15
  * Text Domain: 404page
9
  * Plugin Name: 404page - your smart custom 404 error page
10
  * Plugin URI: https://petersplugins.com/404page/
11
  * Description: Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with (almost) every Theme.
12
+ * Version: 11.2.6
13
  * Author: Peter Raschendorfer
14
  * Author URI: https://petersplugins.com
15
  * Text Domain: 404page
inc/class-404page-admin.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
15
  */
16
  if ( !class_exists( 'PP_404Page_Admin' ) ) {
17
 
18
- class PP_404Page_Admin extends PPF05_Admin {
19
 
20
 
21
  /**
15
  */
16
  if ( !class_exists( 'PP_404Page_Admin' ) ) {
17
 
18
+ class PP_404Page_Admin extends PPF06_Admin {
19
 
20
 
21
  /**
inc/class-404page-block-editor.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
15
  */
16
  if ( !class_exists( 'PP_404Page_BlockEditor' ) ) {
17
 
18
- class PP_404Page_BlockEditor extends PPF05_SubClass {
19
 
20
  /**
21
  * Do Init
15
  */
16
  if ( !class_exists( 'PP_404Page_BlockEditor' ) ) {
17
 
18
+ class PP_404Page_BlockEditor extends PPF06_SubClass {
19
 
20
  /**
21
  * Do Init
inc/class-404page-classic-editor.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
15
  */
16
  if ( !class_exists( 'PP_404Page_ClassicEditor' ) ) {
17
 
18
- class PP_404Page_ClassicEditor extends PPF05_SubClass {
19
 
20
  /**
21
  * Do Init
15
  */
16
  if ( !class_exists( 'PP_404Page_ClassicEditor' ) ) {
17
 
18
+ class PP_404Page_ClassicEditor extends PPF06_SubClass {
19
 
20
  /**
21
  * Do Init
inc/class-404page-deprecated.php CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
17
  */
18
  if ( !class_exists( 'PP_404Page_Deprecated' ) ) {
19
 
20
- class PP_404Page_Deprecated extends PPF05_SubClass {
21
 
22
  /**
23
  * Do Init
17
  */
18
  if ( !class_exists( 'PP_404Page_Deprecated' ) ) {
19
 
20
+ class PP_404Page_Deprecated extends PPF06_SubClass {
21
 
22
  /**
23
  * Do Init
inc/class-404page-settings.php CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
17
  */
18
  if ( !class_exists( 'PP_404Page_Settings' ) ) {
19
 
20
- class PP_404Page_Settings extends PPF05_Settings {
21
 
22
  /**
23
  * sanitize settings
17
  */
18
  if ( !class_exists( 'PP_404Page_Settings' ) ) {
19
 
20
+ class PP_404Page_Settings extends PPF06_Settings {
21
 
22
  /**
23
  * sanitize settings
inc/class-404page.php CHANGED
@@ -23,7 +23,7 @@ if ( ! defined( 'PP_404' ) ) {
23
  if ( !class_exists( 'PP_404Page' ) ) {
24
 
25
 
26
- class PP_404Page extends PPF05_Plugin {
27
 
28
 
29
  /**
23
  if ( !class_exists( 'PP_404Page' ) ) {
24
 
25
 
26
+ class PP_404Page extends PPF06_Plugin {
27
 
28
 
29
  /**
inc/ppf/loader.php CHANGED
@@ -3,9 +3,9 @@
3
  /**
4
  * Plugin Foundation Loader
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
3
  /**
4
  * Plugin Foundation Loader
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
inc/ppf/ppf-admin.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Admin Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
- if ( !class_exists( 'PPF05_Admin' ) ) {
14
 
15
 
16
- abstract class PPF05_Admin extends PPF05_SubClass {
17
 
18
 
19
  /**
@@ -349,6 +349,12 @@ if ( !class_exists( 'PPF05_Admin' ) ) {
349
  */
350
  public function sanitize_callback( $settings ) {
351
 
 
 
 
 
 
 
352
  foreach ( $this->settings()->get_defaults() as $key => $value ) {
353
 
354
  if ( true === is_bool( $value ) ) {
3
  /**
4
  * Admin Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
+ if ( !class_exists( 'PPF06_Admin' ) ) {
14
 
15
 
16
+ abstract class PPF06_Admin extends PPF06_SubClass {
17
 
18
 
19
  /**
349
  */
350
  public function sanitize_callback( $settings ) {
351
 
352
+ // since PPF06
353
+ // if wen don't get anything we need to create an empty array
354
+ if ( empty( $settings ) ) {
355
+ $settings = array();
356
+ }
357
+
358
  foreach ( $this->settings()->get_defaults() as $key => $value ) {
359
 
360
  if ( true === is_bool( $value ) ) {
inc/ppf/ppf-class.php CHANGED
@@ -3,9 +3,9 @@
3
  /**
4
  * Base Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
@@ -19,10 +19,10 @@
19
  }
20
 
21
 
22
- if ( !class_exists( 'PPF05_Class' ) ) {
23
 
24
 
25
- abstract class PPF05_Class {
26
 
27
 
28
  /**
3
  /**
4
  * Base Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
19
  }
20
 
21
 
22
+ if ( !class_exists( 'PPF06_Class' ) ) {
23
 
24
 
25
+ abstract class PPF06_Class {
26
 
27
 
28
  /**
inc/ppf/ppf-plugin-addon.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Plugin Addon Base Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
 
14
- if ( !class_exists( 'PPF05_Plugin_Addon' ) ) {
15
 
16
- abstract class PPF05_Plugin_Addon extends PPF05_Plugin {
17
 
18
  /**
19
  * Base Plugin Name
3
  /**
4
  * Plugin Addon Base Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
 
14
+ if ( !class_exists( 'PPF06_Plugin_Addon' ) ) {
15
 
16
+ abstract class PPF06_Plugin_Addon extends PPF06_Plugin {
17
 
18
  /**
19
  * Base Plugin Name
inc/ppf/ppf-plugin.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Plugin Base Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
 
14
- if ( !class_exists( 'PPF05_Plugin' ) ) {
15
 
16
- abstract class PPF05_Plugin extends PPF05_Class {
17
 
18
  /**
19
  * Instances
3
  /**
4
  * Plugin Base Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
 
14
+ if ( !class_exists( 'PPF06_Plugin' ) ) {
15
 
16
+ abstract class PPF06_Plugin extends PPF06_Class {
17
 
18
  /**
19
  * Instances
inc/ppf/ppf-settings.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Settings Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
- if ( !class_exists( 'PPF05_Settings' ) ) {
14
 
15
 
16
- abstract class PPF05_Settings extends PPF05_SubClass {
17
 
18
  /**
19
  * name of settings in databse (meta_key)
3
  /**
4
  * Settings Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
+ if ( !class_exists( 'PPF06_Settings' ) ) {
14
 
15
 
16
+ abstract class PPF06_Settings extends PPF06_SubClass {
17
 
18
  /**
19
  * name of settings in databse (meta_key)
inc/ppf/ppf-subclass.php CHANGED
@@ -3,17 +3,17 @@
3
  /**
4
  * Plugin Base Sub-Class
5
  *
6
- * Peter's Plugins Foundation 05
7
  *
8
- * @package PPF05
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
- if ( !class_exists( 'PPF05_SubClass' ) ) {
14
 
15
 
16
- abstract class PPF05_SubClass extends PPF05_Class {
17
 
18
  /**
19
  * reference to core class
3
  /**
4
  * Plugin Base Sub-Class
5
  *
6
+ * Peter's Plugins Foundation 06
7
  *
8
+ * @package PPF06
9
  * @author Peter Raschendorfer
10
  * @license GPL2+
11
  */
12
 
13
+ if ( !class_exists( 'PPF06_SubClass' ) ) {
14
 
15
 
16
+ abstract class PPF06_SubClass extends PPF06_Class {
17
 
18
  /**
19
  * reference to core class
loader.php CHANGED
@@ -42,7 +42,7 @@ function pp_404page() {
42
  'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
43
  'name' => '404page - your smart custom 404 error page',
44
  'shortname' => '404page',
45
- 'version' => '11.2.5'
46
  ) );
47
 
48
  }
42
  'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
43
  'name' => '404page - your smart custom 404 error page',
44
  'shortname' => '404page',
45
+ 'version' => '11.2.6'
46
  ) );
47
 
48
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: petersplugins
3
  Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page, classicpress
4
  Requires at least: 4.0
5
- Tested up to: 5.5
6
- Stable tag: 11.2.5
7
  Requires PHP: 5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -147,10 +147,11 @@ This plugin is compatible with [ClassicPress](https://www.classicpress.net/).
147
 
148
  == Screenshots ==
149
 
150
- 1. The default 404 error page of the Twenty Nineteen theme
151
- 2. Create a custom 404 error page
152
  3. Select the created page as 404 error page
153
  4. The custom 404 error page in action
 
154
 
155
  == Frequently Asked Questions ==
156
 
@@ -171,6 +172,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
171
 
172
  == Changelog ==
173
 
 
 
 
174
  = 11.2.5 (2020-08-22) =
175
  * minor UI adjustments
176
 
@@ -357,6 +361,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
357
 
358
  == Upgrade Notice ==
359
 
 
 
 
360
  = 11.2.5 =
361
  minor UI adjustments
362
 
2
  Contributors: petersplugins
3
  Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page, classicpress
4
  Requires at least: 4.0
5
+ Tested up to: 5.6
6
+ Stable tag: 11.2.6
7
  Requires PHP: 5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
147
 
148
  == Screenshots ==
149
 
150
+ 1. The default 404 error page of the Twenty Twenty theme
151
+ 2. Creating a custom 404 error page
152
  3. Select the created page as 404 error page
153
  4. The custom 404 error page in action
154
+ 5. The advanced plugin settings
155
 
156
  == Frequently Asked Questions ==
157
 
172
 
173
  == Changelog ==
174
 
175
+ = 11.2.6 (2020-08-23) =
176
+ * Plugin Foundation updated to PPF06
177
+
178
  = 11.2.5 (2020-08-22) =
179
  * minor UI adjustments
180
 
361
 
362
  == Upgrade Notice ==
363
 
364
+ = 11.2.6 =
365
+ Plugin Foundation updated to PPF06
366
+
367
  = 11.2.5 =
368
  minor UI adjustments
369