Plugin Directory

Changeset 1646821 for wptouch


Ignore:
Timestamp:
04/27/2017 05:47:37 PM (9 years ago)
Author:
wptouch
Message:

4.3.16 code updates.

Location:
wptouch/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wptouch/trunk/core/class-wptouch-pro.php

    r1634803 r1646821  
    419419                            $should_regenerate = false;
    420420
    421                             $content = $shortcode_data->shortcode_content;
     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 );
    422427                        } else {
    423428                            // Shortcode is not valid
     
    541546
    542547                $page_shortcode_data->valid_until = time() + 3600*24;
    543                 $page_shortcode_data->shortcode_content = $content;
     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 );
    544555
    545556                $shortcode_data[ 'page-' . $page ] = $page_shortcode_data;
  • wptouch/trunk/include/js/wptouch.js

    r1610893 r1646821  
    4444        };
    4545
    46         console.log( params );
    47 
    4846        jQuery.post( wptouchMain.current_shortcode_url + '&current_time=' + jQuery.now(), params, function( result ) {
    4947                shortcodeDiv.html( result );
  • wptouch/trunk/include/js/wptouch.min.js

    r1610893 r1646821  
    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()});
     1function 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()});
  • wptouch/trunk/lang/wptouch.pot

    r1634803 r1646821  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WPtouch Mobile Plugin 4.3.15\n"
     5"Project-Id-Version: WPtouch Mobile Plugin 4.3.16\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/wptouch\n"
    7 "POT-Creation-Date: 2017-04-10 20:36:32+00:00\n"
     7"POT-Creation-Date: 2017-04-27 17:45:36+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
     
    378378#: admin/settings/html/theme-browser-item-detail.php:52
    379379#: admin/settings/html/updates-available.php:35
    380 #: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:975
     380#: admin/settings/html/updates-available.php:71 core/class-wptouch-pro.php:986
    381381msgid "Download"
    382382msgstr ""
     
    388388#: admin/settings/html/installed_icon_sets_ajax.php:26
    389389#: admin/settings/html/theme-browser-item.php:12
    390 #: core/class-wptouch-pro.php:974
     390#: core/class-wptouch-pro.php:985
    391391msgid "Installed"
    392392msgstr ""
     
    806806#: admin/pages/wptouch-admin-general-settings.php:593
    807807#: admin/settings/html/installed_icon_sets_ajax.php:4
    808 #: core/class-wptouch-pro.php:2170 core/class-wptouch-pro.php:2171
     808#: core/class-wptouch-pro.php:2181 core/class-wptouch-pro.php:2182
    809809#: core/config.php:54
    810810msgid "Custom Icons"
     
    923923msgstr ""
    924924
    925 #: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:967
     925#: admin/settings/html/image-upload.php:7 core/class-wptouch-pro.php:978
    926926msgid "Upload Complete!"
    927927msgstr ""
     
    942942
    943943#: admin/settings/html/installed_icon_sets_ajax.php:25
    944 #: core/class-wptouch-pro.php:973
     944#: core/class-wptouch-pro.php:984
    945945msgid "Installing"
    946946msgstr ""
     
    948948#: admin/settings/html/installed_icon_sets_ajax.php:25
    949949#: admin/settings/html/theme-browser-item-detail.php:3
    950 #: core/admin-extensions.php:365 core/class-wptouch-pro.php:972
     950#: core/admin-extensions.php:365 core/class-wptouch-pro.php:983
    951951msgid "Install"
    952952msgstr ""
     
    11601160msgstr ""
    11611161
    1162 #: core/admin-menu.php:49 core/class-wptouch-pro.php:1642
     1162#: core/admin-menu.php:49 core/class-wptouch-pro.php:1653
    11631163msgid "Settings"
    11641164msgstr ""
     
    12571257msgstr ""
    12581258
    1259 #: core/class-wptouch-pro.php:652
     1259#: core/class-wptouch-pro.php:663
    12601260msgid ""
    12611261"Automatic theme migration from wp-content/uploads/wptouch-data directory "
     
    12631263msgstr ""
    12641264
    1265 #: core/class-wptouch-pro.php:671
     1265#: core/class-wptouch-pro.php:682
    12661266msgid ""
    12671267"%sWPtouch: %s was recently disabled, but is still affecting your website and "
     
    12691269msgstr ""
    12701270
    1271 #: core/class-wptouch-pro.php:672
     1271#: core/class-wptouch-pro.php:683
    12721272msgid ""
    12731273"%sPlease reactivate the plugin, disable page caching, then deactivate the "
     
    12751275msgstr ""
    12761276
    1277 #: core/class-wptouch-pro.php:673 core/class-wptouch-pro.php:682
     1277#: core/class-wptouch-pro.php:684 core/class-wptouch-pro.php:693
    12781278msgid ""
    12791279"%sFixing this issue prevents cached desktop pages being served to mobile "
     
    12811281msgstr ""
    12821282
    1283 #: core/class-wptouch-pro.php:674 core/class-wptouch-pro.php:683
     1283#: core/class-wptouch-pro.php:685 core/class-wptouch-pro.php:694
    12841284msgid ""
    12851285"%sOnce fixed, this message will be dismissed automatically. Until fixed, "
     
    12871287msgstr ""
    12881288
    1289 #: core/class-wptouch-pro.php:681
     1289#: core/class-wptouch-pro.php:692
    12901290msgid "%sWPtouch: %s needs to be configured to work correctly with WPtouch.%s"
    12911291msgstr ""
    12921292
    1293 #: core/class-wptouch-pro.php:684
     1293#: core/class-wptouch-pro.php:695
    12941294msgid ""
    12951295"%sTo fix the issue, follow our %sstep-by-step setup guide%s on support."
     
    12971297msgstr ""
    12981298
    1299 #: core/class-wptouch-pro.php:696
     1299#: core/class-wptouch-pro.php:707
    13001300msgid "WPtouch Repair Required"
    13011301msgstr ""
    13021302
    1303 #: core/class-wptouch-pro.php:703
     1303#: core/class-wptouch-pro.php:714
    13041304msgid "Your mobile theme was either broken or missing."
    13051305msgstr ""
    13061306
    1307 #: core/class-wptouch-pro.php:704
     1307#: core/class-wptouch-pro.php:715
    13081308msgid "We downloaded a fresh copy for you."
    13091309msgstr ""
    13101310
    1311 #: core/class-wptouch-pro.php:705 core/class-wptouch-pro.php:715
     1311#: core/class-wptouch-pro.php:716 core/class-wptouch-pro.php:726
    13121312msgid "OK"
    13131313msgstr ""
    13141314
    1315 #: core/class-wptouch-pro.php:708
     1315#: core/class-wptouch-pro.php:719
    13161316msgid ""
    13171317"We were unable to install your WPtouch Pro theme from the Cloud. %s Please "
     
    13191319msgstr ""
    13201320
    1321 #: core/class-wptouch-pro.php:711
     1321#: core/class-wptouch-pro.php:722
    13221322msgid "WPtouch Server Issue"
    13231323msgstr ""
    13241324
    1325 #: core/class-wptouch-pro.php:713
     1325#: core/class-wptouch-pro.php:724
    13261326msgid ""
    13271327"Your server setup is preventing WPtouch Pro from installing from the Cloud. "
     
    13291329msgstr ""
    13301330
    1331 #: core/class-wptouch-pro.php:962
     1331#: core/class-wptouch-pro.php:973
    13321332msgid ""
    13331333"This will reset all WPtouch Pro settings.\n"
     
    13351335msgstr ""
    13361336
    1337 #: core/class-wptouch-pro.php:963
     1337#: core/class-wptouch-pro.php:974
    13381338msgid ""
    13391339"This will reset all WPtouch Pro settings and delete the wptouch-data "
     
    13421342msgstr ""
    13431343
    1344 #: core/class-wptouch-pro.php:964
     1344#: core/class-wptouch-pro.php:975
    13451345msgid ""
    13461346"This will reset all WPtouch Pro settings, delete the wptouch-data folder, "
     
    13481348msgstr ""
    13491349
    1350 #: core/class-wptouch-pro.php:965
     1350#: core/class-wptouch-pro.php:976
    13511351msgid "The item failed to download for this reason: %reason%"
    13521352msgstr ""
    13531353
    1354 #: core/class-wptouch-pro.php:966
     1354#: core/class-wptouch-pro.php:977
    13551355msgid "You are about to reset your license information. Proceed?"
    13561356msgstr ""
    13571357
    1358 #: core/class-wptouch-pro.php:968
     1358#: core/class-wptouch-pro.php:979
    13591359msgid "Upload Failed: Not a valid image."
    13601360msgstr ""
    13611361
    1362 #: core/class-wptouch-pro.php:969
     1362#: core/class-wptouch-pro.php:980
    13631363msgid ""
    13641364"WPtouch is saving settings. Please do not refresh the page while saving."
    13651365msgstr ""
    13661366
    1367 #: core/class-wptouch-pro.php:970
     1367#: core/class-wptouch-pro.php:981
    13681368msgid "Install Themes"
    13691369msgstr ""
    13701370
    1371 #: core/class-wptouch-pro.php:971
     1371#: core/class-wptouch-pro.php:982
    13721372msgid "Install Extensions"
    13731373msgstr ""
    13741374
    1375 #: core/class-wptouch-pro.php:1679
     1375#: core/class-wptouch-pro.php:1690
    13761376msgid "%s Changelog"
    13771377msgstr ""
    13781378
    1379 #: core/class-wptouch-pro.php:3096
     1379#: core/class-wptouch-pro.php:3107
    13801380msgid "Directory Problem"
    13811381msgstr ""
    13821382
    1383 #: core/class-wptouch-pro.php:3097
     1383#: core/class-wptouch-pro.php:3108
    13841384msgid "One or more required directories could not be created"
    13851385msgstr ""
     
    25112511msgstr ""
    25122512
    2513 #. #-#-#-#-#  wptouch.pot (WPtouch Mobile Plugin 4.3.15)  #-#-#-#-#
     2513#. #-#-#-#-#  wptouch.pot (WPtouch Mobile Plugin 4.3.16)  #-#-#-#-#
    25142514#. Plugin URI of the plugin/theme
    2515 #. #-#-#-#-#  wptouch.pot (WPtouch Mobile Plugin 4.3.15)  #-#-#-#-#
     2515#. #-#-#-#-#  wptouch.pot (WPtouch Mobile Plugin 4.3.16)  #-#-#-#-#
    25162516#. Author URI of the plugin/theme
    25172517msgid "http://www.wptouch.com/"
  • wptouch/trunk/readme.txt

    r1634803 r1646821  
    33Tags: wptouch, iphone, ipod, bravenewcode, mobile, mobile-friendly, android, blackberry, smartphone, responsive, design, mobile plugin, ios, mobile theme
    44Requires at least: 4.2
    5 Stable tag: 4.3.15
     5Stable tag: 4.3.16
    66Tested up to: 4.7
    77License: GPLv2
     
    3333
    3434== Changelog ==
     35
     36= Version 4.3.16 (April 25, 2017) =
     37
     38* Fixed: Bug where backslashes were being stripped from shortcode display.
    3539
    3640= Version 4.3.15 (April 10, 2017) =
  • wptouch/trunk/wptouch.php

    r1634803 r1646821  
    33    Plugin Name: WPtouch Mobile Plugin
    44    Plugin URI: http://www.wptouch.com/
    5     Version: 4.3.15
     5    Version: 4.3.16
    66    Description: Make a beautiful mobile-friendly version of your website with just a few clicks.
    77    Author: WPtouch
     
    1515function wptouch_create_four_object() {
    1616    if ( !defined( 'WPTOUCH_IS_PRO' ) ) {
    17         define( 'WPTOUCH_VERSION', '4.3.15' );
     17        define( 'WPTOUCH_VERSION', '4.3.16' );
    1818
    1919        define( 'WPTOUCH_BASE_NAME', basename( __FILE__, '.php' ) . '.php' );
Note: See TracChangeset for help on using the changeset viewer.