Version Description
error fix
Download this release
Release Info
Developer | petersplugins |
Plugin | 404page – your smart custom 404 error page |
Version | 10.1 |
Comparing to | |
See all releases |
Code changes from version 10 to 10.1
- 404page.php +1 -1
- inc/class-404page.php +1 -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/free-wordpress-plugins/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: 10
|
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/free-wordpress-plugins/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: 10.1
|
13 |
* Author: Peter Raschendorfer
|
14 |
* Author URI: https://petersplugins.com
|
15 |
* Text Domain: 404page
|
inc/class-404page.php
CHANGED
@@ -443,7 +443,7 @@ if ( !class_exists( 'PP_404Page' ) ) {
|
|
443 |
// this is necessary to bypass a WordPress bug
|
444 |
// if permalink setting is something like e.g. /blog/%postname%/ the $posts is not empty
|
445 |
// bug reported https://core.trac.wordpress.org/ticket/46000
|
446 |
-
if ( ( empty( $posts && is_main_query() && !is_robots() && !is_home() && !is_feed() && !is_search() && !is_archive() ) || ( isset( $wp_query->query['error'] ) && $wp_query->query['error'] == 404 ) ) && ( !defined('DOING_AJAX') || !DOING_AJAX ) ) {
|
447 |
|
448 |
// as of v2.1 we do not alter the posts argument here because this does not work with SiteOrigin's Page Builder Plugin, template_include filter introduced
|
449 |
$this->postid = $pageid;
|
443 |
// this is necessary to bypass a WordPress bug
|
444 |
// if permalink setting is something like e.g. /blog/%postname%/ the $posts is not empty
|
445 |
// bug reported https://core.trac.wordpress.org/ticket/46000
|
446 |
+
if ( ( ( empty( $posts ) && is_main_query() && !is_robots() && !is_home() && !is_feed() && !is_search() && !is_archive() ) || ( isset( $wp_query->query['error'] ) && $wp_query->query['error'] == 404 ) ) && ( !defined('DOING_AJAX') || !DOING_AJAX ) ) {
|
447 |
|
448 |
// as of v2.1 we do not alter the posts argument here because this does not work with SiteOrigin's Page Builder Plugin, template_include filter introduced
|
449 |
$this->postid = $pageid;
|
loader.php
CHANGED
@@ -40,7 +40,7 @@ function pp_404page() {
|
|
40 |
'file' => dirname( __FILE__ ) . '/404page.php',
|
41 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
42 |
'name' => '404page - your smart custom 404 error page',
|
43 |
-
'version' => '10'
|
44 |
) );
|
45 |
|
46 |
}
|
40 |
'file' => dirname( __FILE__ ) . '/404page.php',
|
41 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
42 |
'name' => '404page - your smart custom 404 error page',
|
43 |
+
'version' => '10.1'
|
44 |
) );
|
45 |
|
46 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://petersplugins.com/make-a-donation/
|
|
4 |
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
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.0
|
7 |
-
Stable tag: 10
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -153,6 +153,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
153 |
|
154 |
== Changelog ==
|
155 |
|
|
|
|
|
|
|
156 |
= 10 (2019-02-14) =
|
157 |
* workaround for WordPress Permalink bug [#46000](https://core.trac.wordpress.org/ticket/46000)
|
158 |
* code improvement
|
@@ -270,6 +273,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
270 |
|
271 |
== Upgrade Notice ==
|
272 |
|
|
|
|
|
|
|
273 |
= 10 =
|
274 |
workaround for WordPress bug
|
275 |
|
4 |
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
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.0
|
7 |
+
Stable tag: 10.1
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
153 |
|
154 |
== Changelog ==
|
155 |
|
156 |
+
= 10.1 (2019-02-14) =
|
157 |
+
* error fixed ([ticket](https://wordpress.org/support/topic/version-10-crashes-system/))
|
158 |
+
|
159 |
= 10 (2019-02-14) =
|
160 |
* workaround for WordPress Permalink bug [#46000](https://core.trac.wordpress.org/ticket/46000)
|
161 |
* code improvement
|
273 |
|
274 |
== Upgrade Notice ==
|
275 |
|
276 |
+
= 10.1 =
|
277 |
+
error fix
|
278 |
+
|
279 |
= 10 =
|
280 |
workaround for WordPress bug
|
281 |
|