WPtouch - Version 4.3.7

Version Description

Download this release

Release Info

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

Code changes from version 4.3.6 to 4.3.7

core/menu-walkers.php CHANGED
@@ -433,7 +433,7 @@ class WPtouch_Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
433
  function wptouch_menu_walker_get_classes( $item, $has_icon = true ) {
434
  $clear_classes = array( 'menu-item' );
435
 
436
- if ( isset( $item->classes ) ) {
437
  foreach( $item->classes as $key => $value ) {
438
  if ( is_string ( $value ) && strlen( $value ) ) {
439
  if ( !in_array( $value, $clear_classes ) ) {
433
  function wptouch_menu_walker_get_classes( $item, $has_icon = true ) {
434
  $clear_classes = array( 'menu-item' );
435
 
436
+ if ( isset( $item->classes ) && is_array( $item->classes ) ) {
437
  foreach( $item->classes as $key => $value ) {
438
  if ( is_string ( $value ) && strlen( $value ) ) {
439
  if ( !in_array( $value, $clear_classes ) ) {
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.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2016-11-10 20:00:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -1491,8 +1491,7 @@ msgstr ""
1491
  msgid "Remove"
1492
  msgstr ""
1493
 
1494
- #: core/menu-walkers.php:416 themes/bauhaus/default/comments.php:48
1495
- #: themes/foundation/default/comments.php:48
1496
  msgid "Cancel"
1497
  msgstr ""
1498
 
@@ -1641,52 +1640,6 @@ msgstr ""
1641
  msgid "Comments are closed"
1642
  msgstr ""
1643
 
1644
- #: themes/bauhaus/default/comments.php:51
1645
- #: themes/foundation/default/comments.php:51
1646
- msgid "Leave a Reply"
1647
- msgstr ""
1648
-
1649
- #: themes/bauhaus/default/comments.php:51
1650
- #: themes/foundation/default/comments.php:51
1651
- msgid "Leave a Reply to %s"
1652
- msgstr ""
1653
-
1654
- #: themes/bauhaus/default/comments.php:54
1655
- #: themes/foundation/default/comments.php:54
1656
- msgid "You must be %slogged in%s to post a comment."
1657
- msgstr ""
1658
-
1659
- #: themes/bauhaus/default/comments.php:61
1660
- #: themes/foundation/default/comments.php:61
1661
- msgid "Logged in as"
1662
- msgstr ""
1663
-
1664
- #: themes/bauhaus/default/comments.php:61
1665
- #: themes/foundation/default/comments.php:61
1666
- msgid "Log out"
1667
- msgstr ""
1668
-
1669
- #: themes/bauhaus/default/comments.php:65
1670
- #: themes/foundation/default/comments.php:65
1671
- msgid "Name"
1672
- msgstr ""
1673
-
1674
- #: themes/bauhaus/default/comments.php:67
1675
- #: themes/foundation/default/comments.php:67
1676
- #: themes/foundation/modules/social-links/social-links.php:95
1677
- msgid "E-Mail"
1678
- msgstr ""
1679
-
1680
- #: themes/bauhaus/default/comments.php:69
1681
- #: themes/foundation/default/comments.php:69
1682
- msgid "Website"
1683
- msgstr ""
1684
-
1685
- #: themes/bauhaus/default/comments.php:77
1686
- #: themes/foundation/default/comments.php:77
1687
- msgid "Publish"
1688
- msgstr ""
1689
-
1690
  #: themes/bauhaus/default/footer.php:10
1691
  #: themes/foundation/default/footer.php:10
1692
  msgid "Back to top"
@@ -2055,6 +2008,43 @@ msgstr ""
2055
  msgid "Blog Layout"
2056
  msgstr ""
2057
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2058
  #: themes/foundation/default/formerror.php:6
2059
  msgid "Comment Error"
2060
  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.7\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2016-11-23 20:29:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1491
  msgid "Remove"
1492
  msgstr ""
1493
 
1494
+ #: core/menu-walkers.php:416 themes/foundation/default/comments.php:48
 
1495
  msgid "Cancel"
1496
  msgstr ""
1497
 
1640
  msgid "Comments are closed"
1641
  msgstr ""
1642
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1643
  #: themes/bauhaus/default/footer.php:10
1644
  #: themes/foundation/default/footer.php:10
1645
  msgid "Back to top"
2008
  msgid "Blog Layout"
2009
  msgstr ""
2010
 
2011
+ #: themes/foundation/default/comments.php:51
2012
+ msgid "Leave a Reply"
2013
+ msgstr ""
2014
+
2015
+ #: themes/foundation/default/comments.php:51
2016
+ msgid "Leave a Reply to %s"
2017
+ msgstr ""
2018
+
2019
+ #: themes/foundation/default/comments.php:54
2020
+ msgid "You must be %slogged in%s to post a comment."
2021
+ msgstr ""
2022
+
2023
+ #: themes/foundation/default/comments.php:61
2024
+ msgid "Logged in as"
2025
+ msgstr ""
2026
+
2027
+ #: themes/foundation/default/comments.php:61
2028
+ msgid "Log out"
2029
+ msgstr ""
2030
+
2031
+ #: themes/foundation/default/comments.php:65
2032
+ msgid "Name"
2033
+ msgstr ""
2034
+
2035
+ #: themes/foundation/default/comments.php:67
2036
+ #: themes/foundation/modules/social-links/social-links.php:95
2037
+ msgid "E-Mail"
2038
+ msgstr ""
2039
+
2040
+ #: themes/foundation/default/comments.php:69
2041
+ msgid "Website"
2042
+ msgstr ""
2043
+
2044
+ #: themes/foundation/default/comments.php:77
2045
+ msgid "Publish"
2046
+ msgstr ""
2047
+
2048
  #: themes/foundation/default/formerror.php:6
2049
  msgid "Comment Error"
2050
  msgstr ""
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: kbmcardle, bravenewcode, duanestorey, dalemugford, adamdipardo,
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.6
6
  Tested up to: 4.6
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.6 (November 10, 2016) =
37
 
38
  * Fixed: Featured slider now won't show if no posts have a featured image
2
  Contributors: kbmcardle, bravenewcode, duanestorey, dalemugford, adamdipardo,
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.7
6
  Tested up to: 4.6
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.7 (November 23, 2016) =
37
+
38
+ * Changed: Now using the standard WordPress comment form, for better compatibility with plugins that use or modify comments.
39
+ * Fixed: Minor bugs and issues reported by customers and users
40
+
41
  = Version 4.3.6 (November 10, 2016) =
42
 
43
  * Fixed: Featured slider now won't show if no posts have a featured image
themes/bauhaus/default/comments.php CHANGED
@@ -43,43 +43,16 @@
43
  <!-- End of dealing with the comments, now the comment form -->
44
 
45
  <?php if ( comments_open() ) { ?>
46
- <div id="respond">
47
- <div class="cancel-comment-reply">
48
- <?php cancel_comment_reply_link( __( 'Cancel', 'wptouch-pro' ) ); ?>
49
- </div>
50
-
51
- <h3><?php comment_form_title( __( 'Leave a Reply', 'wptouch-pro' ), __( 'Leave a Reply to %s', 'wptouch-pro' ) ); ?></h3>
52
-
53
- <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) { ?>
54
- <p><?php echo sprintf( __( 'You must be %slogged in%s to post a comment.', 'wptouch-pro' ), '<a class="login-req" href="' . wp_login_url( get_permalink() ) . '">', '</a>' ); ?></p>
55
- <?php } else { ?>
56
- <form action="<?php wptouch_bloginfo( 'wpurl' ); ?>/wp-comments-post.php" method="post" id="commentform">
57
-
58
- <?php comment_id_fields(); ?>
59
-
60
- <?php if ( is_user_logged_in() ) { ?>
61
- <p><?php _e( 'Logged in as', 'wptouch-pro' ); ?> <?php echo $user_identity; ?>. <a href="<?php echo wp_logout_url( esc_url_raw( $_SERVER['REQUEST_URI'], array( 'http', 'https' ) ) ); ?>" title="Log out"><?php _e( 'Log out', 'wptouch-pro' ); ?> &raquo;</a></p>
62
-
63
- <?php } else { ?>
64
-
65
- <p><input type="text" name="author" id="author" value="<?php echo esc_attr( $comment_author ); ?>" size="22" <?php if ( $req ) echo "aria-required='true'"; ?> />&nbsp;<label for="author"><?php _e( 'Name', 'wptouch-pro' ); ?><?php if ( $req ) echo "*"; ?></label></p>
66
-
67
- <p><input type="email" autocapitalize="off" name="email" id="email" value="<?php echo esc_attr( $comment_author_email ); ?>" size="22" <?php if ( $req ) echo "aria-required='true'"; ?> tabindex="11" />&nbsp;<label for="email"><?php _e( 'E-Mail', 'wptouch-pro' ); ?><?php if ( $req ) echo "*"; ?></label></p>
68
 
69
- <p><input type="url" autocapitalize="off" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" />&nbsp;<label for="url"><?php _e( 'Website', 'wptouch-pro' ); ?></label></p>
70
-
71
- <?php } ?>
72
-
73
- <p><textarea name="comment" id="comment"></textarea></p>
74
-
75
- <?php do_action( 'comment_form', $post->ID ); ?>
76
-
77
- <p><button name="submit" type="submit" id="submit"><?php _e( 'Publish', 'wptouch-pro' ); ?></button></p>
78
-
79
-
80
- </form>
81
- <?php } ?>
82
 
 
 
 
 
 
 
 
83
  </div><!-- #respond // end dealing with the comment form -->
84
 
85
- <?php }
43
  <!-- End of dealing with the comments, now the comment form -->
44
 
45
  <?php if ( comments_open() ) { ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
+ <div id="respond">
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
+ <?php
50
+ comment_form( array(
51
+ 'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
52
+ 'title_reply_after' => '</h2>',
53
+ ) );
54
+ ?>
55
+
56
  </div><!-- #respond // end dealing with the comment form -->
57
 
58
+ <?php }
themes/bauhaus/default/style.css CHANGED
@@ -955,11 +955,16 @@ form#commentform input {
955
  margin-right: 5px;
956
  }
957
 
958
- form#commentform button#submit {
959
  -webkit-border-radius: 2px;
960
  border-radius: 2px;
961
  }
962
 
 
 
 
 
 
963
  /* @end */
964
 
965
  /* @end */
955
  margin-right: 5px;
956
  }
957
 
958
+ form#commentform button#submit, form#commentform input#submit {
959
  -webkit-border-radius: 2px;
960
  border-radius: 2px;
961
  }
962
 
963
+ form#commentform label {
964
+ display: block;
965
+ margin-bottom: 5px;
966
+ }
967
+
968
  /* @end */
969
 
970
  /* @end */
themes/bauhaus/readme.txt CHANGED
@@ -2,7 +2,7 @@ Theme Name: Bauhaus
2
  Theme URI: http://www.wptouch.com/themes/bauhaus
3
  Author: BraveNewCode Inc.
4
  Description: Clean, modern, functional design. Great for all types of WordPress sites.
5
- Version: 2.0.4
6
  Depends on: 4.3
7
  Framework: 2.0
8
  Tags: smartphone
@@ -25,6 +25,10 @@ Bauhaus is one of our more flexible themes, and is designed to easily take on th
25
 
26
  == Changelog ==
27
 
 
 
 
 
28
  = Version 2.0.4 =
29
 
30
  * Fixed: Featured slider now won't show if no posts have a featured image
2
  Theme URI: http://www.wptouch.com/themes/bauhaus
3
  Author: BraveNewCode Inc.
4
  Description: Clean, modern, functional design. Great for all types of WordPress sites.
5
+ Version: 2.0.5
6
  Depends on: 4.3
7
  Framework: 2.0
8
  Tags: smartphone
25
 
26
  == Changelog ==
27
 
28
+ = Version 2.0.5 =
29
+
30
+ * Changed: Now using the standard WordPress comment form, for better compatibility with plugins that use or modify comments.
31
+
32
  = Version 2.0.4 =
33
 
34
  * Fixed: Featured slider now won't show if no posts have a featured image
themes/bauhaus/root-functions.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- define( 'BAUHAUS_THEME_VERSION', '2.0.4' );
4
  define( 'BAUHAUS_SETTING_DOMAIN', 'bauhaus' );
5
  define( 'BAUHAUS_DIR', wptouch_get_bloginfo( 'theme_root_directory' ) );
6
  define( 'BAUHAUS_URL', wptouch_get_bloginfo( 'theme_parent_url' ) );
@@ -160,7 +160,7 @@ function bauhaus_theme_init() {
160
  foundation_register_theme_color( 'bauhaus_background_color', __( 'Theme background', 'wptouch-pro' ), '', '.page-wrapper', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'body' );
161
  foundation_register_theme_color( 'bauhaus_header_color', __( 'Header & Menu', 'wptouch-pro' ),'', 'body, header, .wptouch-menu, .pushit, #search-dropper, .date-circle, .list-view .list-carousel', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'header' );
162
  foundation_register_theme_color( 'bauhaus_link_color', __( 'Links', 'wptouch-pro' ), '.content-wrap a, #slider a p:after', '.dots li.active, #switch .active', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING );
163
- foundation_register_theme_color( 'bauhaus_post_page_header_color', __( 'Post/Page Headers', 'wptouch-pro' ), '', '.bauhaus, form#commentform button#submit', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'post-head' );
164
 
165
  }
166
 
1
  <?php
2
 
3
+ define( 'BAUHAUS_THEME_VERSION', '2.0.5' );
4
  define( 'BAUHAUS_SETTING_DOMAIN', 'bauhaus' );
5
  define( 'BAUHAUS_DIR', wptouch_get_bloginfo( 'theme_root_directory' ) );
6
  define( 'BAUHAUS_URL', wptouch_get_bloginfo( 'theme_parent_url' ) );
160
  foundation_register_theme_color( 'bauhaus_background_color', __( 'Theme background', 'wptouch-pro' ), '', '.page-wrapper', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'body' );
161
  foundation_register_theme_color( 'bauhaus_header_color', __( 'Header & Menu', 'wptouch-pro' ),'', 'body, header, .wptouch-menu, .pushit, #search-dropper, .date-circle, .list-view .list-carousel', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'header' );
162
  foundation_register_theme_color( 'bauhaus_link_color', __( 'Links', 'wptouch-pro' ), '.content-wrap a, #slider a p:after', '.dots li.active, #switch .active', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING );
163
+ foundation_register_theme_color( 'bauhaus_post_page_header_color', __( 'Post/Page Headers', 'wptouch-pro' ), '', '.bauhaus, form#commentform button#submit, form#commentform input#submit', BAUHAUS_SETTING_DOMAIN, WPTOUCH_PRO_LIVE_PREVIEW_SETTING, 150, 'post-head' );
164
 
165
  }
166
 
themes/foundation/default/style.css CHANGED
@@ -966,6 +966,10 @@ p.nocomments {
966
  margin-bottom: 25px;
967
  }
968
 
 
 
 
 
969
  /* @group Commentform */
970
 
971
  form#commentform label {
@@ -976,6 +980,11 @@ form#commentform input[type="text"], form#commentform input[type="email"], form#
976
  width: 60%;
977
  }
978
 
 
 
 
 
 
979
  form#commentform input:focus, form#commentform textarea:focus {
980
  background-color: rgba(0,0,0,0);
981
  }
@@ -1003,6 +1012,11 @@ form#commentform textarea {
1003
  -webkit-transition-duration: .5s;
1004
  }
1005
 
 
 
 
 
 
1006
  form#commentform textarea:focus {
1007
  min-height: 120px;
1008
  }
966
  margin-bottom: 25px;
967
  }
968
 
969
+ .comment .comment-body img {
970
+ max-width: 100%;
971
+ }
972
+
973
  /* @group Commentform */
974
 
975
  form#commentform label {
980
  width: 60%;
981
  }
982
 
983
+ form#commentform.comment-form input[type="text"], form#commentform.comment-form input[type="email"], form#commentform.comment-form input[type="url"] {
984
+ width: 100%;
985
+ box-sizing: border-box;
986
+ }
987
+
988
  form#commentform input:focus, form#commentform textarea:focus {
989
  background-color: rgba(0,0,0,0);
990
  }
1012
  -webkit-transition-duration: .5s;
1013
  }
1014
 
1015
+ form#commentform.comment-form textarea {
1016
+ width: 100%;
1017
+ box-sizing: border-box;
1018
+ }
1019
+
1020
  form#commentform textarea:focus {
1021
  min-height: 120px;
1022
  }
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.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.3.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.3.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.3.7' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );