WPtouch - Version 4.3.35

Version Description

Download this release

Release Info

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

Code changes from version 4.3.34 to 4.3.35

core/admin-settings.php CHANGED
@@ -109,7 +109,7 @@ function wptouch_settings_process( $wptouch_pro ) {
109
  $value = wptouch_sanitize_value( $value );
110
  }
111
  }
112
- $settings->$key = trim( $value );
113
  }
114
  }
115
 
109
  $value = wptouch_sanitize_value( $value );
110
  }
111
  }
112
+ $settings->$key = is_array( $value ) ? $value : trim( $value );
113
  }
114
  }
115
 
lang/wptouch.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2018 WPtouch Mobile Plugin
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.34\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2018-11-21 18:30:51+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -2371,7 +2371,7 @@ msgid "iPad"
2371
  msgstr ""
2372
 
2373
  #: themes/foundation/modules/tablets/tablets.php:64
2374
- #: themes/foundation/root-functions.php:554
2375
  msgid "%d by %d pixels (PNG)"
2376
  msgstr ""
2377
 
@@ -2391,131 +2391,131 @@ msgstr ""
2391
  msgid "Custom Content"
2392
  msgstr ""
2393
 
2394
- #: themes/foundation/root-functions.php:52
2395
  msgid "Language: "
2396
  msgstr ""
2397
 
2398
- #: themes/foundation/root-functions.php:467
2399
  msgid "Theme Colors"
2400
  msgstr ""
2401
 
2402
- #: themes/foundation/root-functions.php:483
2403
  msgid "Number of posts in post listings"
2404
  msgstr ""
2405
 
2406
- #: themes/foundation/root-functions.php:484
2407
  msgid ""
2408
  "Overrides the WordPress Reading settings for \"Blog pages show at most\""
2409
  msgstr ""
2410
 
2411
- #: themes/foundation/root-functions.php:496
2412
  msgid "Excluded categories"
2413
  msgstr ""
2414
 
2415
- #: themes/foundation/root-functions.php:497
2416
  msgid "Comma separated by category name"
2417
  msgstr ""
2418
 
2419
- #: themes/foundation/root-functions.php:504
2420
  msgid "Excluded tags"
2421
  msgstr ""
2422
 
2423
- #: themes/foundation/root-functions.php:505
2424
  msgid "Comma separated by tag name"
2425
  msgstr ""
2426
 
2427
- #: themes/foundation/root-functions.php:527
2428
  msgid "Blog"
2429
  msgstr ""
2430
 
2431
- #: themes/foundation/root-functions.php:537
2432
- #: themes/foundation/root-functions.php:1357
2433
  msgid "Pages"
2434
  msgstr ""
2435
 
2436
- #: themes/foundation/root-functions.php:548
2437
  msgid "Site Icon"
2438
  msgstr ""
2439
 
2440
- #: themes/foundation/root-functions.php:572
2441
  msgid "Site Logo"
2442
  msgstr ""
2443
 
2444
- #: themes/foundation/root-functions.php:589
2445
  msgid "Header"
2446
  msgstr ""
2447
 
2448
- #: themes/foundation/root-functions.php:603
2449
  msgid "Custom footer content"
2450
  msgstr ""
2451
 
2452
- #: themes/foundation/root-functions.php:604
2453
  msgid "HTML is allowed"
2454
  msgstr ""
2455
 
2456
- #: themes/foundation/root-functions.php:621
2457
  msgid "Footer"
2458
  msgstr ""
2459
 
2460
- #: themes/foundation/root-functions.php:633
2461
  msgid "Custom CSS"
2462
  msgstr ""
2463
 
2464
- #: themes/foundation/root-functions.php:639
2465
  msgid "Custom CSS Declarations"
2466
  msgstr ""
2467
 
2468
- #: themes/foundation/root-functions.php:1000
2469
  msgid "search results for '%s'"
2470
  msgstr ""
2471
 
2472
- #: themes/foundation/root-functions.php:1003
2473
  msgid "%sCategories &rsaquo;%s %s"
2474
  msgstr ""
2475
 
2476
- #: themes/foundation/root-functions.php:1005
2477
  msgid "Tags &rsaquo; %s"
2478
  msgstr ""
2479
 
2480
- #: themes/foundation/root-functions.php:1007
2481
  #: themes/foundation/root-functions.php:1009
2482
  #: themes/foundation/root-functions.php:1011
 
2483
  msgid "Archives &rsaquo; %s"
2484
  msgstr ""
2485
 
2486
- #: themes/foundation/root-functions.php:1025
2487
  msgid "Load more from this category"
2488
  msgstr ""
2489
 
2490
- #: themes/foundation/root-functions.php:1027
2491
  msgid "Load more tagged like this"
2492
  msgstr ""
2493
 
2494
- #: themes/foundation/root-functions.php:1029
2495
  msgid "Load more from this day"
2496
  msgstr ""
2497
 
2498
- #: themes/foundation/root-functions.php:1031
2499
  msgid "Load more from this month"
2500
  msgstr ""
2501
 
2502
- #: themes/foundation/root-functions.php:1033
2503
  msgid "Load more from this year"
2504
  msgstr ""
2505
 
2506
- #: themes/foundation/root-functions.php:1035
2507
  msgid "Load more in this section"
2508
  msgstr ""
2509
 
2510
- #: themes/foundation/root-functions.php:1037
2511
  msgid "Load more entries"
2512
  msgstr ""
2513
 
2514
- #: themes/foundation/root-functions.php:1300
2515
  msgid "Post"
2516
  msgstr ""
2517
 
2518
- #: themes/foundation/root-functions.php:1302
2519
  msgid "Page"
2520
  msgstr ""
2521
 
@@ -2533,9 +2533,9 @@ msgstr ""
2533
  msgid "WPtouch Mobile Plugin"
2534
  msgstr ""
2535
 
2536
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.34) #-#-#-#-#
2537
  #. Plugin URI of the plugin/theme
2538
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.34) #-#-#-#-#
2539
  #. Author URI of the plugin/theme
2540
  msgid "http://www.wptouch.com/"
2541
  msgstr ""
1
+ # Copyright (C) 2019 WPtouch Mobile Plugin
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"
11
+ "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
2371
  msgstr ""
2372
 
2373
  #: themes/foundation/modules/tablets/tablets.php:64
2374
+ #: themes/foundation/root-functions.php:556
2375
  msgid "%d by %d pixels (PNG)"
2376
  msgstr ""
2377
 
2391
  msgid "Custom Content"
2392
  msgstr ""
2393
 
2394
+ #: themes/foundation/root-functions.php:54
2395
  msgid "Language: "
2396
  msgstr ""
2397
 
2398
+ #: themes/foundation/root-functions.php:469
2399
  msgid "Theme Colors"
2400
  msgstr ""
2401
 
2402
+ #: themes/foundation/root-functions.php:485
2403
  msgid "Number of posts in post listings"
2404
  msgstr ""
2405
 
2406
+ #: themes/foundation/root-functions.php:486
2407
  msgid ""
2408
  "Overrides the WordPress Reading settings for \"Blog pages show at most\""
2409
  msgstr ""
2410
 
2411
+ #: themes/foundation/root-functions.php:498
2412
  msgid "Excluded categories"
2413
  msgstr ""
2414
 
2415
+ #: themes/foundation/root-functions.php:499
2416
  msgid "Comma separated by category name"
2417
  msgstr ""
2418
 
2419
+ #: themes/foundation/root-functions.php:506
2420
  msgid "Excluded tags"
2421
  msgstr ""
2422
 
2423
+ #: themes/foundation/root-functions.php:507
2424
  msgid "Comma separated by tag name"
2425
  msgstr ""
2426
 
2427
+ #: themes/foundation/root-functions.php:529
2428
  msgid "Blog"
2429
  msgstr ""
2430
 
2431
+ #: themes/foundation/root-functions.php:539
2432
+ #: themes/foundation/root-functions.php:1359
2433
  msgid "Pages"
2434
  msgstr ""
2435
 
2436
+ #: themes/foundation/root-functions.php:550
2437
  msgid "Site Icon"
2438
  msgstr ""
2439
 
2440
+ #: themes/foundation/root-functions.php:574
2441
  msgid "Site Logo"
2442
  msgstr ""
2443
 
2444
+ #: themes/foundation/root-functions.php:591
2445
  msgid "Header"
2446
  msgstr ""
2447
 
2448
+ #: themes/foundation/root-functions.php:605
2449
  msgid "Custom footer content"
2450
  msgstr ""
2451
 
2452
+ #: themes/foundation/root-functions.php:606
2453
  msgid "HTML is allowed"
2454
  msgstr ""
2455
 
2456
+ #: themes/foundation/root-functions.php:623
2457
  msgid "Footer"
2458
  msgstr ""
2459
 
2460
+ #: themes/foundation/root-functions.php:635
2461
  msgid "Custom CSS"
2462
  msgstr ""
2463
 
2464
+ #: themes/foundation/root-functions.php:641
2465
  msgid "Custom CSS Declarations"
2466
  msgstr ""
2467
 
2468
+ #: themes/foundation/root-functions.php:1002
2469
  msgid "search results for '%s'"
2470
  msgstr ""
2471
 
2472
+ #: themes/foundation/root-functions.php:1005
2473
  msgid "%sCategories &rsaquo;%s %s"
2474
  msgstr ""
2475
 
2476
+ #: themes/foundation/root-functions.php:1007
2477
  msgid "Tags &rsaquo; %s"
2478
  msgstr ""
2479
 
 
2480
  #: themes/foundation/root-functions.php:1009
2481
  #: themes/foundation/root-functions.php:1011
2482
+ #: themes/foundation/root-functions.php:1013
2483
  msgid "Archives &rsaquo; %s"
2484
  msgstr ""
2485
 
2486
+ #: themes/foundation/root-functions.php:1027
2487
  msgid "Load more from this category"
2488
  msgstr ""
2489
 
2490
+ #: themes/foundation/root-functions.php:1029
2491
  msgid "Load more tagged like this"
2492
  msgstr ""
2493
 
2494
+ #: themes/foundation/root-functions.php:1031
2495
  msgid "Load more from this day"
2496
  msgstr ""
2497
 
2498
+ #: themes/foundation/root-functions.php:1033
2499
  msgid "Load more from this month"
2500
  msgstr ""
2501
 
2502
+ #: themes/foundation/root-functions.php:1035
2503
  msgid "Load more from this year"
2504
  msgstr ""
2505
 
2506
+ #: themes/foundation/root-functions.php:1037
2507
  msgid "Load more in this section"
2508
  msgstr ""
2509
 
2510
+ #: themes/foundation/root-functions.php:1039
2511
  msgid "Load more entries"
2512
  msgstr ""
2513
 
2514
+ #: themes/foundation/root-functions.php:1302
2515
  msgid "Post"
2516
  msgstr ""
2517
 
2518
+ #: themes/foundation/root-functions.php:1304
2519
  msgid "Page"
2520
  msgstr ""
2521
 
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 ""
readme.txt CHANGED
@@ -2,7 +2,7 @@
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.34
6
  Tested up to: 4.9
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.34 (November 21st, 2018) =
37
 
38
  * Fixed: Issue where iframe height might be cut off + additional Gutenberg/block related styling changes.
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
 
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.
39
+
40
  = Version 4.3.34 (November 21st, 2018) =
41
 
42
  * Fixed: Issue where iframe height might be cut off + additional Gutenberg/block related styling changes.
themes/foundation/root-functions.php CHANGED
@@ -40,6 +40,8 @@ add_action( 'wptouch_post_process_image_file', 'foundation_process_image_file',
40
 
41
  add_action( 'wptouch_language_insert', 'foundation_add_wpml_lang_switcher', 20 );
42
 
 
 
43
  function foundation_add_wpml_lang_switcher() {
44
  $settings = wptouch_get_settings();
45
 
@@ -1453,4 +1455,18 @@ function foundation_output_comment_form_cookie_consent_checkbox() {
1453
  </label>
1454
  </p>
1455
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1456
  }
40
 
41
  add_action( 'wptouch_language_insert', 'foundation_add_wpml_lang_switcher', 20 );
42
 
43
+ add_filter( 'kses_allowed_protocols', 'foundation_allowed_protocols' );
44
+
45
  function foundation_add_wpml_lang_switcher() {
46
  $settings = wptouch_get_settings();
47
 
1455
  </label>
1456
  </p>
1457
  <?php
1458
+ }
1459
+
1460
+ /**
1461
+ * Add sms and other protocols so they are not stripped
1462
+ * from output.
1463
+ *
1464
+ * @param array $protocols List of allowed protocols.
1465
+ *
1466
+ * @return array
1467
+ */
1468
+ function foundation_allowed_protocols( $protocols ) {
1469
+ $protocols[] = 'sms';
1470
+
1471
+ return $protocols;
1472
  }
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.34
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.34' );
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.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
 
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' ) );