WPtouch - Version 4.1.7

Version Description

Download this release

Release Info

Developer bravenewcode
Plugin Icon 128x128 WPtouch
Version 4.1.7
Comparing to
See all releases

Code changes from version 4.1.6 to 4.1.7

core/class-wptouch-pro.php CHANGED
@@ -510,6 +510,11 @@ class WPtouchProFour {
510
  if ( $post ) {
511
  $shortcode_data = get_post_meta( $this->post[ 'post_id' ], 'wptouch_sc_data', true );
512
 
 
 
 
 
 
513
  // Save data for later
514
  $page_shortcode_data = new stdClass;
515
 
510
  if ( $post ) {
511
  $shortcode_data = get_post_meta( $this->post[ 'post_id' ], 'wptouch_sc_data', true );
512
 
513
+ if ( is_object( $shortcode_data ) ) {
514
+ delete_post_meta( $this->post[ 'post_id'], 'wptouch_sc_data' );
515
+ $shortcode_data = "";
516
+ }
517
+
518
  // Save data for later
519
  $page_shortcode_data = new stdClass;
520
 
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.1.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2016-06-30 15:06:38+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -374,7 +374,7 @@ msgstr ""
374
  #: admin/pages/custom/wptouch-admin-wizard.php:179
375
  #: admin/settings/html/theme-browser-item-detail.php:52
376
  #: admin/settings/html/updates-available.php:35
377
- #: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:956
378
  msgid "Download"
379
  msgstr ""
380
 
@@ -384,7 +384,7 @@ msgstr ""
384
  #: admin/settings/html/installed_icon_sets_ajax.php:13
385
  #: admin/settings/html/installed_icon_sets_ajax.php:26
386
  #: admin/settings/html/theme-browser-item.php:12
387
- #: core/class-wptouch-pro.php:955
388
  msgid "Installed"
389
  msgstr ""
390
 
@@ -802,7 +802,7 @@ msgstr ""
802
 
803
  #: admin/pages/wptouch-admin-general-settings.php:591
804
  #: admin/settings/html/installed_icon_sets_ajax.php:4
805
- #: core/class-wptouch-pro.php:2151 core/class-wptouch-pro.php:2152
806
  #: core/config.php:54
807
  msgid "Custom Icons"
808
  msgstr ""
@@ -910,7 +910,7 @@ msgstr ""
910
  msgid "No extensions available"
911
  msgstr ""
912
 
913
- #: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:948
914
  msgid "Upload Complete!"
915
  msgstr ""
916
 
@@ -929,13 +929,13 @@ msgid ""
929
  msgstr ""
930
 
931
  #: admin/settings/html/installed_icon_sets_ajax.php:25
932
- #: core/class-wptouch-pro.php:954
933
  msgid "Installing"
934
  msgstr ""
935
 
936
  #: admin/settings/html/installed_icon_sets_ajax.php:25
937
  #: admin/settings/html/theme-browser-item-detail.php:3
938
- #: core/admin-extensions.php:363 core/class-wptouch-pro.php:953
939
  msgid "Install"
940
  msgstr ""
941
 
@@ -1147,7 +1147,7 @@ msgstr ""
1147
  msgid "Setup Wizard"
1148
  msgstr ""
1149
 
1150
- #: core/admin-menu.php:48 core/class-wptouch-pro.php:1623
1151
  msgid "Settings"
1152
  msgstr ""
1153
 
@@ -1248,131 +1248,131 @@ msgstr ""
1248
  msgid "Reset Settings"
1249
  msgstr ""
1250
 
1251
- #: core/class-wptouch-pro.php:635
1252
  msgid ""
1253
  "Automatic theme migration from wp-content/uploads/wptouch-data directory "
1254
  "failed. Please manually move these folders to wp-content/wptouch-data: %s"
1255
  msgstr ""
1256
 
1257
- #: core/class-wptouch-pro.php:654
1258
  msgid ""
1259
  "%sWPtouch: %s was recently disabled, but is still affecting your website and "
1260
  "caching pages.%s"
1261
  msgstr ""
1262
 
1263
- #: core/class-wptouch-pro.php:655
1264
  msgid ""
1265
  "%sPlease reactivate the plugin, disable page caching, then deactivate the "
1266
  "plugin again to correct this issue.%s"
1267
  msgstr ""
1268
 
1269
- #: core/class-wptouch-pro.php:656 core/class-wptouch-pro.php:665
1270
  msgid ""
1271
  "%sFixing this issue prevents cached desktop pages being served to mobile "
1272
  "devices and vice-versa.%s"
1273
  msgstr ""
1274
 
1275
- #: core/class-wptouch-pro.php:657 core/class-wptouch-pro.php:666
1276
  msgid ""
1277
  "%sOnce fixed, this message will be dismissed automatically. Until fixed, "
1278
  "%sWPtouch will not be shown%s to mobile visitors, and cannot be previewed.%s"
1279
  msgstr ""
1280
 
1281
- #: core/class-wptouch-pro.php:664
1282
  msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
1283
  msgstr ""
1284
 
1285
- #: core/class-wptouch-pro.php:667
1286
  msgid ""
1287
  "%sTo fix the issue, follow our %sstep-by-step setup guide%s on support."
1288
  "wptouch.com%s"
1289
  msgstr ""
1290
 
1291
- #: core/class-wptouch-pro.php:679
1292
  msgid "WPtouch Repair Required"
1293
  msgstr ""
1294
 
1295
- #: core/class-wptouch-pro.php:686
1296
  msgid "Your mobile theme was either broken or missing."
1297
  msgstr ""
1298
 
1299
- #: core/class-wptouch-pro.php:687
1300
  msgid "We downloaded a fresh copy for you."
1301
  msgstr ""
1302
 
1303
- #: core/class-wptouch-pro.php:688 core/class-wptouch-pro.php:698
1304
  msgid "OK"
1305
  msgstr ""
1306
 
1307
- #: core/class-wptouch-pro.php:691
1308
  msgid ""
1309
  "We were unable to install your WPtouch Pro theme from the Cloud. %s Please "
1310
  "visit %sthis article%s for more information."
1311
  msgstr ""
1312
 
1313
- #: core/class-wptouch-pro.php:694
1314
  msgid "WPtouch Server Issue"
1315
  msgstr ""
1316
 
1317
- #: core/class-wptouch-pro.php:696
1318
  msgid ""
1319
  "Your server setup is preventing WPtouch Pro from installing from the Cloud. "
1320
  "%s Please visit %sthis article%s for more information on how to fix it."
1321
  msgstr ""
1322
 
1323
- #: core/class-wptouch-pro.php:943
1324
  msgid ""
1325
  "This will reset all WPtouch Pro settings.\n"
1326
  "Are you sure?"
1327
  msgstr ""
1328
 
1329
- #: core/class-wptouch-pro.php:944
1330
  msgid ""
1331
  "This will reset all WPtouch Pro settings and delete the wptouch-data "
1332
  "folder.\n"
1333
  "Are you sure?"
1334
  msgstr ""
1335
 
1336
- #: core/class-wptouch-pro.php:945
1337
  msgid ""
1338
  "This will reset all WPtouch Pro settings, delete the wptouch-data folder, "
1339
  "and deactivate the plugin. Are you sure?"
1340
  msgstr ""
1341
 
1342
- #: core/class-wptouch-pro.php:946
1343
  msgid "The item failed to download for this reason: %reason%"
1344
  msgstr ""
1345
 
1346
- #: core/class-wptouch-pro.php:947
1347
  msgid "You are about to reset your license information. Proceed?"
1348
  msgstr ""
1349
 
1350
- #: core/class-wptouch-pro.php:949
1351
  msgid "Upload Failed: Not a valid image."
1352
  msgstr ""
1353
 
1354
- #: core/class-wptouch-pro.php:950
1355
  msgid ""
1356
  "WPtouch is saving settings. Please do not refresh the page while saving."
1357
  msgstr ""
1358
 
1359
- #: core/class-wptouch-pro.php:951
1360
  msgid "Install Themes"
1361
  msgstr ""
1362
 
1363
- #: core/class-wptouch-pro.php:952
1364
  msgid "Install Extensions"
1365
  msgstr ""
1366
 
1367
- #: core/class-wptouch-pro.php:1660
1368
  msgid "%s Changelog"
1369
  msgstr ""
1370
 
1371
- #: core/class-wptouch-pro.php:3077
1372
  msgid "Directory Problem"
1373
  msgstr ""
1374
 
1375
- #: core/class-wptouch-pro.php:3078
1376
  msgid "One or more required directories could not be created"
1377
  msgstr ""
1378
 
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.1.7\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2016-07-05 19:37:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
374
  #: admin/pages/custom/wptouch-admin-wizard.php:179
375
  #: admin/settings/html/theme-browser-item-detail.php:52
376
  #: admin/settings/html/updates-available.php:35
377
+ #: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:961
378
  msgid "Download"
379
  msgstr ""
380
 
384
  #: admin/settings/html/installed_icon_sets_ajax.php:13
385
  #: admin/settings/html/installed_icon_sets_ajax.php:26
386
  #: admin/settings/html/theme-browser-item.php:12
387
+ #: core/class-wptouch-pro.php:960
388
  msgid "Installed"
389
  msgstr ""
390
 
802
 
803
  #: admin/pages/wptouch-admin-general-settings.php:591
804
  #: admin/settings/html/installed_icon_sets_ajax.php:4
805
+ #: core/class-wptouch-pro.php:2156 core/class-wptouch-pro.php:2157
806
  #: core/config.php:54
807
  msgid "Custom Icons"
808
  msgstr ""
910
  msgid "No extensions available"
911
  msgstr ""
912
 
913
+ #: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:953
914
  msgid "Upload Complete!"
915
  msgstr ""
916
 
929
  msgstr ""
930
 
931
  #: admin/settings/html/installed_icon_sets_ajax.php:25
932
+ #: core/class-wptouch-pro.php:959
933
  msgid "Installing"
934
  msgstr ""
935
 
936
  #: admin/settings/html/installed_icon_sets_ajax.php:25
937
  #: admin/settings/html/theme-browser-item-detail.php:3
938
+ #: core/admin-extensions.php:363 core/class-wptouch-pro.php:958
939
  msgid "Install"
940
  msgstr ""
941
 
1147
  msgid "Setup Wizard"
1148
  msgstr ""
1149
 
1150
+ #: core/admin-menu.php:48 core/class-wptouch-pro.php:1628
1151
  msgid "Settings"
1152
  msgstr ""
1153
 
1248
  msgid "Reset Settings"
1249
  msgstr ""
1250
 
1251
+ #: core/class-wptouch-pro.php:640
1252
  msgid ""
1253
  "Automatic theme migration from wp-content/uploads/wptouch-data directory "
1254
  "failed. Please manually move these folders to wp-content/wptouch-data: %s"
1255
  msgstr ""
1256
 
1257
+ #: core/class-wptouch-pro.php:659
1258
  msgid ""
1259
  "%sWPtouch: %s was recently disabled, but is still affecting your website and "
1260
  "caching pages.%s"
1261
  msgstr ""
1262
 
1263
+ #: core/class-wptouch-pro.php:660
1264
  msgid ""
1265
  "%sPlease reactivate the plugin, disable page caching, then deactivate the "
1266
  "plugin again to correct this issue.%s"
1267
  msgstr ""
1268
 
1269
+ #: core/class-wptouch-pro.php:661 core/class-wptouch-pro.php:670
1270
  msgid ""
1271
  "%sFixing this issue prevents cached desktop pages being served to mobile "
1272
  "devices and vice-versa.%s"
1273
  msgstr ""
1274
 
1275
+ #: core/class-wptouch-pro.php:662 core/class-wptouch-pro.php:671
1276
  msgid ""
1277
  "%sOnce fixed, this message will be dismissed automatically. Until fixed, "
1278
  "%sWPtouch will not be shown%s to mobile visitors, and cannot be previewed.%s"
1279
  msgstr ""
1280
 
1281
+ #: core/class-wptouch-pro.php:669
1282
  msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
1283
  msgstr ""
1284
 
1285
+ #: core/class-wptouch-pro.php:672
1286
  msgid ""
1287
  "%sTo fix the issue, follow our %sstep-by-step setup guide%s on support."
1288
  "wptouch.com%s"
1289
  msgstr ""
1290
 
1291
+ #: core/class-wptouch-pro.php:684
1292
  msgid "WPtouch Repair Required"
1293
  msgstr ""
1294
 
1295
+ #: core/class-wptouch-pro.php:691
1296
  msgid "Your mobile theme was either broken or missing."
1297
  msgstr ""
1298
 
1299
+ #: core/class-wptouch-pro.php:692
1300
  msgid "We downloaded a fresh copy for you."
1301
  msgstr ""
1302
 
1303
+ #: core/class-wptouch-pro.php:693 core/class-wptouch-pro.php:703
1304
  msgid "OK"
1305
  msgstr ""
1306
 
1307
+ #: core/class-wptouch-pro.php:696
1308
  msgid ""
1309
  "We were unable to install your WPtouch Pro theme from the Cloud. %s Please "
1310
  "visit %sthis article%s for more information."
1311
  msgstr ""
1312
 
1313
+ #: core/class-wptouch-pro.php:699
1314
  msgid "WPtouch Server Issue"
1315
  msgstr ""
1316
 
1317
+ #: core/class-wptouch-pro.php:701
1318
  msgid ""
1319
  "Your server setup is preventing WPtouch Pro from installing from the Cloud. "
1320
  "%s Please visit %sthis article%s for more information on how to fix it."
1321
  msgstr ""
1322
 
1323
+ #: core/class-wptouch-pro.php:948
1324
  msgid ""
1325
  "This will reset all WPtouch Pro settings.\n"
1326
  "Are you sure?"
1327
  msgstr ""
1328
 
1329
+ #: core/class-wptouch-pro.php:949
1330
  msgid ""
1331
  "This will reset all WPtouch Pro settings and delete the wptouch-data "
1332
  "folder.\n"
1333
  "Are you sure?"
1334
  msgstr ""
1335
 
1336
+ #: core/class-wptouch-pro.php:950
1337
  msgid ""
1338
  "This will reset all WPtouch Pro settings, delete the wptouch-data folder, "
1339
  "and deactivate the plugin. Are you sure?"
1340
  msgstr ""
1341
 
1342
+ #: core/class-wptouch-pro.php:951
1343
  msgid "The item failed to download for this reason: %reason%"
1344
  msgstr ""
1345
 
1346
+ #: core/class-wptouch-pro.php:952
1347
  msgid "You are about to reset your license information. Proceed?"
1348
  msgstr ""
1349
 
1350
+ #: core/class-wptouch-pro.php:954
1351
  msgid "Upload Failed: Not a valid image."
1352
  msgstr ""
1353
 
1354
+ #: core/class-wptouch-pro.php:955
1355
  msgid ""
1356
  "WPtouch is saving settings. Please do not refresh the page while saving."
1357
  msgstr ""
1358
 
1359
+ #: core/class-wptouch-pro.php:956
1360
  msgid "Install Themes"
1361
  msgstr ""
1362
 
1363
+ #: core/class-wptouch-pro.php:957
1364
  msgid "Install Extensions"
1365
  msgstr ""
1366
 
1367
+ #: core/class-wptouch-pro.php:1665
1368
  msgid "%s Changelog"
1369
  msgstr ""
1370
 
1371
+ #: core/class-wptouch-pro.php:3082
1372
  msgid "Directory Problem"
1373
  msgstr ""
1374
 
1375
+ #: core/class-wptouch-pro.php:3083
1376
  msgid "One or more required directories could not be created"
1377
  msgstr ""
1378
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: bravenewcode, duanestorey, dalemugford, mkuplens
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.1.6
6
  Tested up to: 4.5.3
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.1.6 (June 30, 2016) =
37
 
38
  * Updated: Autosave in admin panel is now a little more robust and optimized.
2
  Contributors: bravenewcode, duanestorey, dalemugford, mkuplens
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.1.7
6
  Tested up to: 4.5.3
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.1.7 (July 5, 2016) =
37
+
38
+ * Fixed: Display issues with RTL menus and some themes
39
+
40
  = Version 4.1.6 (June 30, 2016) =
41
 
42
  * Updated: Autosave in admin panel is now a little more robust and optimized.
themes/foundation/modules/base/base.js CHANGED
@@ -125,12 +125,12 @@ function wptouchFdnSetupShowHideToggles() {
125
 
126
  jQuery( this ).toggleClass( 'toggle-open' );
127
 
128
- if ( !jQuery( '.pushit' ).hasClass( 'slideout-menu' ) ) {
129
  jQuery( '#' + targetId ).attr( 'data-source-click', linkId ).webkitSlideToggle();
130
  }
131
 
132
  e.preventDefault();
133
- if ( !jQuery( '.pushit' ).hasClass( 'slideout-menu' ) || jQuery( this ).attr( 'id' ) != 'menu-toggle' ) {
134
  e.stopImmediatePropagation();
135
  }
136
  });
125
 
126
  jQuery( this ).toggleClass( 'toggle-open' );
127
 
128
+ if ( !jQuery(e.target).hasClass('menu-btn') || !jQuery( '.pushit' ).hasClass( 'slideout-menu' ) ) {
129
  jQuery( '#' + targetId ).attr( 'data-source-click', linkId ).webkitSlideToggle();
130
  }
131
 
132
  e.preventDefault();
133
+ if ( !jQuery(e.target).hasClass('menu-btn') || !jQuery( '.pushit' ).hasClass( 'slideout-menu' ) || jQuery( this ).attr( 'id' ) != 'menu-toggle' ) {
134
  e.stopImmediatePropagation();
135
  }
136
  });
themes/foundation/modules/slideout/slideout.css CHANGED
@@ -3,7 +3,7 @@
3
  left: 0;
4
  top: 0;
5
  bottom: 0;
6
- right: 0;
7
  z-index: 0;
8
  width: 256px;
9
  overflow-y: auto;
@@ -13,6 +13,7 @@
13
 
14
  .slideout-menu.pushit-right {
15
  left: auto;
 
16
  }
17
 
18
  .slideout-panel {
@@ -30,3 +31,7 @@
30
  .slideout-open .slideout-menu {
31
  display: block;
32
  }
 
 
 
 
3
  left: 0;
4
  top: 0;
5
  bottom: 0;
6
+ right: auto;
7
  z-index: 0;
8
  width: 256px;
9
  overflow-y: auto;
13
 
14
  .slideout-menu.pushit-right {
15
  left: auto;
16
+ right: 0;
17
  }
18
 
19
  .slideout-panel {
31
  .slideout-open .slideout-menu {
32
  display: block;
33
  }
34
+
35
+ .pushit {
36
+ display: none;
37
+ }
wptouch.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
- Version: 4.1.6
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks
7
  Author: BraveNewCode Inc.
8
  Author URI: http://www.bravenewcode.com/
@@ -14,7 +14,7 @@
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
- define( 'WPTOUCH_VERSION', '4.1.6' );
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.1.7
6
  Description: Make a beautiful mobile-friendly version of your website with just a few clicks
7
  Author: BraveNewCode Inc.
8
  Author URI: http://www.bravenewcode.com/
14
 
15
  function wptouch_create_four_object() {
16
  if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
17
+ define( 'WPTOUCH_VERSION', '4.1.7' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );