WPtouch - Version 4.3.16

Version Description

Download this release

Release Info

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

Code changes from version 4.3.15 to 4.3.16

core/class-wptouch-pro.php CHANGED
@@ -418,7 +418,12 @@ class WPtouchProFour {
418
  // We can use this shortcode information
419
  $should_regenerate = false;
420
 
421
- $content = $shortcode_data->shortcode_content;
 
 
 
 
 
422
  } else {
423
  // Shortcode is not valid
424
  delete_post_meta( get_the_ID(), 'wptouch_sc_data' );
@@ -540,7 +545,13 @@ class WPtouchProFour {
540
  $page_shortcode_data->styles = $this->desktop_shortcode_get_assets( $this->post[ 'post_id' ], 'styles' );
541
 
542
  $page_shortcode_data->valid_until = time() + 3600*24;
543
- $page_shortcode_data->shortcode_content = $content;
 
 
 
 
 
 
544
 
545
  $shortcode_data[ 'page-' . $page ] = $page_shortcode_data;
546
 
418
  // We can use this shortcode information
419
  $should_regenerate = false;
420
 
421
+ /**
422
+ * Handle backslash fix that occurs.
423
+ *
424
+ * @see https://github.com/sureswiftcapital/wptouch-pro/pull/36
425
+ */
426
+ $content = str_replace( '_BACKSLASH_', '\\', $shortcode_data->shortcode_content );
427
  } else {
428
  // Shortcode is not valid
429
  delete_post_meta( get_the_ID(), 'wptouch_sc_data' );
545
  $page_shortcode_data->styles = $this->desktop_shortcode_get_assets( $this->post[ 'post_id' ], 'styles' );
546
 
547
  $page_shortcode_data->valid_until = time() + 3600*24;
548
+
549
+ /**
550
+ * Replace backslashes in code before saving. Should be re-replaced on output.
551
+ *
552
+ * @see https://github.com/sureswiftcapital/wptouch-pro/pull/36
553
+ */
554
+ $page_shortcode_data->shortcode_content = str_replace( '\\', '_BACKSLASH_', $content );
555
 
556
  $shortcode_data[ 'page-' . $page ] = $page_shortcode_data;
557
 
include/js/wptouch.js CHANGED
@@ -43,8 +43,6 @@ function doWPtouchReady() {
43
  post_nonce: wptouchMain.security_nonce
44
  };
45
 
46
- console.log( params );
47
-
48
  jQuery.post( wptouchMain.current_shortcode_url + '&current_time=' + jQuery.now(), params, function( result ) {
49
  shortcodeDiv.html( result );
50
  jQuery( document ).trigger( 'wptouch_ajax_content_loaded' );
43
  post_nonce: wptouchMain.security_nonce
44
  };
45
 
 
 
46
  jQuery.post( wptouchMain.current_shortcode_url + '&current_time=' + jQuery.now(), params, function( result ) {
47
  shortcodeDiv.html( result );
48
  jQuery( document ).trigger( 'wptouch_ajax_content_loaded' );
include/js/wptouch.min.js CHANGED
@@ -1 +1 @@
1
- function WPtouchAjax(t,e,n){var o={action:"wptouch_client_ajax",wptouch_action:t,wptouch_nonce:wptouchMain.security_nonce};for(name in e)o[name]=e[name];jQuery.post(wptouchMain.ajaxurl,o,function(t){n(t)})}function doWPtouchReady(){wptouchMain.query_vars=jQuery.parseJSON(wptouchMain.query_vars);var t=jQuery(".wptouch-sc-content");if(t.length){var e={post_id:t.attr("data-post-id"),page:t.attr("data-page"),post_content:jQuery(".wptouch-orig-content").html(),post_nonce:wptouchMain.security_nonce};console.log(e),jQuery.post(wptouchMain.current_shortcode_url+"&current_time="+jQuery.now(),e,function(e){t.html(e),jQuery(document).trigger("wptouch_ajax_content_loaded")})}}jQuery("#content table").each(function(){parentElement=jQuery(this).parent("p,div"),parentElement.hasClass("post")===!1?parentElement.addClass("table-parent"):jQuery(this).wrap('<div class="table-parent"></div>')}),jQuery("#footer .back-to-top").click(function(t){t.preventDefault(),jQuery(window).scrollTop(0)}),jQuery(document).ready(function(){doWPtouchReady()});
1
+ function WPtouchAjax(t,e,n){var o={action:"wptouch_client_ajax",wptouch_action:t,wptouch_nonce:wptouchMain.security_nonce};for(name in e)o[name]=e[name];jQuery.post(wptouchMain.ajaxurl,o,function(t){n(t)})}function doWPtouchReady(){wptouchMain.query_vars=jQuery.parseJSON(wptouchMain.query_vars);var t=jQuery(".wptouch-sc-content");if(t.length){var e={post_id:t.attr("data-post-id"),page:t.attr("data-page"),post_content:jQuery(".wptouch-orig-content").html(),post_nonce:wptouchMain.security_nonce};jQuery.post(wptouchMain.current_shortcode_url+"&current_time="+jQuery.now(),e,function(e){t.html(e),jQuery(document).trigger("wptouch_ajax_content_loaded")})}}jQuery("#content table").each(function(){parentElement=jQuery(this).parent("p,div"),parentElement.hasClass("post")===!1?parentElement.addClass("table-parent"):jQuery(this).wrap('<div class="table-parent"></div>')}),jQuery("#footer .back-to-top").click(function(t){t.preventDefault(),jQuery(window).scrollTop(0)}),jQuery(document).ready(function(){doWPtouchReady()});
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.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,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:975
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:974
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:2170 core/class-wptouch-pro.php:2171
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:967
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: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,7 +1159,7 @@ msgstr ""
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,131 +1256,131 @@ msgstr ""
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,9 +2510,9 @@ msgstr ""
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 ""
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.16\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2017-04-27 17:45:36+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:986
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:985
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:2181 core/class-wptouch-pro.php:2182
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:978
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:984
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:983
951
  msgid "Install"
952
  msgstr ""
953
 
1159
  msgid "Setup Wizard"
1160
  msgstr ""
1161
 
1162
+ #: core/admin-menu.php:49 core/class-wptouch-pro.php:1653
1163
  msgid "Settings"
1164
  msgstr ""
1165
 
1256
  msgid "Reset Settings"
1257
  msgstr ""
1258
 
1259
+ #: core/class-wptouch-pro.php:663
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:682
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:683
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:684 core/class-wptouch-pro.php:693
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:685 core/class-wptouch-pro.php:694
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:692
1290
  msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
1291
  msgstr ""
1292
 
1293
+ #: core/class-wptouch-pro.php:695
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:707
1300
  msgid "WPtouch Repair Required"
1301
  msgstr ""
1302
 
1303
+ #: core/class-wptouch-pro.php:714
1304
  msgid "Your mobile theme was either broken or missing."
1305
  msgstr ""
1306
 
1307
+ #: core/class-wptouch-pro.php:715
1308
  msgid "We downloaded a fresh copy for you."
1309
  msgstr ""
1310
 
1311
+ #: core/class-wptouch-pro.php:716 core/class-wptouch-pro.php:726
1312
  msgid "OK"
1313
  msgstr ""
1314
 
1315
+ #: core/class-wptouch-pro.php:719
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:722
1322
  msgid "WPtouch Server Issue"
1323
  msgstr ""
1324
 
1325
+ #: core/class-wptouch-pro.php:724
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:973
1332
  msgid ""
1333
  "This will reset all WPtouch Pro settings.\n"
1334
  "Are you sure?"
1335
  msgstr ""
1336
 
1337
+ #: core/class-wptouch-pro.php:974
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:975
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:976
1351
  msgid "The item failed to download for this reason: %reason%"
1352
  msgstr ""
1353
 
1354
+ #: core/class-wptouch-pro.php:977
1355
  msgid "You are about to reset your license information. Proceed?"
1356
  msgstr ""
1357
 
1358
+ #: core/class-wptouch-pro.php:979
1359
  msgid "Upload Failed: Not a valid image."
1360
  msgstr ""
1361
 
1362
+ #: core/class-wptouch-pro.php:980
1363
  msgid ""
1364
  "WPtouch is saving settings. Please do not refresh the page while saving."
1365
  msgstr ""
1366
 
1367
+ #: core/class-wptouch-pro.php:981
1368
  msgid "Install Themes"
1369
  msgstr ""
1370
 
1371
+ #: core/class-wptouch-pro.php:982
1372
  msgid "Install Extensions"
1373
  msgstr ""
1374
 
1375
+ #: core/class-wptouch-pro.php:1690
1376
  msgid "%s Changelog"
1377
  msgstr ""
1378
 
1379
+ #: core/class-wptouch-pro.php:3107
1380
  msgid "Directory Problem"
1381
  msgstr ""
1382
 
1383
+ #: core/class-wptouch-pro.php:3108
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.16) #-#-#-#-#
2514
  #. Plugin URI of the plugin/theme
2515
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.16) #-#-#-#-#
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.15
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.15 (April 10, 2017) =
37
 
38
  * Fixed: PHP 7.1.2 error regarding "Process desktop theme shortcodes" option.
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.16
6
  Tested up to: 4.7
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.16 (April 25, 2017) =
37
+
38
+ * Fixed: Bug where backslashes were being stripped from shortcode display.
39
+
40
  = Version 4.3.15 (April 10, 2017) =
41
 
42
  * Fixed: PHP 7.1.2 error regarding "Process desktop theme shortcodes" option.
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.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,7 +14,7 @@
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' ) );
2
  /*
3
  Plugin Name: WPtouch Mobile Plugin
4
  Plugin URI: http://www.wptouch.com/
5
+ Version: 4.3.16
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.16' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );