WPtouch - Version 4.3.23

Version Description

Download this release

Release Info

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

Code changes from version 4.3.22 to 4.3.23

admin/customizer/wptouch-customizer.php CHANGED
@@ -333,7 +333,7 @@ function wptouch_customizer_setup( $wp_customize ) {
333
 
334
  if ( wptouch_can_show_page( 'colors' ) ) {
335
  // Again, colours are a special case and are handled separately
336
- if ( foundation_has_theme_colors() ) {
337
  $colors = foundation_get_theme_colors();
338
 
339
  foreach( $colors as $color ) {
333
 
334
  if ( wptouch_can_show_page( 'colors' ) ) {
335
  // Again, colours are a special case and are handled separately
336
+ if ( function_exists( 'foundation_has_theme_colors' ) ) {
337
  $colors = foundation_get_theme_colors();
338
 
339
  foreach( $colors as $color ) {
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.21\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2017-11-16 14:28:47+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -2361,7 +2361,7 @@ msgid "iPad"
2361
  msgstr ""
2362
 
2363
  #: themes/foundation/modules/tablets/tablets.php:64
2364
- #: themes/foundation/root-functions.php:550
2365
  msgid "%d by %d pixels (PNG)"
2366
  msgstr ""
2367
 
@@ -2385,127 +2385,127 @@ msgstr ""
2385
  msgid "Language: "
2386
  msgstr ""
2387
 
2388
- #: themes/foundation/root-functions.php:463
2389
  msgid "Theme Colors"
2390
  msgstr ""
2391
 
2392
- #: themes/foundation/root-functions.php:479
2393
  msgid "Number of posts in post listings"
2394
  msgstr ""
2395
 
2396
- #: themes/foundation/root-functions.php:480
2397
  msgid ""
2398
  "Overrides the WordPress Reading settings for \"Blog pages show at most\""
2399
  msgstr ""
2400
 
2401
- #: themes/foundation/root-functions.php:492
2402
  msgid "Excluded categories"
2403
  msgstr ""
2404
 
2405
- #: themes/foundation/root-functions.php:493
2406
  msgid "Comma separated by category name"
2407
  msgstr ""
2408
 
2409
- #: themes/foundation/root-functions.php:500
2410
  msgid "Excluded tags"
2411
  msgstr ""
2412
 
2413
- #: themes/foundation/root-functions.php:501
2414
  msgid "Comma separated by tag name"
2415
  msgstr ""
2416
 
2417
- #: themes/foundation/root-functions.php:523
2418
  msgid "Blog"
2419
  msgstr ""
2420
 
2421
- #: themes/foundation/root-functions.php:533
2422
- #: themes/foundation/root-functions.php:1353
2423
  msgid "Pages"
2424
  msgstr ""
2425
 
2426
- #: themes/foundation/root-functions.php:544
2427
  msgid "Site Icon"
2428
  msgstr ""
2429
 
2430
- #: themes/foundation/root-functions.php:568
2431
  msgid "Site Logo"
2432
  msgstr ""
2433
 
2434
- #: themes/foundation/root-functions.php:585
2435
  msgid "Header"
2436
  msgstr ""
2437
 
2438
- #: themes/foundation/root-functions.php:599
2439
  msgid "Custom footer content"
2440
  msgstr ""
2441
 
2442
- #: themes/foundation/root-functions.php:600
2443
  msgid "HTML is allowed"
2444
  msgstr ""
2445
 
2446
- #: themes/foundation/root-functions.php:617
2447
  msgid "Footer"
2448
  msgstr ""
2449
 
2450
- #: themes/foundation/root-functions.php:629
2451
  msgid "Custom CSS"
2452
  msgstr ""
2453
 
2454
- #: themes/foundation/root-functions.php:635
2455
  msgid "Custom CSS Declarations"
2456
  msgstr ""
2457
 
2458
- #: themes/foundation/root-functions.php:996
2459
  msgid "search results for '%s'"
2460
  msgstr ""
2461
 
2462
- #: themes/foundation/root-functions.php:999
2463
  msgid "%sCategories ›%s %s"
2464
  msgstr ""
2465
 
2466
- #: themes/foundation/root-functions.php:1001
2467
  msgid "Tags › %s"
2468
  msgstr ""
2469
 
2470
- #: themes/foundation/root-functions.php:1003
2471
- #: themes/foundation/root-functions.php:1005
2472
- #: themes/foundation/root-functions.php:1007
2473
  msgid "Archives › %s"
2474
  msgstr ""
2475
 
2476
- #: themes/foundation/root-functions.php:1021
2477
  msgid "Load more from this category"
2478
  msgstr ""
2479
 
2480
- #: themes/foundation/root-functions.php:1023
2481
  msgid "Load more tagged like this"
2482
  msgstr ""
2483
 
2484
- #: themes/foundation/root-functions.php:1025
2485
  msgid "Load more from this day"
2486
  msgstr ""
2487
 
2488
- #: themes/foundation/root-functions.php:1027
2489
  msgid "Load more from this month"
2490
  msgstr ""
2491
 
2492
- #: themes/foundation/root-functions.php:1029
2493
  msgid "Load more from this year"
2494
  msgstr ""
2495
 
2496
- #: themes/foundation/root-functions.php:1031
2497
  msgid "Load more in this section"
2498
  msgstr ""
2499
 
2500
- #: themes/foundation/root-functions.php:1033
2501
  msgid "Load more entries"
2502
  msgstr ""
2503
 
2504
- #: themes/foundation/root-functions.php:1296
2505
  msgid "Post"
2506
  msgstr ""
2507
 
2508
- #: themes/foundation/root-functions.php:1298
2509
  msgid "Page"
2510
  msgstr ""
2511
 
@@ -2523,9 +2523,9 @@ msgstr ""
2523
  msgid "WPtouch Mobile Plugin"
2524
  msgstr ""
2525
 
2526
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.21) #-#-#-#-#
2527
  #. Plugin URI of the plugin/theme
2528
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.21) #-#-#-#-#
2529
  #. Author URI of the plugin/theme
2530
  msgid "http://www.wptouch.com/"
2531
  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.23\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2017-12-27 21:15:40+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2361
  msgstr ""
2362
 
2363
  #: themes/foundation/modules/tablets/tablets.php:64
2364
+ #: themes/foundation/root-functions.php:553
2365
  msgid "%d by %d pixels (PNG)"
2366
  msgstr ""
2367
 
2385
  msgid "Language: "
2386
  msgstr ""
2387
 
2388
+ #: themes/foundation/root-functions.php:466
2389
  msgid "Theme Colors"
2390
  msgstr ""
2391
 
2392
+ #: themes/foundation/root-functions.php:482
2393
  msgid "Number of posts in post listings"
2394
  msgstr ""
2395
 
2396
+ #: themes/foundation/root-functions.php:483
2397
  msgid ""
2398
  "Overrides the WordPress Reading settings for \"Blog pages show at most\""
2399
  msgstr ""
2400
 
2401
+ #: themes/foundation/root-functions.php:495
2402
  msgid "Excluded categories"
2403
  msgstr ""
2404
 
2405
+ #: themes/foundation/root-functions.php:496
2406
  msgid "Comma separated by category name"
2407
  msgstr ""
2408
 
2409
+ #: themes/foundation/root-functions.php:503
2410
  msgid "Excluded tags"
2411
  msgstr ""
2412
 
2413
+ #: themes/foundation/root-functions.php:504
2414
  msgid "Comma separated by tag name"
2415
  msgstr ""
2416
 
2417
+ #: themes/foundation/root-functions.php:526
2418
  msgid "Blog"
2419
  msgstr ""
2420
 
2421
+ #: themes/foundation/root-functions.php:536
2422
+ #: themes/foundation/root-functions.php:1356
2423
  msgid "Pages"
2424
  msgstr ""
2425
 
2426
+ #: themes/foundation/root-functions.php:547
2427
  msgid "Site Icon"
2428
  msgstr ""
2429
 
2430
+ #: themes/foundation/root-functions.php:571
2431
  msgid "Site Logo"
2432
  msgstr ""
2433
 
2434
+ #: themes/foundation/root-functions.php:588
2435
  msgid "Header"
2436
  msgstr ""
2437
 
2438
+ #: themes/foundation/root-functions.php:602
2439
  msgid "Custom footer content"
2440
  msgstr ""
2441
 
2442
+ #: themes/foundation/root-functions.php:603
2443
  msgid "HTML is allowed"
2444
  msgstr ""
2445
 
2446
+ #: themes/foundation/root-functions.php:620
2447
  msgid "Footer"
2448
  msgstr ""
2449
 
2450
+ #: themes/foundation/root-functions.php:632
2451
  msgid "Custom CSS"
2452
  msgstr ""
2453
 
2454
+ #: themes/foundation/root-functions.php:638
2455
  msgid "Custom CSS Declarations"
2456
  msgstr ""
2457
 
2458
+ #: themes/foundation/root-functions.php:999
2459
  msgid "search results for '%s'"
2460
  msgstr ""
2461
 
2462
+ #: themes/foundation/root-functions.php:1002
2463
  msgid "%sCategories ›%s %s"
2464
  msgstr ""
2465
 
2466
+ #: themes/foundation/root-functions.php:1004
2467
  msgid "Tags › %s"
2468
  msgstr ""
2469
 
2470
+ #: themes/foundation/root-functions.php:1006
2471
+ #: themes/foundation/root-functions.php:1008
2472
+ #: themes/foundation/root-functions.php:1010
2473
  msgid "Archives › %s"
2474
  msgstr ""
2475
 
2476
+ #: themes/foundation/root-functions.php:1024
2477
  msgid "Load more from this category"
2478
  msgstr ""
2479
 
2480
+ #: themes/foundation/root-functions.php:1026
2481
  msgid "Load more tagged like this"
2482
  msgstr ""
2483
 
2484
+ #: themes/foundation/root-functions.php:1028
2485
  msgid "Load more from this day"
2486
  msgstr ""
2487
 
2488
+ #: themes/foundation/root-functions.php:1030
2489
  msgid "Load more from this month"
2490
  msgstr ""
2491
 
2492
+ #: themes/foundation/root-functions.php:1032
2493
  msgid "Load more from this year"
2494
  msgstr ""
2495
 
2496
+ #: themes/foundation/root-functions.php:1034
2497
  msgid "Load more in this section"
2498
  msgstr ""
2499
 
2500
+ #: themes/foundation/root-functions.php:1036
2501
  msgid "Load more entries"
2502
  msgstr ""
2503
 
2504
+ #: themes/foundation/root-functions.php:1299
2505
  msgid "Post"
2506
  msgstr ""
2507
 
2508
+ #: themes/foundation/root-functions.php:1301
2509
  msgid "Page"
2510
  msgstr ""
2511
 
2523
  msgid "WPtouch Mobile Plugin"
2524
  msgstr ""
2525
 
2526
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.23) #-#-#-#-#
2527
  #. Plugin URI of the plugin/theme
2528
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.23) #-#-#-#-#
2529
  #. Author URI of the plugin/theme
2530
  msgid "http://www.wptouch.com/"
2531
  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.22
6
  Tested up to: 4.9
7
  License: GPLv2
8
 
@@ -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.22 (Nov 16, 2017) =
37
 
38
  * New Feature: Live view of customizer additional CSS field 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.23
6
  Tested up to: 4.9
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.23 (Dec 27, 2017) =
37
+
38
+ * Fixed: URL typo.
39
+ * Updated: Logic for script output in customizer custom footer content.
40
+
41
  = Version 4.3.22 (Nov 16, 2017) =
42
 
43
  * New Feature: Live view of customizer additional CSS field content.
themes/foundation/root-functions.php CHANGED
@@ -286,10 +286,13 @@ function foundation_handle_footer() {
286
 
287
  if ( strip_tags( $message ) == $message ) {
288
  $output_message = '<p>' . $message . '</p>';
 
 
289
  } else {
290
  $output_message = $message;
291
  }
292
 
 
293
  $allowed_tags = wp_kses_allowed_html( 'post' );
294
  $allowed_tags['form']['autocomplete'] = true;
295
  $allowed_tags['form']['novalidate'] = true;
@@ -1156,7 +1159,7 @@ function wptouch_fdn_hierarchical_cat_list( $num, $include_count = true, $taxono
1156
  $posts_page = ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) ) ? get_permalink( get_option( 'page_for_posts' ) ) : home_url( '/' );
1157
  $posts_page = esc_url( $posts_page );
1158
  if ( 'list' == $r['style'] ) {
1159
- $output .= '<li class="cat-item-all"><a href="$posts_pageEXTERNAL_FRAGMENT">$show_option_all</a></li>';
1160
  } else {
1161
  $output .= "<a href='$posts_page'>$show_option_all</a>";
1162
  }
286
 
287
  if ( strip_tags( $message ) == $message ) {
288
  $output_message = '<p>' . $message . '</p>';
289
+ } elseif ( 1 === preg_match( '/<script[\s\S]*?>[\s\S]*?<\/script>/', $message, $matches ) ) {
290
+ $output_message = preg_replace( array( '/\\\"/', "/\\\'/" ), array( "'", '"' ), $message );
291
  } else {
292
  $output_message = $message;
293
  }
294
 
295
+
296
  $allowed_tags = wp_kses_allowed_html( 'post' );
297
  $allowed_tags['form']['autocomplete'] = true;
298
  $allowed_tags['form']['novalidate'] = true;
1159
  $posts_page = ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) ) ? get_permalink( get_option( 'page_for_posts' ) ) : home_url( '/' );
1160
  $posts_page = esc_url( $posts_page );
1161
  if ( 'list' == $r['style'] ) {
1162
+ $output .= '<li class="cat-item-all"><a href="$posts_page">$show_option_all</a></li>';
1163
  } else {
1164
  $output .= "<a href='$posts_page'>$show_option_all</a>";
1165
  }
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.21
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.21' );
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.23
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.23' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );