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

Version Description

bug fix for WPML

Download this release

Release Info

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

Code changes from version 11.0.3 to 11.0.4

Files changed (4) hide show
  1. 404page.php +1 -1
  2. inc/class-404page-settings.php +2 -2
  3. loader.php +1 -1
  4. 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.3
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.4
13
  * Author: Peter Raschendorfer
14
  * Author URI: https://petersplugins.com
15
  * Text Domain: 404page
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['method'] = 'CMP';
59
 
60
  } else {
61
 
62
- $this->settings['method'] = get_option( 'method', 'STD' );
63
 
64
  }
65
 
55
  if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
56
 
57
  // WPML is active
58
+ $this->set('method', 'CMP' );
59
 
60
  } else {
61
 
62
+ // we dont' need to set this here, because this is set in load()
63
 
64
  }
65
 
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.3'
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.4'
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.3
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.3 (2019-09-01) =
161
  * bug fix for REST API call (see [here](https://wordpress.org/support/topic/bug-woocommerce-rest-api-500-error/))
162
 
@@ -301,6 +304,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
301
 
302
  == Upgrade Notice ==
303
 
 
 
 
304
  = 11.0.3 =
305
  bug fix for REST API call
306
 
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.4
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.4 (2019-10-06) =
161
+ * bug fix for WPML
162
+
163
  = 11.0.3 (2019-09-01) =
164
  * bug fix for REST API call (see [here](https://wordpress.org/support/topic/bug-woocommerce-rest-api-500-error/))
165
 
304
 
305
  == Upgrade Notice ==
306
 
307
+ = 11.0.4 =
308
+ bug fix for WPML
309
+
310
  = 11.0.3 =
311
  bug fix for REST API call
312