Version Description
urgent hotfix for PHP 7.1
Download this release
Release Info
Developer | petersplugins |
Plugin | 404page – your smart custom 404 error page |
Version | 11.0.1 |
Comparing to | |
See all releases |
Code changes from version 11.0.0 to 11.0.1
- 404page.php +1 -1
- inc/ppf/ppf-plugin.php +2 -1
- loader.php +1 -1
- readme.txt +7 -1
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.0.
|
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.0.1
|
13 |
* Author: Peter Raschendorfer
|
14 |
* Author URI: https://petersplugins.com
|
15 |
* Text Domain: 404page
|
inc/ppf/ppf-plugin.php
CHANGED
@@ -121,8 +121,9 @@ if ( !class_exists( 'PPF01_Plugin' ) ) {
|
|
121 |
*
|
122 |
* @since PPF01
|
123 |
* @see getInstance
|
|
|
124 |
*/
|
125 |
-
|
126 |
|
127 |
$this->plugin_file = $settings['file'];
|
128 |
$this->plugin_slug = $settings['slug'];
|
121 |
*
|
122 |
* @since PPF01
|
123 |
* @see getInstance
|
124 |
+
* @access public - must be public due to an error in PHP 7.1 - fixed in PHP 7.2
|
125 |
*/
|
126 |
+
public function __construct( $settings ) {
|
127 |
|
128 |
$this->plugin_file = $settings['file'];
|
129 |
$this->plugin_slug = $settings['slug'];
|
loader.php
CHANGED
@@ -36,7 +36,7 @@ function pp_404page() {
|
|
36 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
37 |
'name' => '404page - your smart custom 404 error page',
|
38 |
'shortname' => '404page',
|
39 |
-
'version' => '11.0.
|
40 |
) );
|
41 |
|
42 |
}
|
36 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
37 |
'name' => '404page - your smart custom 404 error page',
|
38 |
'shortname' => '404page',
|
39 |
+
'version' => '11.0.1'
|
40 |
) );
|
41 |
|
42 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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.2
|
6 |
-
Stable tag: 11.0.
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -157,6 +157,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
160 |
= 11.0.0 (2019-08-13) =
|
161 |
* mostly rewritten based on my own newly created Plugin Foundation
|
162 |
|
@@ -292,6 +295,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
292 |
|
293 |
== Upgrade Notice ==
|
294 |
|
|
|
|
|
|
|
295 |
= 11.0.0 =
|
296 |
now uses my own Plugin Foundation
|
297 |
|
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.2
|
6 |
+
Stable tag: 11.0.1
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 11.0.1 (2019-08-13) =
|
161 |
+
* fix for PHP 7.1 - __construct() access level in subclass - this is an PHP error that was fixed in PHP 7.2, but I've changed my code to also work with PHP 7.1
|
162 |
+
|
163 |
= 11.0.0 (2019-08-13) =
|
164 |
* mostly rewritten based on my own newly created Plugin Foundation
|
165 |
|
295 |
|
296 |
== Upgrade Notice ==
|
297 |
|
298 |
+
= 11.0.1 =
|
299 |
+
urgent hotfix for PHP 7.1
|
300 |
+
|
301 |
= 11.0.0 =
|
302 |
now uses my own Plugin Foundation
|
303 |
|