Version Description
bug fix for Flamingo
Download this release
Release Info
Developer | petersplugins |
Plugin | 404page – your smart custom 404 error page |
Version | 11.2.4 |
Comparing to | |
See all releases |
Code changes from version 11.2.3 to 11.2.4
- 404page.php +1 -1
- inc/class-404page.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.2.
|
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.4
|
13 |
* Author: Peter Raschendorfer
|
14 |
* Author URI: https://petersplugins.com
|
15 |
* Text Domain: 404page
|
inc/class-404page.php
CHANGED
@@ -340,7 +340,8 @@ if ( !class_exists( 'PP_404Page' ) ) {
|
|
340 |
// bug reported https://core.trac.wordpress.org/ticket/46000
|
341 |
|
342 |
// as of v 11.0.3 we also check for REST_REQUEST to not create a 404 page in case of REST API call
|
343 |
-
|
|
|
344 |
|
345 |
// 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
|
346 |
$this->postid = $pageid;
|
340 |
// bug reported https://core.trac.wordpress.org/ticket/46000
|
341 |
|
342 |
// as of v 11.0.3 we also check for REST_REQUEST to not create a 404 page in case of REST API call
|
343 |
+
// as of v 11.2.4 we also check for DOING_CRON
|
344 |
+
if ( ( empty( $posts ) || ( isset( $wp_query->query['error'] ) && $wp_query->query['error'] == 404 ) ) && is_main_query() && !is_robots() && !is_home() && !is_feed() && !is_search() && !is_archive() && ( !defined('DOING_AJAX') || !DOING_AJAX ) && ( !defined('DOING_CRON') || !DOING_CRON ) && ( !defined('REST_REQUEST') || !REST_REQUEST ) ) {
|
345 |
|
346 |
// 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
|
347 |
$this->postid = $pageid;
|
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.
|
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.4'
|
46 |
) );
|
47 |
|
48 |
}
|
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.5
|
6 |
-
Stable tag: 11.2.
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -171,6 +171,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
171 |
|
172 |
== Changelog ==
|
173 |
|
|
|
|
|
|
|
174 |
= 11.2.3 (2020-07-05) =
|
175 |
* fix for Polylang ([see topic](https://wordpress.org/support/topic/undefined-function-pll_get_post/))
|
176 |
|
@@ -351,6 +354,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
351 |
|
352 |
== Upgrade Notice ==
|
353 |
|
|
|
|
|
|
|
354 |
= 11.2.3 =
|
355 |
fix for Polylang
|
356 |
|
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.4
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
171 |
|
172 |
== Changelog ==
|
173 |
|
174 |
+
= 11.2.4 (2020-08-16) =
|
175 |
+
* bug fix for Flamingo ([see topic](https://wordpress.org/support/topic/error-page-trashed/)) plus potentially other plugins (thanks to [garfiedo](https://wordpress.org/support/users/garfiedo/) for supporting me to find the reason)
|
176 |
+
|
177 |
= 11.2.3 (2020-07-05) =
|
178 |
* fix for Polylang ([see topic](https://wordpress.org/support/topic/undefined-function-pll_get_post/))
|
179 |
|
354 |
|
355 |
== Upgrade Notice ==
|
356 |
|
357 |
+
= 11.2.4 =
|
358 |
+
bug fix for Flamingo
|
359 |
+
|
360 |
= 11.2.3 =
|
361 |
fix for Polylang
|
362 |
|