WPtouch - Version 4.3.44

Version Description

Download this release

Release Info

Developer sureswiftruss
Plugin Icon 128x128 WPtouch
Version 4.3.44
Comparing to
See all releases

Code changes from version 4.3.42 to 4.3.44

admin/pages/custom/wptouch-admin-license.php CHANGED
@@ -89,7 +89,7 @@
89
  <?php } else { ?>
90
  <tr>
91
  <td><?php _e( 'Site License', 'wptouch-pro' ); ?>:</td>
92
- <td><?php echo $bncid_info->licensed_site; ?> | <a href="<?php echo add_query_arg( array( 'wptouch_license_action' => 'remove_license', 'wptouch_license_nonce' => wp_create_nonce( 'tsarbomba' ) ), $_SERVER[ 'REQUEST_URI' ] ) ; ?>" class="remove-license"><?php _e( 'Deactivate', 'wptouch-pro' ); ?></a></td>
93
  </tr>
94
  <tr>
95
  <td><?php _e( 'Licenses used', 'wptouch-pro' ); ?>:</td>
89
  <?php } else { ?>
90
  <tr>
91
  <td><?php _e( 'Site License', 'wptouch-pro' ); ?>:</td>
92
+ <td><?php echo $bncid_info->licensed_site; ?> | <a href="<?php echo esc_url( add_query_arg( array( 'wptouch_license_action' => 'remove_license', 'wptouch_license_nonce' => wp_create_nonce( 'tsarbomba' ) ), $_SERVER[ 'REQUEST_URI' ] ) ) ; ?>" class="remove-license"><?php _e( 'Deactivate', 'wptouch-pro' ); ?></a></td>
93
  </tr>
94
  <tr>
95
  <td><?php _e( 'Licenses used', 'wptouch-pro' ); ?>:</td>
core/class-wptouch-pro.php CHANGED
@@ -190,7 +190,7 @@ class WPtouchProFour {
190
  if ( wp_verify_nonce( $nonce, 'tsarbomba' ) && current_user_can( 'activate_plugins' ) ) {
191
  $this->setup_bncapi();
192
  $this->bnc_api->user_remove_license();
193
- wp_redirect( add_query_arg( array( 'wptouch_license_action' => null, 'wptouch_license_nonce' => null ) ) );
194
  die;
195
  }
196
  }
@@ -2353,7 +2353,7 @@ class WPtouchProFour {
2353
  'ajaxurl' => get_bloginfo( 'wpurl' ) . '/wp-admin/admin-ajax.php',
2354
  'siteurl' => str_replace( array( 'http://' . $_SERVER['SERVER_NAME'] . '','https://' . $_SERVER['SERVER_NAME'] . '' ), '', get_bloginfo( 'url' ) . '/' ),
2355
  'security_nonce' => wp_create_nonce( 'wptouch-ajax' ),
2356
- 'current_shortcode_url' => add_query_arg( array( 'wptouch_shortcode' => '1' ), esc_url_raw( $_SERVER[ 'REQUEST_URI' ] ) ),
2357
  'query_vars' => $query_vars
2358
  );
2359
 
190
  if ( wp_verify_nonce( $nonce, 'tsarbomba' ) && current_user_can( 'activate_plugins' ) ) {
191
  $this->setup_bncapi();
192
  $this->bnc_api->user_remove_license();
193
+ wp_redirect( echo_url( add_query_arg( array( 'wptouch_license_action' => null, 'wptouch_license_nonce' => null ) ) ) );
194
  die;
195
  }
196
  }
2353
  'ajaxurl' => get_bloginfo( 'wpurl' ) . '/wp-admin/admin-ajax.php',
2354
  'siteurl' => str_replace( array( 'http://' . $_SERVER['SERVER_NAME'] . '','https://' . $_SERVER['SERVER_NAME'] . '' ), '', get_bloginfo( 'url' ) . '/' ),
2355
  'security_nonce' => wp_create_nonce( 'wptouch-ajax' ),
2356
+ 'current_shortcode_url' => esc_url( add_query_arg( array( 'wptouch_shortcode' => '1' ), esc_url_raw( $_SERVER[ 'REQUEST_URI' ] ) ) ),
2357
  'query_vars' => $query_vars
2358
  );
2359
 
core/menu-walkers.php CHANGED
@@ -290,32 +290,32 @@ class WPtouch_Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
290
  <span class="item-order hide-if-js">
291
  <a href="<?php
292
  echo wp_nonce_url(
293
- add_query_arg(
294
  array(
295
  'action' => 'move-up-menu-item',
296
  'menu-item' => $item_id,
297
  ),
298
  remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
299
- ),
300
  'move-menu_item'
301
  );
302
  ?>" class="item-move-up"><abbr title="<?php esc_attr_e('Move up'); ?>">&#8593;</abbr></a>
303
  |
304
  <a href="<?php
305
  echo wp_nonce_url(
306
- add_query_arg(
307
  array(
308
  'action' => 'move-down-menu-item',
309
  'menu-item' => $item_id,
310
  ),
311
  remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
312
- ),
313
  'move-menu_item'
314
  );
