WPtouch - Version 4.3.36

Version Description

Download this release

Release Info

Developer wptouch
Plugin Icon 128x128 WPtouch
Version 4.3.36
Comparing to
See all releases

Code changes from version 4.3.35 to 4.3.36

Files changed (4) hide show
  1. core/class-wptouch-pro.php +5 -0
  2. lang/wptouch.pot +9 -9
  3. readme.txt +7 -2
  4. wptouch.php +2 -2
core/class-wptouch-pro.php CHANGED
@@ -1142,6 +1142,11 @@ class WPtouchProFour {
1142
  // Settings are reloaded inside this function since themes can augment the user-agent data
1143
  $this->is_mobile_device = apply_filters( 'wptouch_force_mobile_device', $this->is_supported_device() );
1144
 
 
 
 
 
 
1145
  // We can have a mobile device detected, but not show the mobile theme
1146
  // usually this is a result of the user manually disabling it via a link in the footer
1147
  if ( $this->is_mobile_device ) {
1142
  // Settings are reloaded inside this function since themes can augment the user-agent data
1143
  $this->is_mobile_device = apply_filters( 'wptouch_force_mobile_device', $this->is_supported_device() );
1144
 
1145
+ // Check for Kinsta.com manage hosting mu-plugin file. If found, add in some constants for them so WPtouch works with their caching.
1146
+ if ( file_exists( trailingslashit( WP_CONTENT_DIR ) . 'mu-plugins/kinsta-mu-plugins.php' ) ) {
1147
+ $this->is_mobile_device = ( 'KINSTAWP_MOBILE' === $_SERVER['KINSTA_CACHE_ZONE'] ) ? true : false;
1148
+ }
1149
+
1150
  // We can have a mobile device detected, but not show the mobile theme
1151
  // usually this is a result of the user manually disabling it via a link in the footer
1152
  if ( $this->is_mobile_device ) {
lang/wptouch.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the WPtouch Mobile Plugin package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPtouch Mobile Plugin 4.3.35\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2019-02-12 02:57:12+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -831,7 +831,7 @@ msgstr ""
831
 
832
  #: admin/pages/wptouch-admin-general-settings.php:659
833
  #: admin/settings/html/installed_icon_sets_ajax.php:4
834
- #: core/class-wptouch-pro.php:2187 core/class-wptouch-pro.php:2188
835
  #: core/config.php:54
836
  msgid "Custom Icons"
837
  msgstr ""
@@ -1185,7 +1185,7 @@ msgstr ""
1185
  msgid "Setup Wizard"
1186
  msgstr ""
1187
 
1188
- #: core/admin-menu.php:49 core/class-wptouch-pro.php:1659
1189
  msgid "Settings"
1190
  msgstr ""
1191
 
@@ -1398,15 +1398,15 @@ msgstr ""
1398
  msgid "Install Extensions"
1399
  msgstr ""
1400
 
1401
- #: core/class-wptouch-pro.php:1696
1402
  msgid "%s Changelog"
1403
  msgstr ""
1404
 
1405
- #: core/class-wptouch-pro.php:3113
1406
  msgid "Directory Problem"
1407
  msgstr ""
1408
 
1409
- #: core/class-wptouch-pro.php:3114
1410
  msgid "One or more required directories could not be created"
1411
  msgstr ""
1412
 
@@ -2533,9 +2533,9 @@ msgstr ""
2533
  msgid "WPtouch Mobile Plugin"
2534
  msgstr ""
2535
 
2536
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.35) #-#-#-#-#
2537
  #. Plugin URI of the plugin/theme
2538
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.35) #-#-#-#-#
2539
  #. Author URI of the plugin/theme
2540
  msgid "http://www.wptouch.com/"
2541
  msgstr ""
2
  # This file is distributed under the same license as the WPtouch Mobile Plugin package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPtouch Mobile Plugin 4.3.36\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2019-03-27 03:17:53+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
831
 
832
  #: admin/pages/wptouch-admin-general-settings.php:659
833
  #: admin/settings/html/installed_icon_sets_ajax.php:4
834
+ #: core/class-wptouch-pro.php:2192 core/class-wptouch-pro.php:2193
835
  #: core/config.php:54
836
  msgid "Custom Icons"
837
  msgstr ""
1185
  msgid "Setup Wizard"
1186
  msgstr ""
1187
 
1188
+ #: core/admin-menu.php:49 core/class-wptouch-pro.php:1664
1189
  msgid "Settings"
1190
  msgstr ""
1191
 
1398
  msgid "Install Extensions"
1399
  msgstr ""
1400
 
1401
+ #: core/class-wptouch-pro.php:1701
1402
  msgid "%s Changelog"
1403
  msgstr ""
1404
 
1405
+ #: core/class-wptouch-pro.php:3118
1406
  msgid "Directory Problem"
1407
  msgstr ""
1408
 
1409
+ #: core/class-wptouch-pro.php:3119
1410
  msgid "One or more required directories could not be created"
1411
  msgstr ""
1412
 
2533
  msgid "WPtouch Mobile Plugin"
2534
  msgstr ""
2535
 
2536
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.36) #-#-#-#-#
2537
  #. Plugin URI of the plugin/theme
2538
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.36) #-#-#-#-#
2539
  #. Author URI of the plugin/theme
2540
  msgid "http://www.wptouch.com/"
2541
  msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wptouch, sureswiftcapital, duanestorey, dalemugford, adamdipardo, oxymoron
3
  Tags: wptouch, iphone, ipod, bravenewcode, mobile, mobile-friendly, android, blackberry, smartphone, responsive, design, mobile plugin, ios, mobile theme
4
  Requires at least: 4.2
5
- Stable tag: 4.3.35
6
- Tested up to: 4.9
7
  License: GPLv2
8
 
9
  Make your WordPress website mobile-friendly with just a few clicks.
@@ -33,6 +33,11 @@ For more information visit [WPtouch.com](http://www.wptouch.com/?utm_campaign=wp
33
 
34
  == Changelog ==
35
 
 
 
 
 
 
36
  = Version 4.3.35 (February 11th, 2019) =
37
 
38
  * Fixed: Issue where links with sms protocols would get stripped from content.
2
  Contributors: wptouch, sureswiftcapital, duanestorey, dalemugford, adamdipardo, oxymoron
3
  Tags: wptouch, iphone, ipod, bravenewcode, mobile, mobile-friendly, android, blackberry, smartphone, responsive, design, mobile plugin, ios, mobile theme
4
  Requires at least: 4.2
5
+ Stable tag: 4.3.36
6
+ Tested up to: 5.1
7
  License: GPLv2
8
 
9
  Make your WordPress website mobile-friendly with just a few clicks.
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.36 (March 26th, 2019) =
37
+
38
+ * Added: kinsta.com check so they can optimize WPtouch plugin caching on their hosting platform.
39
+ * Updated: Tested up to date.
40
+
41
  = Version 4.3.35 (February 11th, 2019) =
42
 
43
  * Fixed: Issue where links with sms protocols would get stripped from content.
wptouch.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
- Version: 4.3.35
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks.
7
  Author: WPtouch
8
  Author URI: http://www.wptouch.com/
@@ -14,7 +14,7 @@
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
- define( 'WPTOUCH_VERSION', '4.3.35' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
+ Version: 4.3.36
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks.
7
  Author: WPtouch
8
  Author URI: http://www.wptouch.com/
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
+ define( 'WPTOUCH_VERSION', '4.3.36' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );