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

Version Description

two bugs fixed

Download this release

Release Info

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

Code changes from version 11.0.1 to 11.0.2

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.1
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.2
13
* Author: Peter Raschendorfer
14
* Author URI: https://petersplugins.com
15
* Text Domain: 404page
inc/class-404page-admin.php CHANGED
@@ -284,8 +284,8 @@ if ( !class_exists( 'PP_404Page_Admin' ) ) {
284
$dis = '';
285
}
286
287
- echo '<p class="toggle"><span class="slider"><input type="checkbox" id="404page_method" name="404page_method" value="CMP"' . checked( 'CMP', $this->settings()->get( 'method' ), false ) . $dis . '/>';
288
- echo '<label for="404page_method" class="check"></label></span><span class="caption">' . esc_html__( 'Activate Compatibility Mode', '404page' ) . '&nbsp;<a class="dashicons dashicons-editor-help" href="' . esc_url( 'https://petersplugins.com/' . $this->core()->get_plugin_slug() . '/manual/#settings_operating_method' ) . '"></a>&nbsp;<a class="dashicons dashicons-video-alt3" href="https://youtu.be/wqSepDyQeqY" data-lity></a><br />';
289
echo '<span class="dashicons dashicons-info"></span>&nbsp;';
290
291
if ( $this->core()->is_native() ) {
284
$dis = '';
285
}
286
287
+ echo '<p class="toggle"><span class="slider"><input type="checkbox" id="404page-method" name="404page_settings[method]" value="CMP"' . checked( 'CMP', $this->settings()->get( 'method' ), false ) . $dis . '/>';
288
+ echo '<label for="404page-method" class="check"></label></span><span class="caption">' . esc_html__( 'Activate Compatibility Mode', '404page' ) . '&nbsp;<a class="dashicons dashicons-editor-help" href="' . esc_url( 'https://petersplugins.com/' . $this->core()->get_plugin_slug() . '/manual/#settings_operating_method' ) . '"></a>&nbsp;<a class="dashicons dashicons-video-alt3" href="https://youtu.be/wqSepDyQeqY" data-lity></a><br />';
289
echo '<span class="dashicons dashicons-info"></span>&nbsp;';
290
291
if ( $this->core()->is_native() ) {
inc/class-404page-settings.php CHANGED
@@ -55,11 +55,11 @@ if ( !class_exists( 'PP_404Page_Settings' ) ) {
55
if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
56
57
// WPML is active
58
- $this->settings['404page_method'] = 'CMP';
59
60
} else {
61
62
- $this->settings['404page_method'] = get_option( '404page_method', 'STD' );
63
64
}
65
55
if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
56
57
// WPML is active
58
+ $this->settings['method'] = 'CMP';
59
60
} else {
61
62
+ $this->settings['method'] = get_option( 'method', 'STD' );
63
64
}
65
inc/class-404page.php CHANGED
@@ -153,7 +153,7 @@ if ( !class_exists( 'PP_404Page' ) ) {
153
if ( $this->settings()->get( 'fire_error' ) ) {
154
155
add_filter( 'wpseo_exclude_from_sitemap_by_post_ids', function () {
156
- return array( $this->settings()->get( 'ipage_d' ) );
157
} );
158
159
}
153
if ( $this->settings()->get( 'fire_error' ) ) {
154
155
add_filter( 'wpseo_exclude_from_sitemap_by_post_ids', function () {
156
+ return array( $this->settings()->get( 'page_id' ) );
157
} );
158
159
}
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.1'
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.2'
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.1
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.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
@@ -295,6 +298,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
295
296
== Upgrade Notice ==
297
298
= 11.0.1 =
299
urgent hotfix for PHP 7.1
300
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.2
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.2 (2019-08-30) =
161
+ * two bugs fixed (seeh [here](https://wordpress.org/support/topic/version-11-0-1-error-in-log-file/) and [here](https://wordpress.org/support/topic/cant-activate-compatibility-mode/)
162
+
163
= 11.0.1 (2019-08-13) =
164
* 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
165
298
299
== Upgrade Notice ==
300
301
+ = 11.0.2 =
302
+ two bugs fixed
303
+
304
= 11.0.1 =
305
urgent hotfix for PHP 7.1
306