315
  ?>" class="item-move-down"><abbr title="<?php esc_attr_e('Move down'); ?>">&#8595;</abbr></a>
316
  </span>
317
  <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>" href="<?php
318
- echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) );
319
  ?>"><?php _e( 'Edit Menu Item' ); ?></a>
320
  </span>
321
  </dt>
@@ -404,13 +404,13 @@ class WPtouch_Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
404
  <?php endif; ?>
405
  <a class="item-delete submitdelete deletion" id="delete-<?php echo $item_id; ?>" href="<?php
406
  echo wp_nonce_url(
407
- add_query_arg(
408
  array(
409
  'action' => 'delete-menu-item',
410
  'menu-item' => $item_id,
411
  ),
412
  admin_url( 'nav-menus.php' )
413
- ),
414
  'delete-menu_item_' . $item_id
415
  ); ?>"><?php _e( 'Remove' ); ?></a> <span class="meta-sep hide-if-no-js"> | </span> <a class="item-cancel submitcancel hide-if-no-js" id="cancel-<?php echo $item_id; ?>" href="<?php echo esc_url( add_query_arg( array( 'edit-menu-item' => $item_id, 'cancel' => time() ), admin_url( 'nav-menus.php' ) ) );
416
  ?>#menu-item-settings-<?php echo $item_id; ?>"><?php _e('Cancel'); ?></a>
290
  <span class="item-order hide-if-js">
291
  <a href="<?php
292
  echo wp_nonce_url(
293
+ esc_url( add_query_arg(
294
  array(
295
  'action' => 'move-up-menu-item',
296
  'menu-item' => $item_id,
297
  ),
298
  remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
299
+ ) ),
300
  'move-menu_item'
301
  );
302
  ?>" class="item-move-up"><abbr title="<?php esc_attr_e('Move up'); ?>">&#8593;</abbr></a>
303
  |
304
  <a href="<?php
305
  echo wp_nonce_url(
306
+ esc_url( add_query_arg(
307
  array(
308
  'action' => 'move-down-menu-item',
309
  'menu-item' => $item_id,
310
  ),
311
  remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
312
+ ) ),
313
  'move-menu_item'
314
  );
315
  ?>" class="item-move-down"><abbr title="<?php esc_attr_e('Move down'); ?>">&#8595;</abbr></a>
316
  </span>
317
  <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>" href="<?php
318
+ echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : esc_url( add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ) );
319
  ?>"><?php _e( 'Edit Menu Item' ); ?></a>
320
  </span>
321
  </dt>
404
  <?php endif; ?>
405
  <a class="item-delete submitdelete deletion" id="delete-<?php echo $item_id; ?>" href="<?php
406
  echo wp_nonce_url(
407
+ esc_url( add_query_arg(
408
  array(
409
  'action' => 'delete-menu-item',
410
  'menu-item' => $item_id,
411
  ),
412
  admin_url( 'nav-menus.php' )
413
+ ) ),
414
  'delete-menu_item_' . $item_id
415
  ); ?>"><?php _e( 'Remove' ); ?></a> <span class="meta-sep hide-if-no-js"> | </span> <a class="item-cancel submitcancel hide-if-no-js" id="cancel-<?php echo $item_id; ?>" href="<?php echo esc_url( add_query_arg( array( 'edit-menu-item' => $item_id, 'cancel' => time() ), admin_url( 'nav-menus.php' ) ) );
416
  ?>#menu-item-settings-<?php echo $item_id; ?>"><?php _e('Cancel'); ?></a>
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.42\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
- "POT-Creation-Date: 2022-07-25 20:13: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"
@@ -2537,9 +2537,9 @@ msgstr ""
2537
  msgid "WPtouch Mobile Plugin"
2538
  msgstr ""
2539
 
2540
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.42) #-#-#-#-#
2541
  #. Plugin URI of the plugin/theme
2542
- #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.42) #-#-#-#-#
2543
  #. Author URI of the plugin/theme
2544
  msgid "http://www.wptouch.com/"
2545
  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.43\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
7
+ "POT-Creation-Date: 2022-08-25 15:15:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2537
  msgid "WPtouch Mobile Plugin"
2538
  msgstr ""
2539
 
2540
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.43) #-#-#-#-#
2541
  #. Plugin URI of the plugin/theme
2542
+ #. #-#-#-#-# wptouch.pot (WPtouch Mobile Plugin 4.3.43) #-#-#-#-#
2543
  #. Author URI of the plugin/theme
2544
  msgid "http://www.wptouch.com/"
2545
  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.42
6
  Tested up to: 6.0.1
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.42 (July 25th, 2022) =
37
 
38
  * Minor menu fix.
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.44
6
  Tested up to: 6.0.1
7
  License: GPLv2
8
 
33
 
34
  == Changelog ==
35
 
36
+ = Version 4.3.44 (August 25th, 2022) =
37
+
38
+ * Minor security tightening. Versioning.
39
+
40
  = Version 4.3.42 (July 25th, 2022) =
41
 
42
  * Minor menu fix.
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.42
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.42' );
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.44
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.44' );
18
 
19
  define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
20
  define( 'WPTOUCH_DIR', WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . basename( __FILE__, '.php' ) );