WPtouch - Version 4.3.15

Version Description

Download this release

Release Info

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

Code changes from version 4.3.14 to 4.3.15

Files changed (4) hide show
  1. core/class-wptouch-pro.php +6 -3
  2. lang/wptouch.pot +37 -37
  3. readme.txt +5 -1
  4. wptouch.php +2 -2
core/class-wptouch-pro.php CHANGED
@@ -517,11 +517,14 @@ class WPtouchProFour {
517
  $post_content = $this->post[ 'post_content' ];
518
 
519
  if ( $post ) {
520
- $shortcode_data = get_post_meta( $this->post[ 'post_id' ], 'wptouch_sc_data', true );
 
 
 
521
 
522
  if ( is_object( $shortcode_data ) ) {
523
- delete_post_meta( $this->post[ 'post_id'], 'wptouch_sc_data' );
524
- $shortcode_data = "";
525
  }
526
 
527
  // Save data for later
517
  $post_content = $this->post[ 'post_content' ];
518
 
519
  if ( $post ) {
520
+ $shortcode_data = get_post_meta( $this->post['post_id'], 'wptouch_sc_data', true );
521
+ if ( '' === $shortcode_data ) {
522
+ $shortcode_data = array();
523
+ }
524
 
525
  if ( is_object( $shortcode_data ) ) {
526
+ delete_post_meta( $this->post['post_id'], 'wptouch_sc_data' );
527
+ $shortcode_data = array();
528
  }
529
 
530
  // Save data for later
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.14\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2017-03-21 15:09:19+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -377,7 +377,7 @@ msgstr ""
377
  #: admin/pages/custom/wptouch-admin-wizard.php:179
378
  #: admin/settings/html/theme-browser-item-detail.php:52
379
  #: admin/settings/html/updates-available.php:35
380
- #: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:972
381
  msgid "Download"
382
  msgstr ""
383
 
@@ -387,7 +387,7 @@ msgstr ""
387
  #: admin/settings/html/installed_icon_sets_ajax.php:13
388
  #: admin/settings/html/installed_icon_sets_ajax.php:26
389
  #: admin/settings/html/theme-browser-item.php:12
390
- #: core/class-wptouch-pro.php:971
391
  msgid "Installed"
392
  msgstr ""
393
 
@@ -805,7 +805,7 @@ msgstr ""
805
 
806
  #: admin/pages/wptouch-admin-general-settings.php:593
807
  #: admin/settings/html/installed_icon_sets_ajax.php:4
808
- #: core/class-wptouch-pro.php:2167 core/class-wptouch-pro.php:2168
809
  #: core/config.php:54
810
  msgid "Custom Icons"
811
  msgstr ""
@@ -922,7 +922,7 @@ msgstr ""
922
  msgid "No extensions available"
923
  msgstr ""
924
 
925
- #: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:964
926
  msgid "Upload Complete!"
927
  msgstr ""
928
 
@@ -941,13 +941,13 @@ msgid ""
941
  msgstr ""
942
 
943
  #: admin/settings/html/installed_icon_sets_ajax.php:25
944
- #: core/class-wptouch-pro.php:970
945
  msgid "Installing"
946
  msgstr ""
947
 
948
  #: admin/settings/html/installed_icon_sets_ajax.php:25
949
  #: admin/settings/html/theme-browser-item-detail.php:3
950
- #: core/admin-extensions.php:365 core/class-wptouch-pro.php:969
951
  msgid "Install"
952
  msgstr ""
953
 
@@ -1159,7 +1159,7 @@ msgstr ""
1159
  msgid "Setup Wizard"
1160
  msgstr ""
1161
 
1162
- #: core/admin-menu.php:49 core/class-wptouch-pro.php:1639
1163
  msgid "Settings"
1164
  msgstr ""
1165
 
@@ -1256,131 +1256,131 @@ msgstr ""
1256
  msgid "Reset Settings"
1257
  msgstr ""
1258
 
1259
- #: core/class-wptouch-pro.php:649
1260
  msgid ""
1261
  "Automatic theme migration from wp-content/uploads/wptouch-data directory "
1262
  "failed. Please manually move these folders to wp-content/wptouch-data: %s"
1263
  msgstr ""
1264
 
1265
- #: core/class-wptouch-pro.php:668
1266
  msgid ""
1267
  "%sWPtouch: %s was recently disabled, but is still affecting your website and "
1268
  "caching pages.%s"
1269
  msgstr ""
1270
 
1271
- #: core/class-wptouch-pro.php:669
1272
  msgid ""
1273
  "%sPlease reactivate the plugin, disable page caching, then deactivate the "
1274
  "plugin again to correct this issue.%s"
1275
  msgstr ""
1276
 
1277
- #: core/class-wptouch-pro.php:670 core/class-wptouch-pro.php:679
1278
  msgid ""
1279
  "%sFixing this issue prevents cached desktop pages being served to mobile "
1280
  "devices and vice-versa.%s"
1281
  msgstr ""
1282
 
1283
- #: core/class-wptouch-pro.php:671 core/class-wptouch-pro.php:680
1284
  msgid ""
1285
  "%sOnce fixed, this message will be dismissed automatically. Until fixed, "
1286
  "%sWPtouch will not be shown%s to mobile visitors, and cannot be previewed.%s"
1287
  msgstr ""
1288
 
1289
- #: core/class-wptouch-pro.php:678
1290
  msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
1291
  msgstr ""
1292
 
1293
- #: core/class-wptouch-pro.php:681
1294
  msgid ""
1295
  "%sTo fix the issue, follow our %sstep-by-step setup guide%s on support."
1296
  "wptouch.com%s"
1297
  msgstr ""
1298
 
1299
- #: core/class-wptouch-pro.php:693
1300
  msgid "WPtouch Repair Required"
1301
  msgstr ""
1302
 
1303
- #: core/class-wptouch-pro.php:700
1304
  msgid "Your mobile theme was either broken or missing."
1305
  msgstr ""
1306
 
1307
- #: core/class-wptouch-pro.php:701
1308
  msgid "We downloaded a fresh copy for you."
1309
  msgstr ""
1310
 
1311
- #: core/class-wptouch-pro.php:702 core/class-wptouch-pro.php:712
1312
  msgid "OK"
1313
  msgstr ""
1314
 
1315
- #: core/class-wptouch-pro.php:705
1316
  msgid ""
1317
  "We were unable to install your WPtouch Pro theme from the Cloud. %s Please "
1318
  "visit %sthis article%s for more information."
1319
  msgstr ""
1320
 
1321
- #: core/class-wptouch-pro.php:708
1322
  msgid "WPtouch Server Issue"
1323
  msgstr ""
1324
 
1325
- #: core/class-wptouch-pro.php:710
1326
  msgid ""
1327
  "Your server setup is preventing WPtouch Pro from installing from the Cloud. "
1328
  "%s Please visit %sthis article%s for more information on how to fix it."
1329
  msgstr ""
1330
 
1331
- #: core/class-wptouch-pro.php:959
1332
  msgid ""
1333
  "This will reset all WPtouch Pro settings.\n"
1334
  "Are you sure?"
1335
  msgstr ""
1336
 
1337
- #: core/class-wptouch-pro.php:960
1338
  msgid ""
1339
  "This will reset all WPtouch Pro settings and delete the wptouch-data "
1340
  "folder.\n"
1341
  "Are you sure?"
1342
  msgstr ""
1343
 
1344
- #: core/class-wptouch-pro.php:961
1345
  msgid ""
1346
  "This will reset all WPtouch Pro settings, delete the wptouch-data folder, "
1347
  "and deactivate the plugin. Are you sure?"
1348
  msgstr ""
1349
 
1350
- #: core/class-wptouch-pro.php:962
1351
  msgid "The item failed to download for this reason: %reason%"
1352
  msgstr ""
1353
 
1354
- #: core/class-wptouch-pro.php:963
1355
  msgid "You are about to reset your license information. Proceed?"
1356
  msgstr ""
1357
 
1358
- #: core/class-wptouch-pro.php:965
1359
  msgid "Upload Failed: Not a valid image."
1360
  msgstr ""
1361
 
1362
- #: core/class-wptouch-pro.php:966
1363
  msgid ""
1364
  "WPtouch is saving settings. Please do not refresh the page while saving."
1365
  msgstr ""
1366
 
1367
- #: core/class-wptouch-pro.php:967
1368
  msgid "Install Themes"
1369
  msgstr ""
1370
 
1371
- #: core/class-wptouch-pro.php:968
1372
  msgid "Install Extensions"
1373
  msgstr ""
1374
 
1375
- #: core/class-wptouch-pro.php:1676
1376
  msgid "%s Changelog"
1377
  msgstr ""
1378
 
1379
- #: core/class-wptouch-pro.php:3093
1380
  msgid "Directory Problem"
1381
  msgstr ""
1382
 
1383
- #: core/class-wptouch-pro.php:3094
1384
  msgid "One or more required directories could not be created"
1385
  msgstr ""
1386
 
@@ -2510,9 +2510,9 @@ msgstr ""
2510
  msgid "WPtouch Mobile Plugin"
2511
  msgstr ""
2512
 
2513
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.14) #-#-#-#-#
2514
  #. Plugin URI of the plugin/theme
2515
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.14) #-#-#-#-#
2516
  #. Author URI of the plugin/theme
2517
  msgid "http://www.wptouch.com/"
2518
  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.15\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2017-04-10 20:36:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
377
  #: admin/pages/custom/wptouch-admin-wizard.php:179
378
  #: admin/settings/html/theme-browser-item-detail.php:52
379
  #: admin/settings/html/updates-available.php:35
380
+ #: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:975
381
  msgid "Download"
382
  msgstr ""
383
 
387
  #: admin/settings/html/installed_icon_sets_ajax.php:13
388
  #: admin/settings/html/installed_icon_sets_ajax.php:26
389
  #: admin/settings/html/theme-browser-item.php:12
390
+ #: core/class-wptouch-pro.php:974
391
  msgid "Installed"
392
  msgstr ""
393
 
805
 
806
  #: admin/pages/wptouch-admin-general-settings.php:593
807
  #: admin/settings/html/installed_icon_sets_ajax.php:4
808
+ #: core/class-wptouch-pro.php:2170 core/class-wptouch-pro.php:2171
809
  #: core/config.php:54
810
  msgid "Custom Icons"
811
  msgstr ""
922
  msgid "No extensions available"
923
  msgstr ""
924
 
925
+ #: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:967
926
  msgid "Upload Complete!"
927
  msgstr ""
928
 
941
  msgstr ""
942
 
943
  #: admin/settings/html/installed_icon_sets_ajax.php:25
944
+ #: core/class-wptouch-pro.php:973
945
  msgid "Installing"
946
  msgstr ""
947
 
948
  #: admin/settings/html/installed_icon_sets_ajax.php:25
949
  #: admin/settings/html/theme-browser-item-detail.php:3
950
+ #: core/admin-extensions.php:365 core/class-wptouch-pro.php:972
951
  msgid "Install"
952
  msgstr ""
953
 
1159
  msgid "Setup Wizard"
1160
  msgstr ""
1161
 
1162
+ #: core/admin-menu.php:49 core/class-wptouch-pro.php:1642
1163
  msgid "Settings"
1164
  msgstr ""
1165
 
1256
  msgid "Reset Settings"
1257
  msgstr ""
1258
 
1259
+ #: core/class-wptouch-pro.php:652
1260
  msgid ""
1261
  "Automatic theme migration from wp-content/uploads/wptouch-data directory "
1262
  "failed. Please manually move these folders to wp-content/wptouch-data: %s"
1263
  msgstr ""
1264
 
1265
+ #: core/class-wptouch-pro.php:671
1266
  msgid ""
1267
  "%sWPtouch: %s was recently disabled, but is still affecting your website and "
1268
  "caching pages.%s"
1269
  msgstr ""
1270
 
1271
+ #: core/class-wptouch-pro.php:672
1272
  msgid ""
1273
  "%sPlease reactivate the plugin, disable page caching, then deactivate the "
1274
  "plugin again to correct this issue.%s"
1275
  msgstr ""
1276
 
1277
+ #: core/class-wptouch-pro.php:673 core/class-wptouch-pro.php:682
1278
  msgid ""
1279
  "%sFixing this issue prevents cached desktop pages being served to mobile "
1280
  "devices and vice-versa.%s"
1281
  msgstr ""
1282
 
1283
+ #: core/class-wptouch-pro.php:674 core/class-wptouch-pro.php:683
1284
  msgid ""
1285
  "%sOnce fixed, this message will be dismissed automatically. Until fixed, "
1286
  "%sWPtouch will not be shown%s to mobile visitors, and cannot be previewed.%s"
1287
  msgstr ""
1288
 
1289
+ #: core/class-wptouch-pro.php:681
1290
  msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
1291
  msgstr ""
1292
 
1293
+ #: core/class-wptouch-pro.php:684
1294
  msgid ""
1295
  "%sTo fix the issue, follow our %sstep-by-step setup guide%s on support."
1296
  "wptouch.com%s"
1297
  msgstr ""
1298
 
1299
+ #: core/class-wptouch-pro.php:696
1300
  msgid "WPtouch Repair Required"
1301
  msgstr ""
1302
 
1303
+ #: core/class-wptouch-pro.php:703
1304
  msgid "Your mobile theme was either broken or missing."
1305
  msgstr ""
1306
 
1307
+ #: core/class-wptouch-pro.php:704
1308
  msgid "We downloaded a fresh copy for you."
1309
  msgstr ""
1310
 
1311
+ #: core/class-wptouch-pro.php:705 core/class-wptouch-pro.php:715
1312
  msgid "OK"
1313
  msgstr ""
1314
 
1315
+ #: core/class-wptouch-pro.php:708
1316
  msgid ""
1317
  "We were unable to install your WPtouch Pro theme from the Cloud. %s Please "
1318
  "visit %sthis article%s for more information."
1319
  msgstr ""
1320
 
1321
+ #: core/class-wptouch-pro.php:711
1322
  msgid "WPtouch Server Issue"
1323
  msgstr ""
1324
 
1325
+ #: core/class-wptouch-pro.php:713
1326
  msgid ""
1327
  "Your server setup is preventing WPtouch Pro from installing from the Cloud. "
1328
  "%s Please visit %sthis article%s for more information on how to fix it."
1329
  msgstr ""
1330
 
1331
+ #: core/class-wptouch-pro.php:962
1332
  msgid ""
1333
  "This will reset all WPtouch Pro settings.\n"
1334
  "Are you sure?"
1335
  msgstr ""
1336
 
1337
+ #: core/class-wptouch-pro.php:963
1338
  msgid ""
1339
  "This will reset all WPtouch Pro settings and delete the wptouch-data "
1340
  "folder.\n"
1341
  "Are you sure?"
1342
  msgstr ""
1343
 
1344
+ #: core/class-wptouch-pro.php:964
1345
  msgid ""
1346
  "This will reset all WPtouch Pro settings, delete the wptouch-data folder, "
1347
  "and deactivate the plugin. Are you sure?"
1348
  msgstr ""
1349
 
1350
+ #: core/class-wptouch-pro.php:965
1351
  msgid "The item failed to download for this reason: %reason%"
1352
  msgstr ""
1353
 
1354
+ #: core/class-wptouch-pro.php:966
1355
  msgid "You are about to reset your license information. Proceed?"
1356
  msgstr ""
1357
 
1358
+ #: core/class-wptouch-pro.php:968
1359
  msgid "Upload Failed: Not a valid image."
1360
  msgstr ""
1361
 
1362
+ #: core/class-wptouch-pro.php:969
1363
  msgid ""
1364
  "WPtouch is saving settings. Please do not refresh the page while saving."
1365
  msgstr ""
1366
 
1367
+ #: core/class-wptouch-pro.php:970
1368
  msgid "Install Themes"
1369
  msgstr ""
1370
 
1371
+ #: core/class-wptouch-pro.php:971
1372
  msgid "Install Extensions"
1373
  msgstr ""
1374
 
1375
+ #: core/class-wptouch-pro.php:1679
1376
  msgid "%s Changelog"
1377
  msgstr ""
1378
 
1379
+ #: core/class-wptouch-pro.php:3096
1380
  msgid "Directory Problem"
1381
  msgstr ""
1382
 
1383
+ #: core/class-wptouch-pro.php:3097
1384
  msgid "One or more required directories could not be created"
1385
  msgstr ""
1386
 
2510
  msgid "WPtouch Mobile Plugin"
2511
  msgstr ""
2512
 
2513
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.15) #-#-#-#-#
2514
  #. Plugin URI of the plugin/theme
2515
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.15) #-#-#-#-#
2516
  #. Author URI of the plugin/theme
2517
  msgid "http://www.wptouch.com/"
2518
  msgstr ""
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: wptouch, 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.14
6
  Tested up to: 4.7
7
  License: GPLv2
8
 
@@ -33,6 +33,10 @@ For more information visit [WPtouch.com](http://www.wptouch.com/?utm_campaign=wp
33
 
34
  == Changelog ==
35
 
 
 
 
 
36
  = Version 4.3.14 (March 20, 2017) =
37
 
38
  * Fixed: Updated functionality for theme incompatibility notice to be permanently dismissed.
2
  Contributors: wptouch, 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.15
6
  Tested up to: 4.7
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.15 (April 10, 2017) =
37
+
38
+ * Fixed: PHP 7.1.2 error regarding "Process desktop theme shortcodes" option.
39
+
40
  = Version 4.3.14 (March 20, 2017) =
41
 
42
  * Fixed: Updated functionality for theme incompatibility notice to be permanently dismissed.
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.14
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.14' );
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.15
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.15' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );